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

Pagina 71

Advertising
background image

71

10 Appendice

VEGABAR 81 • Protocollo Modbus e LevelMaster

46293-IT

-131205

Parametro

Length

Code/Data

Sub Function Code

2 Bytes

0x0000 to 0xFFFF

Data

2 Bytes

0x01 to 0x7B

FC17 Report Slave ID

Con questo codice di funzione può essere richiesta la slave ID.
Request:

Parametro

Length

Code/Data

Function Code

1 Byte

0x11

Response:

Parametro

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

Con questo codice di funzione può essere richiesta la Device Identification.
Request:

Parametro

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:

Parametro

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