THIS IS CODE NOW....
[mc.ISIG_INPUT10] = function (state) --Anytime the state of input 1 changes, run this function
if (state == 1) then --Input one is active
CycleStart() --Run the CycleStart() function
--else --Input one is inactive
--mc.mcCntlFeedHold (0) --Do a feed hold
end
end,
SO I WANT SOMETHING LIKE THIS AN I KNOW THIS ISNT RIGHT BUT JUST SO YOU CAN SEE MY IDEA OF WHAT I WANT...
[mc.ISIG_KEYSTROKE F1]= function (state) --Anytime the state of input 1 changes, run this function
if (state == 1) then --Input one is active
CycleStart() --Run the CycleStart() function
--else --Input one is inactive
--mc.mcCntlFeedHold (0) --Do a feed hold
end
end,