Mitsubishi Electronics MR-J2S- A ユーザーズマニュアル
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
(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.
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
1
CN1B-17
9
17
25
2
CN1B-15
10
18
26
3
CN1B-5
11
19
27
4
CN1B-14
12
20
28
5
CN1A-8
13
21
29
6
CN1B-7
14
22
30
7
CN1B-8
15
23
31
(2) External output pin status read
Read the ON/OFF statuses of the external output pins.
(a) Transmission
(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.
station as hexadecimal data.
bit
External output pin
bit
External output pin
bit
External output pin
bit
External output pin
0
CN1A-19
8
16
24
1
CN1A-18
9
17
25
2
CN1B-19
10
18
26
3
CN1B-6
11
19
27
4
CN1B-4
12
20
28
5
CN1B-18
13
21
29
6
CN1A-14
14
22
30
7
15
23
31