4 modbus instrucciones rtu, Fc3 read holding register – VEGA VEGAPULS 65 (≥ 2.0.0 - ≥ 4.0.0) Modbus and Levelmaster protocol Manual del usuario

Página 60

Advertising
background image

60

11 Anexo

VEGAPULS 65 • Protocolo Modbus y Levelmaster

41365-ES-121113

Register Name

Register Number

Type

Note

PV

2202

DWord

Primary Variable in Byte Order BACD (Middle Endian)

SV

2204

DWord

Secondary Variable in Byte Order BACD (Middle En-

dian)

TV

2206

DWord

Third Variable in Byte Order BACD (Middle Endian)

QV

2208

DWord

Quarternary Variable in Byte Order BACD (Middle En-

dian)

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 instrucciones RTU

FC3 Read Holding Register

Con esa instrucción se puede leer una cantidad arbitraria (1-127) en los registros holding. Se trans-

miten el registro inicial, desde el que hay que leer y la cantidad de registros.
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:

Parámetro

Longitud

Code/Data

Function Code

1 Byte

0x03

Start Address

2 Bytes

2*N

Advertising