EasyManua.ls Logo

YASKAWA XTRAWARE - V3.0 - Page 159

YASKAWA XTRAWARE - V3.0
263 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...
Command Reference
switch Specifies the required output state:
State Code
Off 0
On 1
Serial 1
U
Example LABEL 1
SET_ZERO_POSITION demand_position
SLIDE 200
WAIT_VAR Position_actual_value >= 10000
SLIDE 0
SET_OUTPUT 2 ON
END
Example
Explanation
Current Position is set to zero; slide motion takes place until the
position value equals or exceeds 10000 uu (the WAIT_VAR
command stalls the execution of the next command). When the
position value equals or exceeds 10000 uu, the SLIDE 0
command “stops” (tells the motor to move at 0 speed); the
motor output 2 is set ON; End of program.
See Also SET_OUTPUTS
XtraWare User Manual 149

Table of Contents