Mitsumi electronic MR-J3- A Manual De Usuario

Descargar
Página de 670
 
 
 
13 -  22 
13. COMMUNICATION FUNCTION 
 
13.5.4 External I/O signal statuses (DIO diagnosis) 
(1) Reading of input device statuses 
Read the statuses of the input devices. 
 
(a) Transmission 
Transmit command [1][2] and data No.[0][0]. 
 
Command
Data No. 
[1][2] [0][0] 
 
(b) Reply 
The slave station sends back the statuses of the input pins. 
b31
b0
0:OFF
1:ON
b1
Command of each bit is transmitted to the master
station as hexadecimal data.
 
bit Abbreviation  
bit Abbreviation  
bit Abbreviation  
bit Abbreviation 
0 SON  
8  SP1  
16     
24   
1 LSP  
9 SP2  
17     
25   
LSN 
 10 
SP3 
 18 
 
 26 
 
TL 
 11 
ST1 
 19 
 
 27 
CDP 
TL1 
 12 
ST2 
 20 
STAB2 
 28 
 
PC 
 13 
CM1 
 21 
 
 29 
 
RES 
 14 
CM2 
 22 
 
 30 
 
CR 
 15 
LOP 
 23 
 
 31 
 
 
(2) External input pin status read 
Read the ON/OFF statuses of the external output 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.