Please enable JavaScript to view this site.

List of Modbus error codes.

Modbus error code

Value

Description

MBC_WAIT

1

Command waiting for response

MBC_OK

0

Command executed

MBC_INVAL

-1

Invalid arguments

MBC_BUSY

-2

Resource occupied

MBC_PERM

-3

Permission denied

MBC_CONN

-4

Connection failed

MBC_NOBUFS

-5

Buffer exhausted

MBC_NOMEM

-6

Insufficient memory

MBC_TX_ERR

-7

Transmission error

MBC_RX_ERR

-8

Receive error

MBC_TIMEOUT

-9

Timeout blocking command

MBC_EXC_CODE_1

-10

Response with exception 1 (function code not supported by the server)

MBC_EXC_CODE_2

-11

Response with exception 2 (invalid address)

MBC_EXC_CODE_3

-12

Response with exception 3 (invalid quantity or value)

MBC_EXC_CODE_4

-13

Response with exception 4 (operation failed)

MBC_WRONG_ANSWER

-14

Invalid response

MBC_INVAL_MBC

-15

Invalid MBC id

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC