18
« on: April 26, 2016, 03:43:14 PM »
Ok. Tutorial worked great, as Cycle Start button is now working. Thought i could use this tutorial for all my other inputs by copying the code for CycleStart and just change the ISIP input and the CycleStart() like below for CycleStop....
[mc.ISIG_INPUT27] = function (state)
if (state == 1) then
CycleStop()
end
but did not work.
I have more external buttons and switches to add like the CycleStart, is there a list or literature i should be referring to for the LUA script and Mach4 commands? Iam only somewhat familiar with Mach3 and the OEM codes in VisualBasic. Any help is much appreciated.
Thanks,
Troy