Return Diagnostic Register (Sub-Function Code: 02H) - Mitsubishi Electric MELSEC iQ-R Series Reference Manual

Modbus and modbus/tcp
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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

Operation description
Reads out the detailed LED status of C24 to the master.
Request message format (from master to slave)
Function code
Sub-function code
08H
(H)
Response message format (from slave to master)
■ When completed successfully
Function code
08H
b15
b14
b13
b12
b11
0
0
0
1/0 1/0 1/0
In the C24, the detailed LED status of 'CH1/2 side LED lighting status and communication error status' of the buffer memory
(Un\G513/Un\G514) is stored as the diagnostic register.
■ When completed with an error
Function code
Data
Exception code
88H
3 MODBUS STANDARD FUNCTION DETAILS
24
3.8 Diagnostics (FC: 08H)
(0002H)
(L)
(H)
Sub-function code
(0002H)
(H)
(L)
b10
b9
b8
b7
b6
b5
1/0 1/0
0
0
0
Data
(0000H)
(L)
Data
Diagnostic register value
(H)
(L)
b4
b3
b2
b1
b0
1/0 1/0 1/0
1/0 1/0
CH1 C/N
CH1 P/S
CH1 PRO.
CH1 SIO
CH1 ERR.
Unused (Fixed to 0)
CH2 C/N
CH2 P/S
CH2 PRO.
CH2 SIO
CH2 ERR.
Unused (Fixed to 0)
CH1 side Detailed
LED status
(0: OFF, 1: ON)
CH2 side Detailed
LED status
(0: OFF, 1: ON)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents