EasyManua.ls Logo

Etel DSC2P - TST, JLT Example

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...
ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05 Chapter E: Appendixes
Operation & Software Manual
Direct Drives & Systems 257
15.26 TST, JLT example
:10.2 ;Label 10
MMD.2=17 ;Sets the rotary S-curve movement
PWR.2=1 ;Power on
WTM.2 ;Waits until the movement is finished
IND.2 ;Starts the homing
WTM.2 ;Waits until the movement is finished
POS.2=0.00000 ;Goes to the position 0 (ISO unit)
WTM.2 ;Waits until the movement is finished
X10.2=10 ;Sets user’s variable X10 of axis 2 to 10
:20.2 ;Label 20
TST.2=X10.2,10 ;Compares the value of X10 of the axis 2 with the value 10
JEQ.2=20 ;Sequence execution goes on from label 20 if X10.2=10. If X10.210, the sequence
goes on from the following line
JLT.2=40 ;The execution sequence goes on from label 40 if X10.2<10. If X10.2>=10, the
sequence goes on from the following line
:30.2 ;Label 30
POS.2=20.0 ;Goes to the position 20 (ISO unit)
WTM.2 ;Waits until the movement is finished
WTT.2=1.00000 ;Waits for 1 (ISO unit)
POS.2=0.0 ;Goes to the position 0 (ISO unit)
WTM.2 ;Waits until the movement is finished
WTT.2=1.00000 ;Waits for 1 (ISO unit)
JMP.2=20 ;Jumps to label 20
:40.2 ;Label 40
POS.2=10.0 ;Goes to the position 10 (ISO unit)
WTM.2 ;Waits until the movement is finished
WTT.2=2.00000 ;Waits for 2 (ISO unit)
POS.2=0.0 ;Goes to the position 0 (ISO unit)
WTM.2 ;Waits until the movement is finished
WTT.2=2.00000 ;Waits for 2 (ISO unit)
JMP.2=20 ;Jumps to label 20

Table of Contents

Other manuals for Etel DSC2P

Related product manuals