0 Members and 1 Guest are viewing this topic.
Trying to add a cycle start button. Found an old thread telling how to edit the file to make the button work. I do the edits and get an error trying to save. Access error, cannot save file. I have not registered the Mach4 yet as the docs say to get everything working first. Could that be stopping me from a save. I do start the program in administrator mode. Any ideas as to why I would not be allowed to save a script?
CycleStart()
I added a physical button in the control panel door. Then I mapped it thru the ESS and in mach4. If I go to the diagnostic screen and press the button the light for input0 lights. I read on the forum that the screen load file needs to be edited to associate the input0 button press with a cycle start to make the button work. I found the example in the file rem'd out. I made the changes to the script and when I tried to save the script I was denied.
[mc.ISIG_INPUT0] = function (state) if (state == 1) then CycleStart() endend,
[mc.ISIG_INPUT0] = funtion (state) if (state == 1) then cyclestart() else mc.mcCntlFeedHold (0) endendThis is what I believe the UnRemmed version would be based on my needs. I could be wrong I am used to VB script.
endend,
Yes I am editing inside of mach4 with the editor by clicking the "operator" tab and then "open script editor".No I cannot save. tried at least half a dozen times