Asking again. The only web link I found on this subject is 2 years old https://forum.linuxcnc.org/39-pncconf/32347-5i25-7i76-pin-axis-9-motor-pos-cmd-does-not-exist and their solution was not to use step/dir with the mesa board.
So is anyone actually using something like a mesa 7i92 with step/dir to the spindle? Or can someone explain why axis.9 is defined and how LinuxCNC attaches to it? Thanks John > -----Original Message----- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: August-18-19 1:30 PM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] MESA 7i92H Saga > > Making progress. Dedicated Ethernet at the moment. > So far I've been able to see the charge-pump signal (stepper #04) show up > on DB25-17. Machine Enabled on DB-25-1. And all DB-25 pins for the 4 > motors show step pulses when they are jogged. Limit switches appear to > work. > > Haven't been able to get the PWM for the spindle working but that doesn�t > really matter at the moment because the Spindle AC Servo I bought takes > step/dir but not PWM. > > Instead I decided to add another step generator. Using pncconf it shows up > as StepGen #5 on pins 2,3 of the second parallel port named P1. The > problem is that the HAL file contains an axis.9 and as a result now LinuxCNC > won't run. > > ./Stretch-MESA.hal:306: Pin 'axis.9.motor-pos-cmd' does not exist > > Included with this posting is that error and the fragment of the HAL file that > defines all the spindle stuff. > > Everything for the stepgen.05 is fine until: > > # ---closedloop stepper signals--- > > net s-pos-cmd <= axis.9.motor-pos-cmd > net s-vel-cmd <= axis.9.joint-vel-cmd > net s-output => hm2_7i92.0.stepgen.05.velocity-cmd > net s-pos-fb <= hm2_7i92.0.stepgen.05.position-fb > net s-pos-fb => axis.9.motor-pos-fb > net s-enable <= axis.9.amp-enable-out > net s-enable => hm2_7i92.0.stepgen.05.enable > > As the hal and ini files were generated by pncconf what could cause this? > The axis steppers in the ini file are all defined as [AXIS_n] and the spindle > as > [SPINDLE_9] so I can see how an axis.9 might show up but no other > definition anywhere else. > Must be really simple but not obvious. > > Any ideas? > Thanks > John _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users