Modbus/tcp, Addressing, Commands – GE Industrial Solutions AF-300 P11_G11 Ethernet Interface User Manual
Page 23: Exception codes

Modbus/TCP
17
Modbus/TCP
This product incorporates a Modbus/TCP server according to version 1.0 of the Modbus/TCP specification.
The product listens for incoming connections on TCP port 502.
Up to 8 simultaneously connections can be set-up. A connection will be closed if no data has been exchanged
during 1 minute.
Addressing
This product supports the Modbus area for output/holding registers (4XXXX).
Register 40001-40255 corresponds to Communication No. 1-255.
Commands
The module supports the following Modbus/TCP commands:
Function
code
Function name
Description
3
Read multiple registers
Read one ore more registers in the drive
6
Write single register
Write to a single register
16
Write multiple registers
Write to multiple registers
23
Read/Write registers
Read and write to multiple registers with one command
Exception Codes
If a command cannot be executed an exception code is returned. The following exception codes can be
returned:
Exception
code
Exception name
Description
01
Illegal function
The function code in the query is not supported
02
Illegal data address
The data address in the query is outside the valid address
range or the address is invalid.
03
Illegal data value
This code will be returned if:
1. Trying to write to a read only register in the drive or
2. The requested register cannot be changed while the drive
is running.
06 Slave
device
busy
This code will be returned if:
1. The inverter is busy or
2. There is a communication error between the drive and the
communication adapter.