4 команды modbus rtu, Fc3 read holding register – Инструкция по эксплуатации VEGA VEGAFLEX 86 Modbus and Levelmaster protocol Coax probe

Страница 81

Advertising
background image

81

11 Приложение

VEGAFLEX 86 • Протокол Modbus и Levelmaster

42288-R

U-130320

Register Name

Register Number

Type

Note

SV

2204

DWord

Secondary Variable in Byte Order BACD (Middle

Endian)

TV

2206

DWord

Third Variable in Byte Order BACD (Middle Endian)

QV

2208

DWord

Quarternary Variable in Byte Order BACD (Middle

Endian)

Unit Codes for Register 104, 108, 112, 116

Unit Code

Measurement Unit

32

Degree Celsius

33

Degree Fahrenheit

40

US Gallon

41

Liters

42

Imperial Gallons

43

Cubic Meters

44

Feet

45

Meters

46

Barrels

47

Inches

48

Centimeters

49

Millimeters

111

Cubic Yards

112

Cubic Feet

113

Cubic Inches

11.4 Команды Modbus RTU

FC3 Read Holding Register

Этой командой может считываться любое количество (1-127) регистров временного

хранения. Передается стартовый регистр, с которого должно начинаться считывание, и

число регистров.
Request:

Parameter

Length

Code/Data

Function Code

1 Byte

0x03

Start Address

2 Bytes

0x0000 to 0xFFFF

Number of Registers

2 Bytes

1 to 127 (0x7D)

Response:

Параметр

Длина

Code/Data

Function Code

1 Byte

0x03

Start Address

2 Bytes

2*N

Register Value

N*2 Bytes

Data

Advertising