H
Delays program execution in milliseconds.
Switches to program mode at address 200 | PG 200 |
Label command will name the program | LB K1 |
| xxxxx |
Program named by LB command | xxxxx |
| xxxxx |
Delay 2 seconds between | H 2000 |
Unconditional branch to K1 | BR K1 |
Designates the end of the program | E |
Switches out of program mode | P |
P R I N T
Outputs specified text and parameter values to a terminal or terminal software on a Host PC.
Switches to program mode at address 200 | PG 200 |
Label command will name the program | LB K1 |
| xxxxx |
Program named by LB command | xxxxx |
| xxxxx |
Prints text in quotes and then POS | PR “Position = ” P |
Delay 2 seconds between | H 2000 |
Unconditional branch to K1 | BR K1 |
Designates the end of the program | E |
Switches out of program mode | PG |
V A R
Command used to define a variable with 8 alphanumeric characters.
Switches to program mode at address 200 |
| PGM 200 |
Define a variable named CT for Count |
| VAR CT |
Label command will name the program |
| LBL K1 |
|
| xxxxx |
Program named by LB command |
| xxxxx |
|
| xxxxx |
Prints text in quotes and then POS |
| PRINT “Position = ” P |
Delay 2 seconds between | H 2000 | |
Unconditional branch to K1 | BR K1 |
|
Designates the end of the program |
| E |
Switches out of program mode |
| PGM |
34