MNEMONIC | FUNCTION | TYPE |
RS | Resume Program Instruction | Instruction |
DESCRIPTION
This instruction is used to resume a program that has been paused using the PS instruction.
USAGE
RS
EXAMPLE:
RS
RELATED COMMANDS: PS
MNEMONIC | FUNCTION | TYPE |
RT | Return From Subroutine | Instruction |
DESCRIPTION
This instruction defines the end of a subroutine. This instruction is required and will be the final instruction in the subroutine executed by the CL instruction. When used, it will return to the program address immediately following the CL instruction which executed the subroutine.
USAGE
RT
EXAMPLE:
‘****Program***** |
| |
| PG100 | ‘enter program mode at address 100 |
100 | MR 51200 | ‘move relative 51200 |
105 | H | ‘suspend prog. execution until motion completes |
109 | CL 238 | ‘Call subroutine at address 238 |
238 | O1=1 | ‘set output 1 to 1 |
241 | RT | ‘return from subroutine |
RELATED COMMANDS: CL
MNEMONIC | FUNCTION | TYPE |
S | Save to EEProm | Instruction |
DESCRIPTION
Saves all variables and flags currently in working memory (RAM) to nonvolatile memory (NVM). The previous values in NVM are completely overwritten with the new values.
When the user modifies variables and flags, they are changed in working memory (RAM) only. If the SAVE instruction is not executed before power is removed from the control module, all modifications to variables & flags since the last SAVE will be lost.
USAGE
S
RELATED COMMANDS: —
57