UMDIO128CO V2.0.1 Preliminary Documentation – May be Subject to Change 10-53
1.5.
Digital Output Function Block
Figure 5 – Digital Output Objects
For the digital outputs (DO), all associated objects (except 2211h and 2221h) are an 8-bit type.
The table below shows the relationship between each bit and the corresponding relay output.
Subindex Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1 Bit 0
1
DO8 DO7 DO6 DO5 DO4 DO3 DO2 DO1
Table 3 – Digital Output Bitmap
When driving the outputs, the first thing the controller checks is that it is not in an error state by
reading object
1001h, Error Register
. If an error is active, then object
6206h, DO Error Mode
(default 1) is evaluated, and if it is 1, then the “Logic State” is immediately set to the value in object
6207h, Error Value
(default 0). In this case, none of the other logic outlined below (except polarity)
is applied.
If no error is active, or 6206h is 0, then the enable logic for the output is evaluated. Object
2220h,
DO Enable Input Used
(default 0) is read, and if TRUE then the state of the input at the sub-index
defined in object
2221h, DO Discrete Enable Number
(default 9) is read. If this input is OFF, then
the “Logic State” is immediately set OFF and none of the other logic outlined below (except
polarity) is applied.
If 2220h is FALSE, or the enable input is ON, then the controller checks the node state. If
STOPPED, then the “Logic State” is automatically set OFF, unless 6206h is set in which case
“Logic State” is set to 6207h. In all other modes (including BUSOFF), object
2210h, DO Control
Source
(default 1) is read.