Error messages in rtu mode – VEGA VEGASCAN 850 Modbus signal output User Manual

Page 10

Advertising
background image

10

Modbus signal output VEGASCAN 850

Start

Func-

tion

code

Ex-

ception

code

Error

Check

End

No. of

bytes

Value
range

Meaning

Structure of the answer VEGASCAN 850 to Modbus master

R

TU answer telegram (function code 06) on faulty enquiry

3 ... 4

1

1

1

2

3 ... 4

Closed level

1 .. 247 0x84

1 ..

3

CRC

Closed level

0x01

0x86

0x01

0xXX

0xXX

Exception code = 1

Data transmission with Modbus RTU

Error messages in RTU mode

Errors in the telegram of function code 04 (Read Input Register) are commented by an error
message (Exception Response). The most significant bit of the function code is set to 1 (cor-
responds to function code + 80H). In the byte Exception Code, the error is named in coded
form (see error overview).

Error overview:

Exception Code

Meaning

1

unpermitted function

2

unpermitted start register

3

unpermitted number of registers

Example for error message:
A DCS value should be collected from a VEGASCAN. The slave address of VEGASCAN is set
to 1.

In the enquiry telegram an unpermitted function code (06) has been inadvertently enquired.
Therefore the following answer telegram is displayed:

Slave

ad-

dress

Advertising