14 - 19
14. COMMUNICATION FUNCTIONS
14.12.4 External I/O pin statuses (DIO diagnosis)
(1) External input pin status read
Read the ON/OFF statuses of the external input pins.
(a) Transmission
Transmit command [1][2] and data No. [4][0].
Command Data No.
[1][2] [4][0]
(b) Reply
The ON/OFF statuses of the input pins are sent back.
b31 b0
0: OFF
1: ON
b1
Command of each bit is transmitted to the master
station as hexadecimal data.
bit External input pin bit External input pin bit External input pin bit External input pin
0 CN1B-16 8 CN1B-9 16 24
1CN1B-17 9 17 25
2 CN1B-15 10 18 26
3CN1B-5111927
4 CN1B-14 12 20 28
5CN1A-8132129
6CN1B-7142230
7CN1B-8152331
(2) External output pin status read
Read the ON/OFF statuses of the external output pins.
(a) Transmission
Transmit command [1][2] and data No. [C][0].
Command Data No.
[1][2] [C][0]
(b) Reply
The slave station sends back the ON/OFF statuses of the output pins.
b31 b0
0: OFF
1: ON
b1
Command of each bit is transmitted to the master
station as hexadecimal data.
bit External output pin bit External output pin bit External output pin bit External output pin
0CN1A-19 8 16 24
1CN1A-18 9 17 25
2 CN1B-19 10 18 26
3CN1B-6111927
4CN1B-4122028
5 CN1B-18 13 21 29
6 CN1A-14 14 22 30
7 152331