5. Lista des adresses d'enregistrement MODBUS
L'enregistrement MODBUS du débitmètre dispose d'un enregistrement de lecture et un autre
d'écriture.
a)
Lecture de la liste des adresses d'enregistrement (le code de fonction 0x03 s'utilise
pour la lecture)
PDU
Register
Address
$0000
40001
$0001
40002
$0002
40003
$0003
40004
$0004
40005
$0005
40006
$0006
40007
$0007
40008
$0008
40009
$0009
40010
$000A
40011
$000B
40012
$000C
40013
$000D
40014
$000E
40015
$000F
40016
$0010
40017
$0019
40026
$001A
40027
$001B
40028
$001C
40029
$001D
40030
$001E
40031
$003B
40060
$003C
40061
$003D
40062
$003E
40063
$003F
40064
$0040
40065
$0041
40066
$0042
40067
$0043
40068
$0044
40069
$0045
40070
$0046
40071
$0047
40072
$0048
40073
Read
Flow/s - low word
Flow/s - high word
Flow/m - low word
Flow/m - high word
Flow/h - low word
Flow/h - high word
Velocity - low word
Velocity - high word
Positive total - low word
Positive total - high word
Positive total - exponent
Negative total - low word
Negative total - high word
Negative total - exponent
Net total - low word
Net total - high word
Net total - exponent
Up signal - low word
Up signal - high word
Down signal –low word
Down signal –high word
Quality
Erreur code –char 1
Flow velocity unit –char 1,2
Flow velocity unit –char 3,4
Flow rate unit –char 1,2
Flow rate unit –char 3,4
Flow totalunit –char 1,2
Energy rateunit –char1,2
Energy rateunit –char 3,4
Energy totalunit –char 1,2
Instrument address-low
word
Instrument address-high
word
Serial number –char 1,2
Serial number –char 3,4
Serial number –char 5,6
Serial number –char 7,8
© PCE Instruments
Write
32 octets
real
32 octets
real
32 octets
real
32 octets
real
32 octets
real
16 octets int
32 octets
real
16 octets int
32 octets
real
16 octets int
32 octets
real
32 octets
real
16 octets int
String
String
String
String
String
String
32 octets
real
String
String
42
No.
Type
Registers*
2
2
2
2
2
1
2
1
2
1
2
0 - 99.9
2
0 - 99.9
1
0 - 99.9
Refer to
»Erreur
Analysis »
1
for detailed
codes
meanings.
Only m/s
2
right now
2
Note 1
1
2
Note 2
1
2
4
4