EasyManua.ls Logo

YASKAWA XTRAWARE - V3.0 - Set_Outputs

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
SET_OUTPUTS
Table explanation
Group Output
Syntax SET_OUTPUTS <output mask> <output state>
Op. Code 107
Modes Program, Immediate, Sequential
Description Simultaneously sets a group of digital outputs to ON or OFF.
Output mask Decimal value of a bit string, in which the
digits define which outputs are set and
which are ignored. The rightmost digit of
the string is ignored, the next corresponds
to OUT 1 on pins CN1-25, CN1-26, etc.
Setting Code
Ignore 0
Set 1
Range: 1 to 0x00FFFFFF
Serial
4
U V
Syntax
Arguments
Output state Decimal value. A bit string represents the
digital outputs to be set. The rightmost
digit is ignored, the next corresponds to
OUT 1 on pins CN1-25, CN1-26, etc.
Range: 1 to 0x00FFFFFF
Serial
4
U V
Example WAIT_VAR Position_actual_value >= 100
SET_OUTPUTS 6 4
END
Example
Explanation
When the position value equals or exceeds 100 uu, digital output
1 is set to OFF and digital output 2 to ON. <Output mask> is 6
(0110), meaning that only outputs 1 and 2 can be affected.
<Output state> is 4 (0100) and determines the value of the
affected digital outputs.
See Also SET_OUTPUT
150 XtraWare User Manual

Table of Contents