7-10
PQM Power Quality Meter
GE Power Management
7.2 MODBUS FUNCTIONS
7 MODBUS COMMUNICATIONS
7
7.2.8 FUNCTION CODE 16 – STORE MULTIPLE SETPOINTS
Modbus Implementation: Preset Multiple Registers
PQM Implementation: Store Multiple Setpoints
This function code allows multiple Setpoints to be stored into the PQM memory. Modbus "registers" are 16 bit
(two byte) values transmitted high order byte first. Thus all PQM setpoints are sent as two bytes. The maxi-
mum number of Setpoints that can be stored in one transmission is dependent on the slave device. Modbus
allows up to a maximum of 60 holding registers to be stored. The PQM allows 60 registers to be stored in one
transmission. The PQM response to this function code is to echo the slave address, function code, starting
address, the number of Setpoints stored, and the CRC.
MESSAGE FORMAT AND EXAMPLE:
Request slave 11 to store the value 01F4 to Setpoint address 1028 and the value 2710 to setpoint address
1029. After the transmission in this example is complete, PQM slave 11 will have the following Setpoints infor-
mation stored:
Address
Data
1028
01F4
1029
2710
Table 7–7: MASTER/SLAVE PACKET FORMAT FOR FUNCTION CODE 10H
MASTER TRANSMISSION
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message for slave 17
FUNCTION CODE
1
10
store setpoints
DATA STARTING ADDRESS
2
10 28
setpoint address 1028
NUMBER OF SETPOINTS
2
00 02
2 setpoints = 4 bytes total
BYTE COUNT
1
04
4 bytes of data
DATA 1
2
01 F4
data for setpoint address 1028
DATA 2
2
27 10
data for setpoint address 1029
CRC
2
33 23
CRC error code
SLAVE RESPONSE
BYTES
EXAMPLE
DESCRIPTION
SLAVE ADDRESS
1
11
message from slave 17
FUNCTION CODE
1
10
store setpoints
DATA STARTING ADDRESS
2
10 28
setpoint address 1028
NUMBER OF SETPOINTS
2
00 02
2 setpoints
CRC
2
C7 90
CRC error code
Summary of Contents for Power Quality Meter Series
Page 2: ......
Page 4: ......
Page 10: ...vi PQM Power Quality Meter GE Power Management TABLE OF CONTENTS ...
Page 46: ...2 22 PQM Power Quality Meter GE Power Management 2 2 ELECTRICAL 2 INSTALLATION 2 ...
Page 56: ...3 10 PQM Power Quality Meter GE Power Management 3 4 DEFAULT MESSAGES 3 OPERATION 3 ...
Page 166: ...6 20 PQM Power Quality Meter GE Power Management 6 6 POWER ANALYSIS 6 SOFTWARE 6 ...
Page 274: ...B 4 PQM Power Quality Meter GE Power Management B 1 TABLES AND FIGURES APPENDIXB B ...
Page 276: ...C 2 PQM Power Quality Meter GE Power Management C 1 PQM WARRANTY APPENDIXC C ...
Page 281: ...GE Power Management PQM Power Quality Meter NOTES ...