Fc17 report slave id, Fc43 sub 14, read device identification – VEGA VEGABAR 81 Modbus and Levelmaster protocol - Operating Instructions Manuel d'utilisation

Page 72

Advertising
background image

72

10 Annexe

VEGABAR 81 • Protocole Modbus et Levelmaster

46293-FR-131120

Paramètres

Length

Code/Data

Sub Function Code

2 Bytes

0x0000 to 0xFFFF

Data

2 Bytes

0x01 to 0x7B

FC17 Report Slave ID

Ce code de fonction permet d'interroger l'ID esclave.
Request:

Paramètres

Length

Code/Data

Function Code

1 Byte

0x11

Response:

Paramètres

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

Ce code de fonction permet d'interroger l'identification du dispositif (Device Identification).
Request:

Paramètres

Length

Code/Data

Function Code

1 Byte

0x2B

MEI Type

1 Byte

0x0E

Read Device ID Code

1 Byte

0x01 to 0x04

Object ID

1 Byte

0x00 to 0xFF

Response:

Paramètres

Length

Code/Data

Function Code

1 Byte

0x2B

MEI Type

1 Byte

0x0E

Read Device ID Code

1 Byte

0x01 to 0x04

Confirmity Level

1 Byte

0x01, 0x02, 0x03, 0x81, 0x82, 0x83

More follows

1 Byte

00/FF

Next Object ID

1 Byte

Object ID number

Number of Objects

1 Byte

List of Object ID

1 Byte

List of Object length

1 Byte

List of Object value

1 Byte

Depending on the Object ID

Advertising