beautypg.com

ProSoft Technology PLX31-EIP-SIE User Manual

Page 108

background image

MBTCP Protocol

PLX3x Series

User Manual

Ethernet and Serial Gateways

Page 108 of 218

ProSoft Technology, Inc.

September 17, 2014

6.3.3 MBTCP Error Codes

Standard Modbus Exception Code Errors

Code

Description

1

Illegal function

2

Illegal data address

3

Illegal data value

4

Failure in associated device

5

Acknowledge

6

Busy; message was rejected

MBTCP Client Specific Errors

Code

Description

-33

Failed to connect to server specified in command

-35

Wrong message length in the response

-36

MBTCP command response timeout (same as -11)

-37

TCP/IP connection ended before session finished

Command List Entry Errors

Code

Description

-40

Too few parameters

-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

Invalid swap code

Gateway Communication Error Codes

Code

Description

-2

Timeout while transmitting message

-11

Timeout waiting for response after request (same as -36)

253

Incorrect slave/server address in response

254

Incorrect function code in response

255

Invalid CRC/LRC value in response