-31-
8.3 DIO Control
8.3.1 Digital I/O Output
The output can be controlled by adjusting the RY0 ~ RY31 value of the I/O device map.
The n in RYn controls the output status of the nth channel and the output status according to each value is as follows.
Value
Instruction
0
When the output signal (transistor) is off and current dos not flow out
1
• NPN: When the output signal (transistor) is on, current flows inward, otherwise called a
SINK status.
• PNP: When the output signal (transistor) is on, current flows out, otherwise called a
SOURCE status.
Table 8-1. The output status according to the RYn data value
8.3.2 Digital I/O Input
The signal coming in from the product's input can be confirmed from the I/O device map's RX0 ~ RX31 value.
The n in RXn is the nth channel's input status and the input status according to each value is as follows.
Value
Instruction
0
The input signal's photocoupler is at a non-conduction status, with no external current flowing
1
• NPN: The input signal's photocoupler is at a conduction status, with current flowing out
• PNP: The input's photocoupler is at a conduction status, with current flowing in
Table 8-2. The input status according to the RXn data value