Get Communications Event Counter (Command Code: 0X0B) - Mitsubishi FX3U Series User Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3U
User's Manual - MODBUS Serial Communication Edition
7.12

Get Communications Event Counter (Command Code: 0x0B)

Acquires the number of messages whose requested actions (read/write, diagnostics, etc.) have been
normally completed.
Note
Only normally completed messages are counted.
1) Request message format (Master → Slave)
2) Response message format (Slave → Master)
(When completed normally)
Function code
*1. Since the FX-Series MODBUS Communication ADP does not support any program commands,
0000H is stored.
*2. The count is stopped if it has reached FFFFH.
Reset the counter by either of the following methods when restarting the count.
Clearing the counter and diagnostic register (Refer to Subsection 7.11.6).
Restart communications option (Refer to Subsection 7.11.2).
Power OFF → ON, or the PLC state is changed from STOP → RUN.
Note
The communications event counter counts only when the processing (read/write, diagnostics, etc.) has
completed normally.
The communications event counter does not count in the case of the following:
The processing has completed with an error.
• When receiving a request message containing a function code that the FX-Series MODBUS
Communication ADP does not support
• When receiving the Get communications event counter (FC: 11)
(When completed with an error)
*3. Exception and error codes are stored in special data registers and special auxiliary relays in the case
of error completion. Refer to Chapter 6 for storage location, confirmation methods, and other detailed
contents.
Function code
Function
Function
Program command status
code
(0000
) *
H
(0B
)
H
(H)
Function code
Function
code
(8B
7.12 Get Communications Event Counter (Command Code:
code
(0B
)
H
Data
Communications
1
event count value
(0000
to FFFF
H
H
(L)
(L)
(H)
Data
Exception
code *
3
)
H
7 MODBUS Standard Commands
) *
2
1
2
3
4
5
6
7
8
9
10
71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents