X hits on this document

114 views

0 shares

0 downloads

0 comments

18 / 37

MODBUS Communications Driver - Function QRF

Error Codes

Error

Code

Sentinel key missing (copy protection)

-4

Could not receive

-3

Could not transmit

-2

Timeout

-1

No Error

0

Broadcast Mode not allowed

3

Illegal MODBUS address

4

Illegal count

5

Bad output (coil) address

6

Bad input address

7

Bad output register address

8

Bad input register address

9

Return frame check failed

10

User frame not ready

11

No incoming frame to dissect

12

Illegal command number

13

Bad return frame

14

CRC error

15

Bad pointer (e.g., illegal array address)

18

Illegal communications parameter

19

Any function that returns a nonzero value indicates an error condition.

MODBUS error return codes come back with 100 decimal added to them. MBDRV supports error codes greater than 4 (if your device’s implementation of the MODBUS protocol uses them) in the same way.

Page 10

June 6, 1998

Revision 2.210

Document info
Document views114
Page views116
Page last viewedTue Jan 17 19:16:56 UTC 2017
Pages37
Paragraphs781
Words6172

Comments