Return Diagnostic Register (Sub-Function Code: 02) - Mitsubishi QJ71MB91 User Manual

Table of Contents

Advertisement

4
MODBUS(R) STANDARD FUNCTIONS

4.11.3 Return diagnostic register (sub-function code: 02)

Reads out the detailed LED status of the QJ71MB91 to the master.
(1) Request message format (Master
(2) Response message format (Slave
(When completed normally)
b15
b14
0
Remark
Function code
Sub-function code
Function
Sub-function code
code
(0002
H
(08
)
H
(H)
Figure 4.32 Return diagnostic register (Request message)
Function code
Sub-function code
Function
Sub-function code
code
(0002
(08
)
H
(H)
b13
b12
b11
b10
b9
b8
0
0 1/0 1/0 1/0 1/0 1/0
Figure 4.33 Return diagnostic register (Normal response message)
Refer to the following for each items of the detailed LED status.
Section 11.2
4.11.3 Return diagnostic register (sub-function code: 02)
Slave)
Data
(0000
)
H
)
(L)
(H)
Master)
Data
Diagnostic register
)
value
H
(L)
(H)
b7
b6
b5
b4
b3
b2
b1
0
0
0 1/0 1/0 1/0 1/0 1/0
The QJ71MB91 stores the lower 8 bits of the buffer memory's
Detailed LED status as a diagnostic register. (address: 0006
4.11 Diagnostics (FC: 08)
(L)
(L)
b0
CH1 C/N
CH1 P/S
CH1 PRO.
CH1 side Detailed
LED status
CH1 SIO
(0: OFF, 1: ON)
CH1 ERR.
Unused (Fixed to 0)
CH2 C/N
CH2 P/S
CH2 side Detailed
CH2 PRO.
LED status
CH2 SIO
(0: OFF, 1: ON)
CH2 ERR.
Unused (Fixed to 0)
/0007
)
H
H
4
1
2
3
4
5
6
7
8
- 28

Advertisement

Table of Contents
loading

Table of Contents