Fc17 report slave id, Fc43 sub 14, read device identification – VEGA VEGAPULS SR 68 Modbus and Levelmaster protocol Manuale d'uso

Pagina 79

Advertising
background image

79

10 Appendice

VEGAPULS SR 68 • Protocollo Modbus e LevelMaster

41371-IT

-130624

Response:

Parametri

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

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

Parametri

Length

Code/Data

Function Code

1 Byte

0x11

Response:

Parametri

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:

Parametri

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:

Parametri

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