Functions of the module
MSX-E1701: Digital I/O
8.2.2
Connection example: Digital outputs (24 V)
Fig. 8-3: Connection example: Digital outputs (24 V)
8.3
Function description: Digital outputs and
diagnostics
The Ethernet I/O module
MSX-E1701
has 16 digital inputs and 16 outputs.
The outputs work as follows:
1.
You can configure a port as outputs by setting the corresponding bits on 1
in the I/O configuration register. The outputs that are configured as ports
are highly ohmic now.
i
IMPORTANT!
Per connector only both ports can be configured as input or
output.
2.
Now put +24 V on the output by setting the corresponding bits on 1 in the
digital output register.
3.
To control it you can read the set ports back in the digital input register.
4.
If there is a short-circuit at the switched output, the corresponding output
is deactivated. If the interrupt enable bit is set, an interrupt is generated. In
the diagnostics register you can read back which ports have generated a
46