Operation & Software Manual
260
Direct Drives & Systems
Chapter E: Appendixes ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
15.29 WTB example
The axis number 0 is in µ-master mode (K170=1 or MDE=1). This command is only available on the DSC2P
and DSC2V.
:10.2 ;Label 10
MMD.!=17 ;Sets the rotary S-curve movement
PWR.!=1 ;Power on
WTM.! ;Waits until the movement is finished
IND.! ;Starts the homing
WTM.! ;Waits until the movement is finished
POS.!=0.00000 ;Goes to the position 0 (ISO unit)
WTM.! ;Waits until the movement is finished
:20.2 ;Label 20
POS.(0,2,3)=20.0000 ;Goes to the position 20 (ISO unit)
WTM.! ;Waits until the movement is finished
WTB.0=13 ;Waits for the axes 0, 2 and 3 not to be busy any more before executing the next
command
POS.(0,2,3)=10.0000 ;Goes to the position 10 (ISO unit)
WTM.! ;Waits until the movement is finished
WTB.0=13 ;Waits for the axes 0, 2 and 3 not to be busy any more before executing the next
command
JMP.2=20 ;Jumps to label 20