Operation & Software Manual
254
Direct Drives & Systems
Chapter E: Appendixes ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
15.23 STP example
In this example, a rotary motor with an infinite movement is used.
:10.0 ;Label 10
PWR.0=1 ;Power on
WTM.0 ;Waits until the movement is finished
IND.0 ;Starts the homing
WTM.0 ;Waits until the movement is finished
SPD.0=1.0 ;Sets the maximum speed to 1 (ISO unit)
ACC.0=20.0 ;Sets the maximum acceleration to 20 (ISO unit)
MMD.0=24 ;Sets the infinite rotary movement
:30.0 ;Label 30
POS.0=1 ;Goes to the position 1 (ISO unit)
WTT.0=5.0 ;Waits for 5 (ISO unit)
STP.0 ;Stops the movement with an infinite deceleration
WTT.0=5.0 ;Waits for 5 (ISO unit)
JMP.0=30 ;Jumps to label 30