1
Mach4 General Discussion / Activate custom output pin via machine enable button
« on: November 28, 2019, 10:24:38 PM »
Hi everyone, first post.
I am running Mach 4 with ethernet smooth stepper.
Basically, I want to change the colors of a LCD strip based on the machine status (motors enabled, cycle started, etc.)
In my ESS configuration, I have set output 49 to port3 pin 9
I managed to create a button that pulls the pin high when I press it.
What I want is for it to pull high when I press the "Enable" button (the one that enables machine controls), and pull it low when I press disable
same for spindle start and cycle start
where can I find the script that this button calls
what lines do I need to add
So far I have only found scripts regarding the screen (LUA)
Thanks!
I am running Mach 4 with ethernet smooth stepper.
Basically, I want to change the colors of a LCD strip based on the machine status (motors enabled, cycle started, etc.)
In my ESS configuration, I have set output 49 to port3 pin 9
I managed to create a button that pulls the pin high when I press it.
What I want is for it to pull high when I press the "Enable" button (the one that enables machine controls), and pull it low when I press disable
same for spindle start and cycle start
where can I find the script that this button calls
what lines do I need to add
So far I have only found scripts regarding the screen (LUA)
Thanks!