Hello Guest it is March 29, 2024, 06:19:47 AM

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

0 Members and 1 Guest 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