Fc17 report slave id, Fc43 sub 14, read device identification – Инструкция по эксплуатации VEGA VEGAPULS 67 (≥ 2.0.0 - ≥ 4.0.0) Modbus and Levelmaster protocol
Страница 74
74
11 Приложение
VEGAPULS 67 • Протокол Modbus и Levelmaster
41369-R
U-121123
Параметр
Length
Code/Data
Register Value
2 Bytes
0x0001 to 0x007B
Byte Number
1 Byte
2*N
Register Value
N*2 Bytes
Data
Response:
Параметр
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
Этим кодом функции могут запрашиваться Slave ID.
Request:
Параметр
Length
Code/Data
Function Code
1 Byte
0x11
Response:
Параметр
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
Этим кодом функции может запрашиваться Device Identification.
Request:
Параметр
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:
Параметр
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