Donnie Timmons wrote: > I now have the limits working I moved them to pin 32-37, seams pin 24 thru > pin 31 on P3 are not useable. Would I be better off moving the cable to P4 > and leave P3 unused? I will still need some inputs for amp faults and spindle > drive.
In an earlier email you said you're using this firmware configuration in your hal file: > loadrt hm2_pci config="firmware=hm2/5i23/SVST4_8.BIT num_encoders=3 > num_pwmgens=3 num_stepgens=1" The stepgen that you enabled is using IO Pins P3-024 through P3-029. That's why those IO Pins are not showing up as full HAL GPIOs, and they're not usable as inputs (because the stepgen is using them as outputs). The effective pinout is shown in the dmesg output when the driver loads. Pinout information is also available in the relevant .PIN file in /usr/share/doc/emc2/5i23 if you installed emc2 2.2 from the .deb package. If your machine doesnt need that that stepgen instance, change your config to say "num_stepgens=0" instead of "num_stepgens=1", and the pins should show up in HAL. -- Sebastian Kuzminsky Free! Free! As a Journey Man! Feel! Heat! In the moon light! -- Korpiklaani ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users