Hello Guest it is September 16, 2025, 01:01:11 PM

Author Topic: Mach 4 Machtric 2.2kw VFD Modbus  (Read 108202 times)

0 Members and 2 Guests are viewing this topic.

Re: Mach 4 Machtric 2.2kw VFD Modbus
« Reply #70 on: February 09, 2019, 02:11:53 PM »
As for stopping the spindle when the E-Stop is triggered, this code in the Signals Library of the Edit Screen WX6/ScreenLoadScript works for me:

[mc.ISIG_EMERGENCY]=function(state)
    if (state == 1) then
        mc.mcScriptExecute(inst,"m5.mcs",0);
   end
end,

With this code my Teco 7300CV under Modbus turns off the spindle with an M5 command from Mach4.

-rick