3 registri modbus, Holding register, Registri di ingresso – VEGA VEGAPULS 66 (≥ 2.0.0 - ≥ 4.0.0) Modbus and Levelmaster protocol Manuale d'uso

Pagina 66

Advertising
background image

66

11 Appendice

VEGAPULS 66 • Protocollo Modbus e LevelMaster

41366-IT

-121116

singola precisione (4 byte) secondo IEEE 754 con disposizione liberamente selezionabile dei byte

di dati (Byte transmission order). Questo "Byte transmission order" viene fissato nel parametro

"Format Code". In questo modo l'RTU conosce i registri del VEGAPULS 66 necessari per variabili e

informazioni relative allo stato.

Format Code

Byte transmission order

0

ABCD

1

CDAB

2

DCBA

3

BADC

11.3 Registri Modbus

Holding Register

Gli holding register hanno 16 bit e possono essere scritti e letti. Prima di ogni comando viene tra-

smesso l'indirizzo (1 byte), dopo ogni comando un CRC (2 byte).

Register Name Register Num-

ber

Type

Configurable

Values

Default Value

Unit

Address

200

Word

1 … 255

246

-

Baud Rate

201

Word

1200, 2400,

4800, 9600,

19200

9600

-

Parity

202

Word

0 = None, 1 =

Odd, 2 = Even

0

-

Stopbits

203

Word

1 = None, 2 =

Two

1

-

Delay Time

206

Word

10 … 250

50

ms

Byte Oder (Floa-

ting point format)

3000

Word

0, 1, 2, 3

0

-

Registri di ingresso

I registri di ingresso hanno 16 bit e possono essere solamente letti. Prima di ogni comando viene

trasmesso l'indirizzo (1 byte), dopo ogni comando un CRC (2 byte).
PV, SV, TV e QV possono essere impostati tramite il DTM del sensore.

Register Name

Register Number

Type

Note

Status

100

DWord

Bit 0: Invalid Measurement Value PV
Bit 1: Invalid Measurement Value SV
Bit 2: Invalid Measurement Value TV
Bit 3: Invalid Measurement Value QV

PV Unit

104

DWord

Unit Code

PV

106

Primary Variable in Byte Order CDAB

SV Unit

108

DWord

Unit Code

SV

110

Secondary Variable in Byte Order CDAB

TV Unit

112

DWord

Unit Code

Advertising