StickOS
StickOS is a BASIC programming engine embedded in the DI-159 PLC. It offers transparent
line-by-line compilation, as well as integer variable, string variable, and array support. Block-
structured programming is also supported using easily-recognized IF, FOR, WHILE, DO, and
GOSUB constructs. Use any terminal program that can hook a com port to connect to and pro-
gram the DI-159 PLC.
Quick Reference Guide
Command Line
StickOS Commands
Help Command
Entering Programs
Running Programs
Loading and Storing Programs
Debugging Programs
Other Commands
BASIC Program Statements
Variable Declarations
System Variables
Variable Assignments
Expressions
Strings
Print Statements
Variable Print Statements
Input Statements
13