Operation & Software Manual
262
Direct Drives & Systems
Chapter E: Appendixes ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
15.31 WTP 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
:20.2 ;Label 20
POS.2=10.0 ;Goes to the position 10 (ISO unit)
WTP.2=5.0 ;Waits for the motor to cross position 5 (ISO unit) before going on with the execution of
the sequence
X10.2=1 ;Sets user’s variable X10 of axis 2 to 1
WTM.2 ;Waits until the movement is finished
POS.2=0.0 ;Goes to the position 0 (ISO unit)
WTP.2=3.0 ;Waits for the motor to cross position 3 (ISO unit) before going on with the execution of
the sequence
X10.2=0 ;Sets user’s variable X10 of axis 2 to 0
WTM.2 ;Waits until the movement is finished
WTT.2=1.0 ;Waits for 1 (ISO unit)
JMP.2=20 ;Jumps to label 20