MBS Protocol
PLX30 Series
User Manual
Ethernet and Serial Gateways
Page 140 of 200
ProSoft Technology, Inc.
September 19, 2012
7.3.3 Error/Status Codes
These are error codes that are part of the Modbus protocol or are extended
codes unique to this gateway.
Modbus Error Codes
These error codes are generated or returned on both the Master and slave ports.
These codes are the standard Modbus errors (page 149).
Code
Description
1
Illegal Function
2
Illegal Data Address
3
Illegal Data Value
4
Failure in Associated Device
5
Acknowledge
6
Busy, Rejected Message
Module Communication Error Codes
These gateway-specific error codes are also returned from the command polling
process and stored in the Command Error List memory area.
Code
Description
-1
CTS modem control line not set before transmit
-2
Timeout while transmitting message
-11
Timeout waiting for response after request
253
Incorrect slave address in response
254
Incorrect function code in response
255
Invalid CRC/LRC value in response
Command List Error Codes
These command-specific error codes are detected during initial command list
loading at gateway power-up or reset and are stored in the
Command Error List
memory region.
Code
Description
-41
Invalid enable code
-42
Internal address > maximum address
-43
Invalid node address (<0 or > 255)
-44
Count parameter set to 0
-45
Invalid function code
-46
All parameters set to 0
-47
All parameters set to -1