Installation guide
Programming Commands 147
REM or ‘ Miscellaneous Command
ACTION: Allows source code comments to be inserted in the program.
PROGRAM SYNTAX: REM or '
REMARKS: All text to the right of REM or ' to the end of the line is not considered
part of the command during execution.
EXAMPLES: ACCEL(1)=10.2 REM axis 1 acceleration=10.2 units
DECEL(1)=5.4 ' axis 1 deceleration=5.4 units
RESET Miscellaneous Command
ACTION: Resets the controller system.
PROGRAM SYNTAX: RESET
REMARKS: This command causes the system to halt, and then restart as though
power had been recycled. This command can be used to start a differ-
ent project , as selected by the SEL1 SEL2 and SEL4 inputs on the
DSP Controller card.
A hardware input reset can also be configured in the I/O folder of the
Configuration and setup.
EXAMPLES: RESET
RESTORE Miscellaneous Command
ACTION: Allows DATA statements to be read again.
PROGRAM SYNTAX: RESTORE
RESTORE(number)
REMARKS: Sets the pointer for DATA statements to the start (0) or to a designated
position (number).
EXAMPLES: RESTORE(10)
Sets the pointer for DATA statements to position 10, the first variable in
the next READ statement will be loaded with element 10
DATA 1,2,3,4
READ a, b, c, d 'reads next four values from the data statement into
variables a, b, c and d
RESTORE










