> On Jul 25, 2019, at 1:56 PM, John Dammeyer <jo...@autoartisans.com> wrote: > > Since I'm just getting into setting up spindle control I'm interested in this > subject. Can you tell us how you are actually electrically controlling your > spindle? The problem you are having at first glance appears more electrical > than software. > > Can you put a scope on the control signals to the spindle control? That > would tell you if LinuxCNC is doing something to the I/O lines that causes > the change in direction.
So, my wiring is an RS232/485 connection from the PC to the GS2 VFD using CAT6 twisted pair wire. I use the Linuxcnc VFD Modbus driver: (GS2) here: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?VFD_Modbus My configs are in this zip folder: https://bgp.nu/~tom/pub/EMCOTurn120P/EMCOTurn120P-ConfigFiles.zip Again, I have never seen this kind of behavior in the 5 years it’s been running. I have seen some oddities but not related to the spindle suddenly changing direction or stopping. The back to back G96s seem to be the trigger (if not the cause)…. -Tom _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users