ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05 Chapter E: Appendixes
Operation & Software Manual
Direct Drives & Systems 261
15.30 WTM, WTT 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)
WTM.2 ;Waits until the movement is finished
WTT.2=2.0 ;Waits for 2 (ISO unit)
POS.2=20.0 ;Goes to the position 20 (ISO unit)
WTM.2 ;Waits until the movement is finished
WTT.2=1.0 ;Waits for 1 (ISO unit)
JMP.2=20 ;Jumps to label 20