Fc16 write multiple register, Fc17 report slave id, Fc43 sub 14, read device identification – VEGA VEGAFLEX 83 Modbus and Levelmaster protocol Polished version User Manual

Page 81

Advertising
background image

81

11 Supplement

VEGAFLEX 83 • Modbus and Levelmaster protocol

41843-EN-130314

Implemented function codes:

Sub Function Code

Name

0x00

Return Data Request

0x0B

Return Message Counter

With sub function codes 0x00 only one 16 bit value can be written.

FC16 Write Multiple Register

With this function code, several holding registers can be writen. Only registers can be written in an

enquiry which are immediately consecutive. If there are gaps (registers do not exist) between the

registers, then they cannot be written in a telegram.
Request:

Parameter

Length

Code/Data

Function Code

1 Byte

0x10

Start Address

2 Bytes

0x0000 to 0xFFFF

Register Value

2 Bytes

0x0001 to 0x007B

Byte Number

1 Byte

2*N

Register Value

N*2 Bytes

Data

Response:

Parameter

Length

Code/Data

Function Code

1 Byte

0x10

Sub Function Code

2 Bytes

0x0000 to 0xFFFF

Data

2 Bytes

0x01 to 0x7B

FC17 Report Slave ID

With this function code, the Slave ID can be queried.
Request:

Parameter

Length

Code/Data

Function Code

1 Byte

0x11

Response:

Parameter

Length

Code/Data

Function Code

1 Byte

0x11

Byte Number

1 Byte

Slave ID

1 Byte

Run Indicator Status

1 Byte

FC43 Sub 14, Read Device Identification

With this function code, the Device Identification can be queried.

Advertising