I read the manual and found a short description of a Table, but not enough info for me on how to make one or where to place it and how to use it. Is there a example on how to make one for adding more inputs for physical external buttons and switches?
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
Hello, Does anyone have an example of how to configure Mach4&Pokeys57E plugin for a External Push button or switch? Example: I have Pokeys pin 28 set as Digital Input, which is wired to my Cycle Start button. How do you configure plugin and Mach4 so Mach4 knows this input is Cycle Start?