Hello,
Need a little guidance,
This is the script that you posted
// This aliased command will turn off relay on CH1 after 10 seconds
// addRepeatingEvent [IntervalSeconds][RepeatsOr-1][CommandToRun]
alias turn_off_after_time addRepeatingEvent 10 1 setChannel 1 0
// this will run the turn off command every time that CH1 becomes 1
addChangeHandler Channel1 == 1 turn_off_after_time
Instead of hardcoding the time e.g. 10 seconds in the auto exec.bat file, can we have a TEXTFIELD on the main GUI page to enter the time in seconds and have a button like SET to save the entered time for inching.
Something like in the screenshot.
If the value in the TEXTFIELD is zero, then inching is disabled and the plug will turn off when the user turns it off manually. If there is a value in the TEXTFIELD, then the plug will turn off after that many seconds which is entered in the TEXTFIELD.
This will help many users like me.
Kindly help.