Download ViX IE User Guide
Transcript
136 VIX IE SERVO DRIVE USER GUIDE C Continue Syntax aC Description Properties Units - Default - See also PS The C (continue) command causes a user command to resume execution following a pause command. Immediate only, can’t be used in labelled block, not saved by SV Example 1PS 1A100 1V20 1G 1”*TEST” 1C *TEST CLEAR ;pause commands ;acceleration 100rps2 ;velocity 20rps ;go ;add TEST comment ;continue ;message TEST is displayed Clear user code Syntax aCLEAR(label) Description Range of ‘n’ - Units - Range of ‘n’ - Default - See also DECLARE 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) 5CLEAR(START) Note You can only clear declarations by using CLEAR(ALL). ; Clear memory of anything defined so far (all drives) ; delete the power on code, but nothing else, in ; axis 5