OutW Statement

Simultaneously sets 16 output bits.

Syntax
OutW wordPortNum, outputData [, Forced]

Parameters

WordPortNumber
Specify the I/O output word.
Outputs
Specify the output data (integer from 0 to 65535) as an expression or numeric value.
Forced
This value is optional. Usually omitted.

Description
Changes the current status of user I/O output port group specified by the word port number to the specified output data.

Note


  • Forced Flag

    This flag is used to turn On the I/O output at Emergency Stop and Safety Door Open from NoPause task, NoEmgAbort task (special task using NoPause or NoEmgAbort at Xqt), or background tasks.

    Be sure that the I/O outputs change by Emergency Stop and Safety Door Open when designing the system.


See Also
In, InW, Out

OutW Statement Example

OutW 0, 25