A-16
PQM Power Quality Meter
GE Power Management
A.1 PQM APPLICATION NOTES
APPENDIX A
A
A.1.7 READING LONG INTEGERS FROM MEMORY MAP
APPLICATION NOTE PQMAN08: READING LONG INTEGER VALUES FROM THE MEMORY MAP
The PQM memory map contains some data which is formatted as a long integer type, or 32 bits. Because the
Modbus Protocol maximum register size is 16 bits, the PQM stores long integers in 2 consecutive register loca-
tions, 2 high order bytes, and 2 low order bytes. The data can be retrieved by the following logic:
EXAMPLE:
1.
Reading a positive 3 Phase Real Power actual value from the PQM:
2.
Following the method described above:
DATA VALUE = (004F
×
2
16
) + 35D1
hexadecimal
= 5 13777
converted to decimal
= 5191121
decimal
The most significant bit of the High Order register is not set, therefore the DATA VALUE is as calculated. Apply-
ing the Units & Scale parameters to the DATA VALUE, we multiply the DATA VALUE by 0.01 kW. Therefore the
resultant value of 3 Phase Real Power as read from the memory map is 51911.21 kW.
REGISTER
ACTUAL VALUE (hex)
DESCRIPTION
UNITS & SCALE
FORMAT
02F0
004F
3 Phase Real Power (high)
0.01 x kW
F4
02F1
35D1
3 Phase Real Power (low)
0.01 x kW
F4
READ THE HIGH ORDER REGISTER AND
STORE THIS VALUE INTO “A”
READ THE LOW ORDER REGISTER AND
STORE THIS VALUE INTO “B”
IS THE MOST SIGNIFICANT BIT OF THE HIGH
ORDER REGISTER SET?
i.e. is HIGH ORDER REGISTER > 32767?
YES
DATA VALUE = (A x 2 ) + B
16
NO
(DATA VALUE = DATA VALUE – 2
32
)
OR
APPLY 2’s COMPLEMENT TO DATA VALUE;
THE SIGN IS IMPLIED TO BE NEGATIVE
DATA VALUE = DATA VALUE
Содержание Power Quality Meter Series
Страница 2: ......
Страница 4: ......
Страница 10: ...vi PQM Power Quality Meter GE Power Management TABLE OF CONTENTS ...
Страница 29: ...GE Power Management PQM Power Quality Meter 2 5 2 INSTALLATION 2 2 ELECTRICAL 2 Figure 2 3 REAR TERMINALS ...
Страница 46: ...2 22 PQM Power Quality Meter GE Power Management 2 2 ELECTRICAL 2 INSTALLATION 2 ...
Страница 56: ...3 10 PQM Power Quality Meter GE Power Management 3 4 DEFAULT MESSAGES 3 OPERATION 3 ...
Страница 166: ...6 20 PQM Power Quality Meter GE Power Management 6 6 POWER ANALYSIS 6 SOFTWARE 6 ...
Страница 274: ...B 4 PQM Power Quality Meter GE Power Management B 1 TABLES AND FIGURES APPENDIXB B ...
Страница 276: ...C 2 PQM Power Quality Meter GE Power Management C 1 PQM WARRANTY APPENDIXC C ...
Страница 281: ...GE Power Management PQM Power Quality Meter NOTES ...