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
Summary of Contents for XTRAWARE - V3.0
Page 2: ......
Page 4: ......
Page 12: ......
Page 79: ...Operating the XtraDrive Using XtraWare Table 14 Sample ECAM Table XtraWare User Manual 69 ...
Page 202: ......
Page 220: ......
Page 258: ...List of Operation Codes 248 XtraWare User Manual versions use STOP_EX ...