Section 3
Vendor-specific implementation
3.2
3.2.1
3.2.2
14
Table 5:
Common (instance independent) Modbus TCP/IP diagnostic counters
Counter
Description
CnReject No
The amount of connection requests that are rejected due to unavailable TCP sockets.
sockets
CnReject Not reg
The amount of connection requests that are rejected since the client is not registered.
Supported function codes
Application functions
Table 6:
Supported application functions
Function
Name
code
01
Read coil status
02
Read digital input status
03
Read holding registers
04
Read input registers
05
Force single coil
06
Preset single register
08
Diagnostics
15
Force multiple coils
16
Preset multiple registers
23
Read/write holding registers
Diagnostic functions
The diagnostic functions are only intended for serial communication. However, the serial
diagnostic counters can be read, but not reset, via the Modbus TCP/IP interface. The serial
line cannot be forced to the listen mode via the Modbus TCP/IP interface.
Table 7:
Supported diagnostic subfunctions
Function
Name
code
00
Return query data
01
Restart communication option
04
Force listen only mode
10
Clear counters and diagnostic register
1MAC052634-MB D
Description
Reads the status of discrete outputs.
Reads the status of discrete inputs.
Reads the contents of output registers.
Reads the contents of input registers.
Sets the status of a discrete output.
Sets the value of a holding register.
Checks the communication system between
the master and the slave.
Sets the status of multiple discrete outputs.
Sets the value of multiple holding registers.
Exchanges holding registers in one query.
Description
The data in the query data field is returned
(looped back) in the response. The entire
response is identical to the query.
The slaves peripheral port is initialized and
restarted and the communication event
counters are cleared. Before this, a normal
response will be sent provided that the port
is not in the listen only mode. If the port is in
the listen only mode, no response will be
sent.
The slave is forced to enter the listen only
mode for Modbus communication.
All counters and the diagnostic register are
cleared.
615/620 series ANSI
Communication Protocol Manual