Eric H. Johnson wrote: > So the PWMs appear on the P2 connector, but the Step generators appear on > P4? I have the P4 connector going to a 7i37 to handle the high voltage I/O. > So I guess I have to move that cable to P3 and remap the I/O. It looks like > the TTL I/O can map to either P2 or P4, but it does mean I need three > cables. I was hoping to be able to do it in two. > > What is the limitation as far as putting the step generators and PWMs on the > same connector?
The pinouts are determined by the firmware, and other than selecting whether each I/O pin is a GPIO or is connected to a particular instance of a particular module, there's nothing the driver can do about it. The pinouts are designed to mate well with Mesa's servo amps and stepper drivers. Each firmware .BIT file comes with a corresponding .PIN file, which tells you what the firmware's pinout is. It's the same info as you'd get if you loaded the driver module but didn't turn off any module instances with the config line. I forgot to put the .PIN files in the 2.2.6 debian package, but if you've checked out the CVS tree you can see them in src/hal/drivers/mesa-hostmot2/firmware. You can of course also see them via the CVS web interface: <http://cvs.linuxcnc.org/cvs/emc2/src/hal/drivers/mesa-hostmot2/firmware/5i20/> So yeah, if you want 1 pwmgen, 2 steppers, and some GPIOs, you have to either use three cables (pwm on P2, gpio on P3, and stepgen on P4), or split one of the two cables (P2 or P4) out to your servo/stepper drivers & gpio. Something like this might be useful (link from the EMC2 Wiki): <http://www.daqstuff.com/50_pin_daq.htm> -- Sebastian Kuzminsky Computer Science for life, that's my direction Instead of b-balls, my homies throw exceptions -- MC Plus+ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users