Mesa 5i25 config for chinese BOB
5i25_dmmbob1x2.bit is close:
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort PWMGen 0 PWM (Out)
14 1 IOPort None
2 2 IOPort StepGen 0 Dir (Out)
15 3 IOPort None
3 4 IOPort StepGen 0 Step (Out)
16 5 IOPort None
4 6 IOPort StepGen 1 Dir (Out)
17 7 IOPort None
5 8 IOPort StepGen 1 Step (Out)
6 9 IOPort StepGen 2 Dir (Out)
7 10 IOPort StepGen 2 Step (Out)
8 11 IOPort StepGen 3 Dir (Out)
9 12 IOPort StepGen 3 Step (Out)
10 13 IOPort None
11 14 IOPort QCount 0 Quad-A (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-IDX (In)
Also, the step and dir channels are reversed, but that may not be a problem if you are using the screw terminals, just swap the wires.
dmmbob1x2.bit does seem to be the only standard bitfile with a PWM on pin 1. Are you using the pwm to control spindle speed?
Please Log in or Create an account to join the conversation.
and do you need both 5i25 sockets setting the same or only the external db25
-- I/O 00 PIN 1 Spindle DAC PWM
-- I/O 01 PIN 14 Output 2 just GPIO
-- I/O 02 PIN 2 X Step
-- I/O 03 PIN 15 just GPIO
-- I/O 04 PIN 3 X Dir
-- I/O 05 PIN 16 B Step
-- I/O 06 PIN 4 Y Step
-- I/O 07 PIN 17 B Dir
-- I/O 08 PIN 5 Y Dir
-- I/O 09 PIN 6 Z Step
-- I/O 10 PIN 7 Z Dir
-- I/O 11 PIN 8 A Step
-- I/O 12 PIN 9 A Dir
-- I/O 13 PIN 10 Input 4 just GPIO
-- I/O 14 PIN 11 Input 2 (Quad A)
-- I/O 15 PIN 12 Input 3 (Quad
-- I/O 16 PIN 13 Input 4 (Quad Idx)
the quadrature pins are available for gpio if not used , so left that as an option
can anyone see a problem , before i make the file ?
Please Log in or Create an account to join the conversation.
a cute Forummember helps me to fit the 5i25 to Benezan bob and chinese bob too
THANK YOU Sarah
take a look
and here
i will come back sone to look for further help in an Kinematic Problem
Thank you and have a nice day
ROL
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
i just purchased a mesa 5i25 pci card so I can boost my system up a bit. I can't understand how to setup up the pci 5i25 for the correct
pinouts.
I flashed the 5i25 like this
# sudo mesaflash --device 5i25 --write 5i25_dmmbob1x2.bit
# sudo mesaflash --device 5i25 --readhmid > mypinout-bob.txt
so do I hook the bob with a 1-1 parallel port cable to the 5i25 and I am ready to go or do I need to do some more flashing or the HAL ini file to suite my needs. I am a little confused. Thank you ALL.
Please Log in or Create an account to join the conversation.
so do I hook the bob with a 1-1 parallel port cable to the 5i25 and I am ready to go or do I need to do some more flashing or the HAL ini file to suite my needs.
You need to change the HAL a bit.
Mainly you need to change the references in the HAL from "stepgen,N.position-cmd" to "hm2_5i25.0.stepgen.N.position-cmd" and the same for the feedback equivalents.
Any mention of the parport has to go. You can probably get rid of the base-thread too.
It is actually probably best to start a new config using pncconf with all the settings the same as your stepconf parallel port config.
Please Log in or Create an account to join the conversation.
Thanks...
Please Log in or Create an account to join the conversation.
I need the following parallel port pins configured ...
pins 2,4,6,8 step - x,y,z,a
pins 3,5,7,9 dir - x,y,z,a
pin 10 estop
pin 11 probe input
pin 12 home x
pin 13 home y
pin 15 home z
pin 14 - enable drives
pin 16 collant on
pin 17 spindle on
Please Log in or Create an account to join the conversation.
No go. I tried almost everything with pncconf.
What fails to work?
I need the following parallel port pins configured ...
pins 2,4,6,8 step - x,y,z,a
pins 3,5,7,9 dir - x,y,z,a
pin 10 estop
pin 11 probe input
pin 12 home x
pin 13 home y
pin 15 home z
pin 14 - enable drives
pin 16 collant on
pin 17 spindle on
dmmbob.bit looks like this:
-- I/O 00 PIN 1 Spindle DAC PWM
-- I/O 02 PIN 2 X Dir
-- I/O 04 PIN 3 X Step
-- I/O 06 PIN 4 Y Dir
-- I/O 08 PIN 5 Y Step
-- I/O 09 PIN 6 Z Dir
-- I/O 10 PIN 7 Z Step
-- I/O 11 PIN 8 A Dir
-- I/O 12 PIN 9 A Step
-- I/O 13 PIN 10 Input 1 just GPIO
-- I/O 14 PIN 11 Input 2 (Quad A)
-- I/O 15 PIN 12 Input 3 (Quad
-- I/O 16 PIN 13 Input 4 (Quad Idx)
-- I/O 01 PIN 14 just GPIO
-- I/O 03 PIN 15 just GPIO
-- I/O 05 PIN 16 just GPIO
-- I/O 07 PIN 17 just GPIO
So if you can't swap the step and dir wires (as a minimum) then you will need to find a different bit file to flash the 5i25 with.
Why did you choose dmmbob.bit?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.