Output

The output of the PSO is specified using the PSOOutput class. The following values are specified.

Parameter

Description

outputType

If set to IOOutput, the output is set to an I/O output bit. If set to UserMemory, the output is set to a user memory bit.

byteAddress

The byte address of the I/O output bit or user memory bit.

bitAddress

The bit address of the I/O output bit or user memory bit.

invert

If set to 0, the output is set to 1 when the PSO comparison yields true and 0 otherwise. If set to 1, the output is set to 0 when the PSO comparison yields true and 0 otherwise.