So here's the photo with the Pi4 1GB running LinuxCNC. The 4 roller switches are the three homes and the shared limit for the other axis. Normally there would be 3 in series. The orange paddle switch is estop. The cable to these switches goes to the 7i92H P2.DB25.
On the P1 connector I have the Probotix BoB. No isolation needed for testing so it's powered from the same supply on both sides. I have the scope on Pins 2,3 of what would be the second DB25. Now if I plug a motor into the step/dir outputs of the BoB it should spin the motor based on requested spindle RPM. Been a good day. John > -----Original Message----- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: June-13-21 1:05 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Spindle control > > No worries. Found the solution. > I have spindle.0.speed-out-rps connected to spindle-cmd which ends up being > a signed float. > > net spindle-cmd <= spindle.0.speed-out-rps > > And that's connected to the stepgen > net spindle-cmd => hm2_7i92.0.stepgen.05.velocity-cmd > > Results in my P1.19_DB25.2 showing a square wave on the scope when I toggle > the axis CW and click on the speed. Change to CCW > and click speed again I get the square wave on the scope and the P1.23_DB25.3 > changes to a logic high for a change in direction. > > More when I test it with a motor. > John > >
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users