X20(c)CP1301, X20CP1381 and X20CP1382
16.5.5 Monitoring status of the digital outputs
The error states of the outputs must be programmed in the application. The status information that is read is the
actual voltage state on the channel (set or reset). The error state is therefore determined by a difference between
the data points "DigitalOutputxx" and the corresponding "StatusDigitalOutputxx".
At least 3 system ticks are needed internally to read the output status. This is the reason for the delay after which
the earliest possible comparison can be made after a change in the status of the output.
The digital input filter is not applied to this status information.
16.5.5.1 Status of digital outputs 1 to 12
Name:
StatusDigitalOutput01 to StatusDigitalOutput12
These registers are used to indicate the status of digital outputs 1 to 12.
Data type
Values
USINT
See the bit structure.
Bit structure:
Register 8193:
Bit
Description
0
StatusDigitalOutput01
...
7
StatusDigitalOutput08
Register 8194:
Bit
Description
0
StatusDigitalOutput09
...
3
StatusDigitalOutput12
52
Value
Information
0
Channel 1: Digital output reset or short circuit
1
Channel 1: Digital output set or voltage feedback
...
0
Channel 8: Digital output reset or short circuit
1
Channel 8: Digital output set or voltage feedback
Value
Information
0
Channel 9: Digital output reset or short circuit
1
Channel 9: Digital output set or voltage feedback
...
0
Channel 12: Digital output reset or short circuit
1
Channel 12: Digital output set or voltage feedback
Data sheet V1.21