Good Folks:
I've searched and found directions for similar systems, but can't figure out just how to proceed.
I have a knee-mill running steppers from a parallel port. The BOB is an older PMDX-131 that has three Gecko G202 motor drivers attached. Connection from the computer to BOB is a printer cable, no terminals (thus hard to re-wire). It's currently very bare bones with only three steppers (no limit or homing, no spindle speed or encoder), about as simple as they get. I've been running this for years with LinuxCNC using the parallel port, latest version being 2.7.0 (I think). Thus I have the files generated by the Stepper Configuration Wizard. Well, I'm trying to upgrade the system with a Mesa 5i25 board directly wired to the PMDX BOB.
I've figured out the first step is to flash the 5i25 card. Two *.bit files look promising. The prob_rfx2.bit is for steppers and is supported by pncconf. It uses the right Mesa "parallel" port pins (2/3,4/5,6/7) but the step and direction signals are reversed from my wiring. The dmmbob1x2.bit flash matches my "parallel" port step/direction wiring (3/2,5/4,7/6). However, it isn't directly supported in pncconf.
I first tried prob_rfx2.bit. In pncconf I selected "5i25-Internal Data" for the Mesa card and "prob-rfx2" for the firmware. Then with encoders=0, pwm=0, step gen=3 I continued. The data for I/O Connector 3 appeared to have three step generators configured. Life is good. For each axis I pulled parameters from the old Stepper Configuration Wizard files or left as default. I did find a config for the Gecko G202 drivers. Well, I get no axis motion. When I change direction, + or -, on each axis I get a small "click" from each motor (the correct motor). I'm guessing each motor driver is interpreting a direction pulse as a step pulse thus moving one step.
I tried for awhile to find in LinuxCNC how to switch step and direction signals. My current thinking is that Mesa enabled LinuxCNC doesn't deal with step and direction. LinuxCNC is getting feedback from the Mesa card for trajectory planning which doesn't involve step and direction signals. That would make sense as the Mesa card is to avoid LinuxCNC having to generate step/direction signals in software.
That leaves dmmbob1x2.bit which matches my parallel port output. However, it isn't supported directly in pncconf, there is no option corresponding to "5i25-Internal Data" for the dmmbob1x2.bit flash. It may be the only way to go without re-configuring a *.bit file, which I'm not capable of doing. Running the dmmbob1x2 flashed 5i25 using the pncconf prob-rfx2 configuration brings no joy.
I also may have to invert some of the step/direction signals. I see this in the parport *.ini file. Is it possible to accomplish this?
SO, how should I proceed? Maybe change the files from a prob_rfx2 pncconf configuration to work with dmmbob1x2? Are there direction for implementing a dmmbob1x2 configuration?
I'd be glad to provide any files or other information that might help. Currently not sure what else would help though. Thank you for any help you can provide.
Hugh