EasyManua.ls Logo

Etel DSC2P - WPG, WPL, WSG, WSL 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 259
15.28 WPG, WPL, WSG, WSL 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=100 ;Sets user’s variable X10 of axis 2 to 100
:30.2 ;Label 30
WPG.2=M50.2,2 ;Waits for the value of monitoring M50 of axis 2 to be greater than the value 2
POS.2=20.0000 ;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.00000 ;Goes to the position 0 (ISO unit)
WTM.2 ;Waits until the movement is finished
WTT.2=1.00000 ;Waits for 1 (ISO unit)
:40.2 ;Label 40
WPL.2=M50.2,2 ;Waits for the value of monitoring M50 of axis 2 to be lower than the value 2
POS.2=10.0000 ;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.00000 ;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=30 ;Jumps to label 30
Remark: WSL and WSG commands work respectively like WPL and WPG commands but in this case the
parameters <P1> and <P2> can be signed.

Table of Contents

Other manuals for Etel DSC2P

Related product manuals