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

b1 b0

1: ON

0: OFF

Command of each bit is transmitted to the master station as hexadecimal data.

bit

External input pin

0CN1B-16

1CN1B-17

2CN1B-15

3CN1B-5

4CN1B-14

5CN1A-8

6CN1B-7

7CN1B-8

bit

External input pin

8

CN1B-9

9

 

10

 

11

 

12

 

13

 

14

 

15

 

bit

External input pin

16

 

17

 

18

 

19

 

20

 

21

 

22

 

23

 

bit

External input pin

24

 

25

 

26

 

27

 

28

 

29

 

30

 

31

 

(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

b1 b0

1: ON

0: OFF

Command of each bit is transmitted to the master station as hexadecimal data.

bit

External output pin

0CN1A-19

1CN1A-18

2CN1B-19

3CN1B-6

4CN1B-4

5CN1B-18

6CN1A-14

bit

External output pin

bit

External output pin

8

 

16

 

9

 

17

 

10

 

18

 

11

 

19

 

12

 

20

 

13

 

21

 

14

 

22

 

15

 

23

 

 

14 - 19

 

bit

External output pin

24

 

25

 

26

 

27

 

28

 

29

 

30

 

31

 

Page 242
Image 242
Mitsubishi Electronics MR-J2S- A Reply ON/OFF statuses of the input pins are sent back, External output pin status read