6. COMMAND REFERENCE 123
C
Continue
Syntax Units Range of ‘n’ Default See also
aC - - - PS
Description The C (continue) command causes a user command to resume execution
following a pause command.
Properties
Immediate only, can’t be used in labelled block, not saved by SV
Example 1PS ;pause commands
1A100 ;acceleration 100rps
2
1V20 ;velocity 20rps
1G ;go
1”*TEST” ;add TEST comment
1C ;continue
*TEST ;message TEST is displayed
CLEAR
Clear user code
Syntax Units Range of ‘n’ Default See also
aCLEAR(label) - - - DECLARE
Description The CLEAR command deletes user program instructions from the label
specified until the END statement associated with that label. If a subroutine
has been cleared, but its associated GOSUB command still exists, at run
time the code will halt, motion will stop and *E will be reported.
Specifying the ALL keyword as the label will delete all user programs
within the drive addressed.
Properties
Immediate or buffered, can’t be used in labelled block, saved by SV
Example 0CLEAR(ALL) ; Clear memory of anything defined so far (all drives)
5CLEAR(START) ; delete the power on code, but nothing else, in
; axis 5
Note
You can only clear declarations by using CLEAR(ALL).