Hello,
I changed from version 4612 to version 5036. Is it possible that with this version the script for controlling the external cycle start and stop buttons no longer works?
If I insert lines like I always did with version 4612, the machine stops with "Feed Hold" after the automatic tool change. Can anyone explain to me?
Thank you, greetings René
The Code is:
mc.ISIG_INPUT0] = function (state)
     if (state == 1) then   
        CycleStart()
    end
end,
[mc.ISIG_INPUT1] = function (state)
    if (state == 1) then   
        mc.mcCntlFeedHold (inst) 
        mc.mcCntlSetLastError(inst, "Do Feed Hold")
    end
end,
[mc.ISIG_INPUT2] = function (state)
     if (state == 1) then  
        CycleStop()
    end
end,