Examples
In the example code, we use the following color coding to make the code easier to understand.
' Comments
[AutoControl_Command] Variable_or_userstring
- Unless otherwise noted, all example code is written for the Commander series of controllers.
- Please reference the Command Reference for differences in the ASCII commands for the Performax series of controllers.
- The formatting of the AutoControl program is the same for all controller series.
- For more information on any ASCII commands shown in the examples, please refer to the Command Reference.
Example #1 Example to demonstrate running ASCII program and changing display languages.
Example #2 Example to demonstrate an AutoControl script with two user-prompted input variables, and an indefinite loop that runs the ASCII program until the ESC key is pressed.
Example #3 Example to demonstrate an AutoControl script that is used for product testing. It has two user prompted input variables, creates a CSV file to log the results, an on screen popup that displays pass/fail, and an indefinite loop that runs the ASCII program until the ESC key is pressed.