14. COMMUNICATION FUNCTION
14 - 27
14.5.4 External I/O signal status (DIO diagnosis)
(1) Reading input device status
The following shows how to read the status of the input devices.
(a) Transmission
Transmit command [1] [2] and data No. [0] [0].
(b) Return
The slave station returns the status of the input devices.
b31 b1b0
1: On
0: Off
Command of each bit is transmitted to the master station as hexadecimal data.
(2) Reading external input pin status
The following shows how to read the on/off status of the external input pins.
(a) Transmission
Transmit command [1] [2] and data No. [4] [0].
(b) Return
The on/off status of the input pins are returned.
b31 b1b0
1: On
0: Off
Command of each bit is transmitted to the master station as hexadecimal data.