12. COMMUNICATION FUNCTION (MITSUBISHI ELECTRIC GENERAL-PURPOSE AC SERVO PROTOCOL)
(5) Reading external output pin status
The following shows how to read the on/off status of the external output pins.
(a) Transmission
Transmit command [1] [2] and data No. [C] [0].
(b) Return
The slave station returns the status of the output devices.
Bit
CN1 connector pin
0
49
1
24
2
23
3
4
5
48
6
33
7
Command
Data No.
[1] [2]
[C] [0]
b31
Command of each bit is transmitted to the master station as hexadecimal data.
Bit
CN1 connector pin
8
9
10
11
12
13
14
15
12 - 24
Bit
CN1 connector pin
16
17
18
19
20
21
22
23
b1b0
1: On
0: Off
Bit
CN1 connector pin
24
25
26
27
28
29
30
31