201
Mach4 General Discussion / Re: Turn OFF output based on input status OR timed value
« on: May 18, 2016, 11:04:31 AM »
A variable declared in the screen load script has global scope. This means that it is visible to code in all other scripts and modules of Mach4. Its value persists throughout the Mach4 session.
Don't worry too much about the above detail for now. You will get to know it in time. All you have to do is include a variable declaration similar to the one shown at the start of the screen load script. You will see various similar declarations at the beginning of the script, so just add one of your own to that block. The variable name isn't important: use whatever you like providing it is unique.
Hope this helps.
Allan
Don't worry too much about the above detail for now. You will get to know it in time. All you have to do is include a variable declaration similar to the one shown at the start of the screen load script. You will see various similar declarations at the beginning of the script, so just add one of your own to that block. The variable name isn't important: use whatever you like providing it is unique.
Hope this helps.
Allan