4 - 47
4.13 Get Communications Event Log (FC: 12)
4
MODBUS(R) STANDARD FUNCTIONS
4.13 Get Communications Event Log (FC: 12)
Acquires the communications event log of the QJ71MB91 into the master.
(1) Request message format (Master Slave)
(2) Response message format (Slave Master)
(When completed normally)
* 1 Since the QJ71MB91 does not support any program commands, 0000H is always stored.
* 2 Refer to the following for the relevant counts, count clear methods and precautions.
Section 4.12
* 3 Refer to the following for the relevant counts, count clear methods and precautions.
Section 11.3
* 4 Refer to the following for details of the communications event log.
This section (2) (a), (2) (b)
(When completed with an error)
* 5 Exception and error codes are stored in the buffer memory in the case of error completion.
Refer to the following for storage location, confirmation methods, and detailed contents.
Section 11.4
Figure 4.74 Get communications event log (Request message)
Figure 4.75 Get communications event log (Normal response message)
Figure 4.76 Get communications event log (Exception message)
Function code
Function
code
(0C
H)
Data
(L) (L) (L)
Function code
Function
code
(0C
H
)
Number of
read bytes
Program command
status
(0000
H
) *
1
Communications event
count value
(0000
H
to FFFF
H
) *
2
Bus message count value
(0000
H
to FFFF
H
) *
3
Communications
event log No. 0 *
3
Communications
event log No. 63
(Number of read bytes)
(H) (H)
(H)
Data
Function code
Function
code
(8C
H)
Exception
code *
5