EasyManua.ls Logo

Etel DSC2P - Clear User Variables: CLX

Etel DSC2P
370 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operation & Software Manual
226
Direct Drives & Systems
Chapter D: Programming ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
14.4.3 Clear user variables: CLX
The CLX command (CLear X variables) clears (sets to 0) all user variables as well as the accumulator.
Example:
X2.1=12 ;The X2.1 user variable contains the value 12.
X4.1=20 ;The X4.1 user variable contains the value 20.
CLX.1 ;The X2 and X4 variables (as well as all the others) contain the value 0.
14.4.4 End of sequence: END
When the controller meets the END (END) command, the execution stops definitively. The END command can
be used to store different sequences at the same time in the controller for instance.
Remark: When the controller has executed the last line of the command, it stops even if no END command
is executed.
Example:
Given the following sequence memorized in the controller:
:10.1
sequence 1
END.1
:20.1
sequence 2
END.1
:30.1
sequence 3
END.1
Entering JMP.1=10 command is enough to start the sequence 1, JMP.1=20 command for the sequence 2, and
JMP.1=30 command for the sequence 3.
Command Comment
CLX.<axis> Clears all user variables and the accumulator.
Command Comment
END.<axis> Stops the sequence execution.

Table of Contents

Other manuals for Etel DSC2P

Related product manuals