GE EPM 9650, EPM 9800 User Manual

EPM 9650/9800
Meters
Modbus Protocol & Register Map
for EPM 9650/9800 Meters
July 24, 2006
Doc # GEK-113017
g
GE Multilin
NORTH AMERICA
215 Anderson Avenue, Markham, Ontario L6E 1B3 Canada Internet: http: www.Geindustrial.com/multilin
EPM 9650/9800 Meters
i
Modbus Protocol & Register Map
Published by: GE Multilin 215 Anderson A venue Markham, Ontario L6E 1B3 Canada
All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or information storage or retrieval systems or any future forms of duplication, for any purpose other than the purchaser’s use, without the expressed written permission of GE Multilin.
NOTE: For other meters, refer to the Modbus Protocol Map for the meter in use.
© 2006 GE Multilin
ii
Customer Service and Support
Customer service and support is available 24 hours a day, 7 days a week. Please have the model, serial number and a detailed problem description available. If the problem concerns a particular reading, please have all meter readings available. For customer or technical assistance, call:1-888-GE4SERVICE (1-888-434-7378)..
Product Warranty
GE warrants all products to be free from defects in material, workmanship and title and will be of the kind and quality specified in GE’s written description in the manual. The foregoing shall apply only to failures to meet said warranties which appear within one year from the date of shipping. During the war­ranty period, GE will, at its option, either repair or replace any product that proves to be defective.
Limitation of Warranty
This warranty does not apply to defects resulting from unauthorized modification, misuse or use for any reason other than electrical power monitoring. Our products are not to be used for primary over-current protection. Any protection feature in our products is to be used for alarm or secondary protection only. THIS WARRANTYIS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING ANYIMPLIED WARRANTY OF MERCHANABILITY OR FITNESS FOR A PARTIC­ULAR PURPOSE. GE SHALL NOT BE LIABLE FOR ANY PENAL, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM ANY AUTHORIZED OR UNAUTHORIZED USE OF ANY GE PRODUCT. LIABILITY SHALL BE LIMITED TO THE ORIGINAL COST OF THE PRODUCT SOLD.
Statement of Calibration
Our instruments are inspected and tested in accordance with specifications published by an independent testing facility. The accuracy and a calibration of our instruments are traceable to the National Institute of Standards and Technology through equipment that is calibrated at planned intervals by comparison to certified standards.
Disclaimer
The information presented in this publication has been carefully checked for reliability; however, no responsibility is assumed for inaccuracies. The information contained in this document is subject to change without notice.
iii

Table of Contents

Chapter 1: Modbus Protocol Overview
1.1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2: Communication Packets . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
1.3: Slave Address and Broadcast Request . . . . . . . . . . . . . . . . . . . .1-1
1.4: Function Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.4.1: Function Code 03—Read Holding Registers . . . . . . . . . . . . . . .1-2
1.4.2: Function Code 06—Preset Single Register . . . . . . . . . . . . . . .1-3
1.4.3: Function Code 10—Preset Multiple Registers . . . . . . . . . . . . . . 1-3
1.4.4: Data Starting Address . . . . . . . . . . . . . . . . . . . . . . . .1-3
1.5: CRC (Error Checksum) Algorithm . . . . . . . . . . . . . . . . . . . . .1-4
1.6: Dead Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
1.7: Exception Response (Error Codes) . . . . . . . . . . . . . . . . . . . . . 1-5
1.8: Modbus Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
1.8.1: Function Code 23H - Read Holding Registers Multiple Times . . . . . . . 1-7
1.8.2: Function Code 42H - Encapsulated DNP for LAN/WAN . . . . . . . . .1-8
Chapter 2: EPM Modbus Register Map
Device Identification Block . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Real Time Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
1 Cycle Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Tenth Second Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
One Second Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Thermal Average Block . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3
Maximum Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-4
Minimum Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-6
Maximum Time Stamp Block . . . . . . . . . . . . . . . . . . . . . . . . . .2-8
Minimum Time Stamp Block . . . . . . . . . . . . . . . . . . . . . . . . .2-10
Energy Block (Secondary) . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Harmonic Magnitude Block . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Harmonic Phase Block . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-36
THD/K-Factor Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-59
Harmonic Time Stamp Block . . . . . . . . . . . . . . . . . . . . . . . . . 2-59
Phase Angle Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-60
Block Window Average Block . . . . . . . . . . . . . . . . . . . . . . . . .2-60
Rolling Window/Predictive Rolling Window Block . . . . . . . . . . . . . . . . 2-61
Limit Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-62
Digital Input Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-62
Primary Accumulation Block . . . . . . . . . . . . . . . . . . . . . . . . .2-63
Time of Use Period Time Stamp Block . . . . . . . . . . . . . . . . . . . . .2-64
Time of Use Frozen Register 1 Block . . . . . . . . . . . . . . . . . . . . . . 2-65
Time of Use Frozen Register 2 Block . . . . . . . . . . . . . . . . . . . . . . 2-66
Time of Use Frozen Register 3 Block . . . . . . . . . . . . . . . . . . . . . . 2-66
Time of Use Frozen Register 4 Block . . . . . . . . . . . . . . . . . . . . . . 2-67
iv
Time of Use Frozen Register 5 Block . . . . . . . . . . . . . . . . . . . . . . 2-68
Time of Use Frozen Register 6 Block . . . . . . . . . . . . . . . . . . . . . . 2-68
Time of Use Frozen Register 7 Block . . . . . . . . . . . . . . . . . . . . . . 2-69
Time of Use Frozen Register 8 Block . . . . . . . . . . . . . . . . . . . . . . 2-69
Time of Use Frozen Total Block . . . . . . . . . . . . . . . . . . . . . . . .2-70
Time of Use Prior Month Register 1 Block . . . . . . . . . . . . . . . . . . .2-71
Time of Use Prior Month Register 2 Block . . . . . . . . . . . . . . . . . . .2-71
Time of Use Prior Month Register 3 Block . . . . . . . . . . . . . . . . . . .2-72
Time of Use Prior Month Register 4 Block . . . . . . . . . . . . . . . . . . .2-73
Time of Use Prior Month Register 5 Block . . . . . . . . . . . . . . . . . . .2-73
Time of Use Prior Month Register 6 Block . . . . . . . . . . . . . . . . . . .2-74
Time of Use Prior Month Register 7 Block . . . . . . . . . . . . . . . . . . .2-75
Time of Use Prior Month Register 8 Block . . . . . . . . . . . . . . . . . . .2-75
Time of Use Prior Month Total Block . . . . . . . . . . . . . . . . . . . . . . 2-76
Time of Use Active Register 1 Block . . . . . . . . . . . . . . . . . . . . . . 2-76
Time of Use Active Register 2 Block . . . . . . . . . . . . . . . . . . . . . . 2-77
Time of Use Active Register 3 Block . . . . . . . . . . . . . . . . . . . . . . 2-78
Time of Use Active Register 4 Block . . . . . . . . . . . . . . . . . . . . . . 2-78
Time of Use Active Register 5 Block . . . . . . . . . . . . . . . . . . . . . . 2-79
Time of Use Active Register 6 Block . . . . . . . . . . . . . . . . . . . . . . 2-80
Time of Use Active Register 7 Block . . . . . . . . . . . . . . . . . . . . . . 2-80
Time of Use Active Register 8 Block . . . . . . . . . . . . . . . . . . . . . . 2-81
Time of Use Active Total Block . . . . . . . . . . . . . . . . . . . . . . . . 2-82
Time of Use Current Month Register 1 Block . . . . . . . . . . . . . . . . . .2-82
Time of Use Current Month Register 2 Block . . . . . . . . . . . . . . . . . .2-83
Time of Use Current Month Register 3 Block . . . . . . . . . . . . . . . . . .2-83
Time of Use Current Month Register 4 Block . . . . . . . . . . . . . . . . . .2-84
Time of Use Current Month Register 5 Block . . . . . . . . . . . . . . . . . .2-85
Time of Use Current Month Register 6 Block . . . . . . . . . . . . . . . . . .2-85
Time of Use Current Month Register 7 Block . . . . . . . . . . . . . . . . . .2-86
Time of Use Current Month Register 8 Block . . . . . . . . . . . . . . . . . .2-87
Time of Use Current Month Total Block . . . . . . . . . . . . . . . . . . . . 2-87
Time of Use Frozen Label Block . . . . . . . . . . . . . . . . . . . . . . . . 2-88
Time of Use Prior Month Label Block . . . . . . . . . . . . . . . . . . . . . 2-88
Time of Use Active Label Block . . . . . . . . . . . . . . . . . . . . . . . .2-88
Time of Use Current Month Label Block . . . . . . . . . . . . . . . . . . . . 2-89
Internal Input Pulse Accumulation Block . . . . . . . . . . . . . . . . . . . .2-89
Pulse Accumulation Block Window Average/Max Block Window Average . . . . . . 2-89
Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-91
Analog Input Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-91
Limit Combination Block . . . . . . . . . . . . . . . . . . . . . . . . . . .2-92
Relay Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-92
Reset Time Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-93
Miscellaneous Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-93
Test Mode Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-93
KYZ Output Accumulation Block . . . . . . . . . . . . . . . . . . . . . . . 2-93
Input Module Data Status Block . . . . . . . . . . . . . . . . . . . . . . . . 2-94
Flicker Status Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-94
Instantaneous Flicker Block . . . . . . . . . . . . . . . . . . . . . . . . . . 2-94
Short Term Flicker Block . . . . . . . . . . . . . . . . . . . . . . . . . . .2-94
Long Term Flicker Block . . . . . . . . . . . . . . . . . . . . . . . . . . .2-95
Additional Energy Block . . . . . . . . . . . . . . . . . . . . . . . . . . .2-95
Energy and Pulses in the Interval . . . . . . . . . . . . . . . . . . . . . . . 2-96
Flicker Countdown Block . . . . . . . . . . . . . . . . . . . . . . . . . . 2-98
Cumulative Demand Block . . . . . . . . . . . . . . . . . . . . . . . . . . 2-98
Time of Use Active Cumulative Demand . . . . . . . . . . . . . . . . . . . .2-98
Time of Use Current Month Cumulative Demand . . . . . . . . . . . . . . . .2-99
Time of Use Active Continuous Cumulative Demand . . . . . . . . . . . . . . 2-100
Time of Use Current Month Continuous Cumulative Demand . . . . . . . . . . 2-100
Log Index Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-101
Uncompensated and Q Block . . . . . . . . . . . . . . . . . . . . . . . . 2-101
Scaled Energy Block . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-102
Total Average Power Factor Block . . . . . . . . . . . . . . . . . . . . . . 2-105
Reset Active TOU Time Stamp Block . . . . . . . . . . . . . . . . . . . . . 2-106
Negative Maximum Pulse Aggregation Average Block . . . . . . . . . . . . . . 2-106
Scratchpad Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-106
Master Device Data Blocks . . . . . . . . . . . . . . . . . . . . . . . . . 2-106
Customized Modbus Block . . . . . . . . . . . . . . . . . . . . . . . . . 2-106
Enhanced Factory Settings Block . . . . . . . . . . . . . . . . . . . . . . . 2-106
Enhanced Programmable Settings Block . . . . . . . . . . . . . . . . . . . . 2-106
TOU Calendar Header Block . . . . . . . . . . . . . . . . . . . . . . . . . 2-106
TOU Calendar Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-108
Time of Use Calendar Window 1 . . . . . . . . . . . . . . . . . . . . . 2-108
Time of Use Calendar Window 2 . . . . . . . . . . . . . . . . . . . . .2-111
Time of Use Calendar Window 3 . . . . . . . . . . . . . . . . . . . . . 2-115
Time of Use Calendar Window 4 . . . . . . . . . . . . . . . . . . . . . 2-119
Time of Use Calendar Window 5 . . . . . . . . . . . . . . . . . . . . . 2-123
Time of Use Calendar Window 6 . . . . . . . . . . . . . . . . . . . . . 2-126
Time of Use Calendar Window 7 . . . . . . . . . . . . . . . . . . . . . 2-126
Time of Use Upload Calendar Block . . . . . . . . . . . . . . . . . . . . .2-127
Historical Log 1 Snapshot Header . . . . . . . . . . . . . . . . . . . . . .2-127
Historical Log 2 Snapshot Header . . . . . . . . . . . . . . . . . . . . . .2-127
Limit Trigger Log Header . . . . . . . . . . . . . . . . . . . . . . . . . .2-128
Limit Snapshot Log Header . . . . . . . . . . . . . . . . . . . . . . . . . 2-128
Digital Input Log Header . . . . . . . . . . . . . . . . . . . . . . . . . .2-128
Digital Input Snapshot Log Header . . . . . . . . . . . . . . . . . . . . . . 2-128
Digital Output Log Header . . . . . . . . . . . . . . . . . . . . . . . . . 2-129
Digital Output Snapshot Log Header . . . . . . . . . . . . . . . . . . . . . 2-129
Flicker Log Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-129
Waveform Trigger Log Header . . . . . . . . . . . . . . . . . . . . . . . .2-129
System Event Log Header . . . . . . . . . . . . . . . . . . . . . . . . . .2-130
Waveform Samples Log Header . . . . . . . . . . . . . . . . . . . . . . .2-130
PQ (CBEMA) Log Header . . . . . . . . . . . . . . . . . . . . . . . . . .2-130
Reset Log Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-131
External Device Info Block Header . . . . . . . . . . . . . . . . . . . . . . 2-131
External Device Programming Block Header . . . . . . . . . . . . . . . . . .2-131
Device History Block Header . . . . . . . . . . . . . . . . . . . . . . . . 2-131
Direct Memory Access Header . . . . . . . . . . . . . . . . . . . . . . . . 2-132
v
Window Index Block . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-132
Window Mode Block . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-132
Window Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-133
Auto Increment Window Block . . . . . . . . . . . . . . . . . . . . . . . . 2-134
Alarm Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-134
Port Control Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-134
Energy Preset Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-135
Programmable Settings Block . . . . . . . . . . . . . . . . . . . . . . . . 2-135
Communications Settings Block . . . . . . . . . . . . . . . . . . . . . 2-135
Limit Settings Block . . . . . . . . . . . . . . . . . . . . . . . . . .2-135
Historical Log Settings Block . . . . . . . . . . . . . . . . . . . . . . 2-139
Waveform/CBEMA Settings Block . . . . . . . . . . . . . . . . . . . . 2-147
Highspeed Input Settings Block . . . . . . . . . . . . . . . . . . . . . 2-148
External Digital Input Module Settings Block . . . . . . . . . . . . . . . 2-150
External Digital Output Module Settings Block . . . . . . . . . . . . . . 2-150
External Analog Input Module Settings Block . . . . . . . . . . . . . . .2-152
External Analog Output Module Settings Block . . . . . . . . . . . . . . 2-152
External KYZ Output Module Settings Block . . . . . . . . . . . . . . . 2-154
CT & PT Ratio Settings Block . . . . . . . . . . . . . . . . . . . . . . 2-155
Hookup and Time Settings Block . . . . . . . . . . . . . . . . . . . .2-155
Average Settings Block . . . . . . . . . . . . . . . . . . . . . . . . . 2-155
Exception Profile Block . . . . . . . . . . . . . . . . . . . . . . . .2-156
Device Label Settings Block . . . . . . . . . . . . . . . . . . . . . . .2-156
Network Settings Block . . . . . . . . . . . . . . . . . . . . . . . . .2-156
Block Window Average External Sync Block . . . . . . . . . . . . . . . 2-156
Display Configuration Block . . . . . . . . . . . . . . . . . . . . . .2-156
Energy Direction Block . . . . . . . . . . . . . . . . . . . . . . . . . 2-156
Test Mode Configuration Block . . . . . . . . . . . . . . . . . . . . . 2-157
Full Scale Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-157
External Module Software Interface Block . . . . . . . . . . . . . . . . 2-157
External Module Port Assignment Block . . . . . . . . . . . . . . . . . 2-158
Manual Control Relay Block . . . . . . . . . . . . . . . . . . . . . . 2-158
Internal Pulse Accumulations Scale Factor Block . . . . . . . . . . . . . . 2-158
I
2
t and V2t Threshold Block . . . . . . . . . . . . . . . . . . . . . . . 2-159
Internal KYZ Settings Block (EPM 9800) . . . . . . . . . . . . . . . . .2-159
Internal Input Pulse Accumulations Unit Label Block . . . . . . . . . . . . 2-160
ElectroLogic Block . . . . . . . . . . . . . . . . . . . . . . . . . .2-160
Limit Profile Label Block . . . . . . . . . . . . . . . . . . . . . . . .2-167
External Analog Output Module Channel Update Block . . . . . . . . . . .2-168
DNP Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-168
Miscellaneous DNP Settings Block . . . . . . . . . . . . . . . . . . . . 2-168
Custom DNP Definition Block for Analog Input (Object 30) . . . . . . . . .2-168
Custom DNP Definition Block for Binary Counter (Object 20) . . . . . . . . 2-168
Custom DNP Definition Block for Binary Input (Object 1) . . . . . . . . . 2-169
Custom DNP Definition Block for Binary Output (Object 10) . . . . . . . . 2-169
Custom DNP Definition Block for Global Values . . . . . . . . . . . . . . 2-169
Analog Input Scaling Factors Block . . . . . . . . . . . . . . . . . . . . . . 2-169
Analog Input Labels Block . . . . . . . . . . . . . . . . . . . . . . . . . 2-171
vi
External Digital Input Module Labels Block . . . . . . . . . . . . . . . . . . 2-172
External Digital Output Module Labels Block . . . . . . . . . . . . . . . . . 2-175
Internal Modem Card Settings Block . . . . . . . . . . . . . . . . . . . . . 2-177
Customizable Modbus Map Settings Block . . . . . . . . . . . . . . . . . . . 2-177
Network Settings 10/100 Card . . . . . . . . . . . . . . . . . . . . . . . . 2-177
Auto TFTP Download Settings . . . . . . . . . . . . . . . . . . . . .2-177
Email Client Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 2-178
FTP Client Settings . . . . . . . . . . . . . . . . . . . . . . . . . .2-178
GE EGD Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-178
DNP LAN/WAN . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-178
Customizable Modbus Map Format Block . . . . . . . . . . . . . . . . . . .2-179
Energy Scale Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-179
Update Settings Block . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-180
12-bit RTU Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-180
Action Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-181
Factory Calibration Block . . . . . . . . . . . . . . . . . . . . . . . . . . 2-183
CTPT Compensation Calibration Block . . . . . . . . . . . . . . . . . . . .2-184
Calibration Modification Block . . . . . . . . . . . . . . . . . . . . . . . . 2-184
Operational Communication Settings Block . . . . . . . . . . . . . . . . . . 2-185
Diagnostic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-186
Device Identification Block 2 . . . . . . . . . . . . . . . . . . . . . . . . 2-186
DSP Diagnostic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-187
Password Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-187
Dynamic Configuration Block . . . . . . . . . . . . . . . . . . . . . . . . 2-187
Hardware Options Block . . . . . . . . . . . . . . . . . . . . . . . . . . 2-187
Flash Control Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-187
Enhansed Serial Number . . . . . . . . . . . . . . . . . . . . . . . . . . 2-188
Serial Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-188
Chapter 3: Communication Data Formats
3.1: Type F1 Null Terminated ASCII String . . . . . . . . . . . . . . . . . . . 3-1
3.2: Type F2 Fixed Length ASCII String . . . . . . . . . . . . . . . . . . . .3-1
3.3: Type F3 Time Stamp . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
3.4: Type F4 Day of Week . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.5: Type F5 Secondary 1 Cycle RMS Voltage or Current . . . . . . . . . . . . . 3-3
3.6: Type F6 High Speed Input Delta and Current State . . . . . . . . . . . . . .3-5
3.7: Type F7 Secondary Voltage, Current, VA, VAR, Wattage or Frequency . . . . . 3-6
3.8: Type F8 Power Factor . . . . . . . . . . . . . . . . . . . . . . . . . .3-7
3.9: Type F9 Angle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3.10: Type F10 Percentage . . . . . . . . . . . . . . . . . . . . . . . . . .3-9
3.11: Type F11 Energy Counter (Packed BCD / Secondary) . . . . . . . . . . . . 3-10
3.12: Type F12 Energy Counter (Binary / Secondary) . . . . . . . . . . . . . . 3-10
3.13: Type F13 Phase Sequence . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3.14: Type F14 Average Status . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3.15: Type F15 Limit States . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
3.16: Type F16 Low Speed Input States . . . . . . . . . . . . . . . . . . . . 3-13
3.17: Type F17 External Digital Input States . . . . . . . . . . . . . . . . . . 3-14
3.18: Type F18 External Input Accumulations . . . . . . . . . . . . . . . . . 3-15
3.19: Type F19 Energy Counter (Packed BCD / Primary) . . . . . . . . . . . . . 3-15
vii
3.20: Type F20 Energy Counter (Binary / Primary) . . . . . . . . . . . . . . .3-16
3.21: Type F21 Year . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-17
3.22: Type F22 TOU Profile per Day . . . . . . . . . . . . . . . . . . . . . 3-17
3.23: Type F23 TOU Profile Status . . . . . . . . . . . . . . . . . . . . . . 3-18
3.24: Type F24 TOU Daily Profile Register Assignment . . . . . . . . . . . . .3-19
3.25: Type F25 TOU Profile Monthly End Day . . . . . . . . . . . . . . . . . 3-20
3.26: Type F26 TOU Calendar DST Enable / Average Selection . . . . . . . . . . 3-20
3.27: Type F27 TOU Upload Calendar Window Sequence / Status . . . . . . . . . 3-21
3.28: Type F28 TOU Upload Calendar Window ID . . . . . . . . . . . . . . .3-22
3.29: Type F29 TOU Upload Calendar Window Data . . . . . . . . . . . . . . 3-22
3.30: Type F30 TOU Upload Calendar Window Checksum . . . . . . . . . . . .3-23
3.31: Type F31 TOU Calendar Selection . . . . . . . . . . . . . . . . . . . . 3-23
3.32: Type F32 TOU Calendar Header Status / Year Status . . . . . . . . . . . . 3-23
3.33: Type F33 Temperature . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
3.34: Type F34 Limit and Relay Logic States . . . . . . . . . . . . . . . . . . 3-25
3.35: Type F35 Relay Delays . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
3.36: Type F36 Desired Relay States . . . . . . . . . . . . . . . . . . . . . .3-26
3.37: Type F37 Relays Pending Update . . . . . . . . . . . . . . . . . . . .3-26
3.38: Type F38 Shadowed Relay States . . . . . . . . . . . . . . . . . . . .3-27
3.39: Type F39 Confirmed Polled Relay States . . . . . . . . . . . . . . . . . 3-28
3.40: Type F40 Valid Flags for Confirmed Relay States . . . . . . . . . . . . .3-28
3.41: Type F41 Locked Relays, Relays 1-16 . . . . . . . . . . . . . . . . . .3-29
3.42: Type F42 Locked Relay States . . . . . . . . . . . . . . . . . . . . . . 3-30
3.43: Type F43 Miscellaneous Flags . . . . . . . . . . . . . . . . . . . . . . 3-31
3.44: Type F44 Digital Input Module Data Status . . . . . . . . . . . . . . . . 3-32
3.45: Type F45 Analog Input Module Data Status . . . . . . . . . . . . . . . . 3-33
3.46: Type F46 High Byte of Modbus Register (Signed) . . . . . . . . . . . . . 3-34
3.47: Type F47 High Byte of Modbus Register (Unsigned) . . . . . . . . . . . .3-34
3.48: Type F48 Low Byte of Modbus Register (Signed) . . . . . . . . . . . . . 3-34
3.49: Type F49 Low Byte of Modbus Register (Unsigned) . . . . . . . . . . . . 3-34
3.50: Type F50 Two-Byte (Signed) . . . . . . . . . . . . . . . . . . . . . . 3-35
3.51: Type F51 Two-Byte (Unsigned) . . . . . . . . . . . . . . . . . . . . . 3-35
3.52: Type F52 Four-Byte (Signed) . . . . . . . . . . . . . . . . . . . . . . 3-35
3.53: Type F53 Four-Byte (Unsigned) . . . . . . . . . . . . . . . . . . . . .3-35
3.54: Type F54 Eight-Byte (Signed) . . . . . . . . . . . . . . . . . . . . . .3-36
3.55: Type F55 Eight-Byte (Unsigned) . . . . . . . . . . . . . . . . . . . . . 3-36
3.56: Type F56 Flicker Countdowns . . . . . . . . . . . . . . . . . . . . . . 3-37
3.57: Type F57 Accumulation in the Interval . . . . . . . . . . . . . . . . . . 3-37
3.58: Type F58 12-bit RTU Sanity Register . . . . . . . . . . . . . . . . . . . 3-37
3.59: Type F59 12-bit RTU Current, Voltage, W, VAR . . . . . . . . . . . . . . 3-38
3.60: Type F60 Energy Counter . . . . . . . . . . . . . . . . . . . . . . . . 3-39
3.61: Type F61 12-bit RTU Frequency . . . . . . . . . . . . . . . . . . . . .3-39
3.62: Type F62 Scaled Pulse Accumulation, Aggregation or Average . . . . . . . .3-40
3.63: Type F63 Log Index . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
3.64: Type F64 Scaled Energy . . . . . . . . . . . . . . . . . . . . . . . . 3-41
3.65: Type F65 Scaled Energy Setting . . . . . . . . . . . . . . . . . . . . .3-42
3.66: Type F66 TOU Upload Calendar Window Locked to Port . . . . . . . . . .3-43
viii
Chapter 4: Modbus Register Map Notes
4.1: Modbus Register Map Notes . . . . . . . . . . . . . . . . . . . . . . .4-1
Chapter 5: Logs, Port Control and Updating Programmable Settings
5.1: Downloading Logs—Overview . . . . . . . . . . . . . . . . . . . . . . 5-1
5.1.1: Steps for Downloading a Log . . . . . . . . . . . . . . . . . . . . . 5-3
5.1.2: Downloading Time Stamps with Example . . . . . . . . . . . . . . . 5-4
5.1.3: Downloading Records with Example . . . . . . . . . . . . . . . . . 5-6
5.1.4: Downloading Logs with Auto Index and Modbus Extensions . . . . . . .5-8
5.2: Port Locking—Overview . . . . . . . . . . . . . . . . . . . . . . . .5-10
5.2.1: Sequence for Port Locking . . . . . . . . . . . . . . . . . . . . .5-11
5.2.2: Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
5.2.3: Reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-11
5.2.4: Port Unlocking Sequence . . . . . . . . . . . . . . . . . . . . . . 5-11
5.3: Updating Programmable Settings . . . . . . . . . . . . . . . . . . . . 5-12
5.3.1: Sequence for Updating Programmable Settings . . . . . . . . . . . . 5-12
5.4: Modifications to Time of Use . . . . . . . . . . . . . . . . . . . . . . 5-13
5.5: Calibration Interface (Manual Adjustment, Direct Adjustment Interfaces) . . . 5-15
Chapter 6: EPM Log Formats
6.1: Log Formats Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2: Historical Log 1 Format . . . . . . . . . . . . . . . . . . . . . . . . . .6-2
6.3: Historical Log 2 Format . . . . . . . . . . . . . . . . . . . . . . . . . .6-3
6.4: Limit Trigger Log Format . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
6.5: Limit Snapshot Log Format . . . . . . . . . . . . . . . . . . . . . . . . 6-6
6.6: Waveform Trigger Log Format . . . . . . . . . . . . . . . . . . . . . . . 6-8
6.7: Waveform Samples Log Format . . . . . . . . . . . . . . . . . . . . . . 6-13
6.8: PQ (CBEMA) Log Format . . . . . . . . . . . . . . . . . . . . . . . . 6-21
6.9: Digital Input Log Format . . . . . . . . . . . . . . . . . . . . . . . . .6-24
6.10: Digital Input Snapshot Log Format . . . . . . . . . . . . . . . . . . . . 6-26
6.11: Digital Output Log Format . . . . . . . . . . . . . . . . . . . . . . . .6-28
6.12: Digital Output Snapshot Log Format . . . . . . . . . . . . . . . . . . .6-32
6.13: Flicker Log Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-34
6.14: System Event Log Format . . . . . . . . . . . . . . . . . . . . . . . . 6-34
Chapter 7: EPM Programmable Settings Blocks
7.1: Communication Settings Block (45057-45074) . . . . . . . . . . . . . . . . 7-1
7.2: Limit Settings Block (45077-45204) . . . . . . . . . . . . . . . . . . . . .7-1
7.3: Historical Log Settings Block (45205-45464) . . . . . . . . . . . . . . . . . 7-3
7.4: Waveform/CBEMA Settings Block (45465-45500) . . . . . . . . . . . . . .7-4
7.5: High Speed Inputs Settings Block (45501-45723) . . . . . . . . . . . . . . . 7-5
7.6: External Digital Input Module Settings Block (45725-45728) . . . . . . . . . .7-5
7.7: External Digital Output Module Settings Block (45729-45808) . . . . . . . . . 7-5
7.8: External Analog Input Module Settings Block (45809-45812) . . . . . . . . . . 7-6
7.9: External Analog Output Module Settings Block (45813-45892) . . . . . . . . . 7-6
7.10: External KYZ Output Module Settings Block (45893-45907) . . . . . . . . .7-6
7.11: CT and PT Ratio Settings Block (45909-45924) . . . . . . . . . . . . . . . 7-7
7.12: Hookup and Time Settings Block (45925-45944) . . . . . . . . . . . . . . . 7-7
7.13: Average Settings Block (45949-45952) . . . . . . . . . . . . . . . . . . . 7-8
ix
7.14: Exception Profile Block (45953-45968) . . . . . . . . . . . . . . . . . . .7-8
7.15: Device Label Settings Block (45969-45992) . . . . . . . . . . . . . . . . . 7-9
7.16: Network Settings Block (45993-46016) . . . . . . . . . . . . . . . . . . . 7-9
7.17: Block Window Average External Synchronization Block (46017) . . . . . . .7-11
7.18: Display Configuration Block (46018) . . . . . . . . . . . . . . . . . . . 7-11
7.19: Energy Direction Block (46019) . . . . . . . . . . . . . . . . . . . . . 7-11
7.20: Test Mode Configuration Block (46020) . . . . . . . . . . . . . . . . . . 7-12
7.21: Full Scale Block (46021-46036) . . . . . . . . . . . . . . . . . . . . . 7-12
7.22: External Module Software Interface Block (46053-46196) . . . . . . . . . .7-12
7.23: External Module Port Assignment Block (46197-46206) . . . . . . . . . . . 7-13
7.24: Manual Control Relay Block (46207-46208) . . . . . . . . . . . . . . . .7-13
7.25: Internal Input Pulse Accumulation Scale Factor Block (46209-46325) . . . . .7-14
7.26: I
2
t and V2t Threshold Block (46326-46329) . . . . . . . . . . . . . . . . .7-14
7.27: Internal KYZ Settings Block (46330-46372) . . . . . . . . . . . . . . . . 7-14
7.28: Internal Input Pulse Accumulation Unit Label Block (46373-46420) . . . . . .7-16
7.29: ElectroLogic Block (46421-46804) . . . . . . . . . . . . . . . . . . . . 7-17
7.30: Limit Profile Label Block (46805-47060) . . . . . . . . . . . . . . . . . 7-18
7.31: External Analog Output Module Channel Update Block (47061-47062) . . . . 7-18
7.32: Miscellaneous DNP Settings Block (47063-47104) . . . . . . . . . . . . .7-19
7.33: Custom DNP Definition Block for Analog Input (Object 30) (47105-47360) . . 7-21
7.34: Custom DNP Definition Block for Binary Counter (Object 20) (47361-47424) . 7-21
7.35: Custom DNP Definition Block for Binary Input (Object 1) (47425-47456) . . . 7-23
7.36: Custom DNP Definition Block for Binary Output (Object 10) (47457-47458) . . 7-23
7.37: Custom DNP Definition Block for Global Values (47459-47463) . . . . . . . 7-24
7.38: Analog Input Scaling Factors Block (48641-48768) . . . . . . . . . . . . .7-24
7.39: Analog Input Labels Block (48769-49024) . . . . . . . . . . . . . . . . .7-24
7.40: External Digital Input Module Labels Block (49025-49792) . . . . . . . . . 7-24
7.41: External Digital Output Module Labels Block (49793-450176) . . . . . . . . 7-24
7.42: Internal Modem Card Settings Block (50177-50268) . . . . . . . . . . . . 7-25
7.43: Customizable Modbus Map Settings Block (50273-50784) . . . . . . . . . .7-28
7.44: Auto TFTP Download Settings Block (Network 10/100 Card) (50785-50860) . . 7-29
7.45: Email Client Settings (Network 10/100 Card) (50861-51020) . . . . . . . . .7-29
7.46: FTP Client (Network 10/100 Card) (51021-51148) . . . . . . . . . . . . .7-30
7.47: GE EGD Protocol (Network 10/100 Card) (51149-51154) . . . . . . . . . . 7-30
7.48: DNP LAN/WAN (51157-51195) . . . . . . . . . . . . . . . . . . . . .7-30
7.49: Customizable Modbus Map Format Block (51201-51712) . . . . . . . . . .7-32
7.50: Energy Scale Settings (51713-51738) . . . . . . . . . . . . . . . . . . .7-32
7.51: Update Settings Block (52975-53248) . . . . . . . . . . . . . . . . . . . 7-33
Chapter 8: Register Block Titles (with Descriptions)
8.1: Device Identification Block (00001-00080) . . . . . . . . . . . . . . . . . .8-1
8.2: Real Time Block (00081-00089) . . . . . . . . . . . . . . . . . . . . . . 8-1
8.3: 1 Cycle Block (00090-00118) . . . . . . . . . . . . . . . . . . . . . . .8-2
8.4: Tenth Second Block (00119-00175) . . . . . . . . . . . . . . . . . . . . . 8-2
8.5: One Second Block (00176-00235) . . . . . . . . . . . . . . . . . . . . . 8-2
8.6: Thermal Average Block (00236-00295) . . . . . . . . . . . . . . . . . . .8-3
8.7: Maximum Block (00296-00396) . . . . . . . . . . . . . . . . . . . . . . 8-3
8.8: Minimum Block (00397-00497) . . . . . . . . . . . . . . . . . . . . . . 8-3
x
8.9: Maximum Time Stamp Block (000498-00737) . . . . . . . . . . . . . . . . 8-3
8.10: Minimum Time Stamp Block (00738-00977) . . . . . . . . . . . . . . . . 8-3
8.11: Energy Block (Secondary) (00978-01021) . . . . . . . . . . . . . . . . . . 8-3
8.12: Harmonic Magnitude Block (01022-01789) . . . . . . . . . . . . . . . . . 8-4
8.13: Harmonic Phase Block (01790-02557) . . . . . . . . . . . . . . . . . . . 8-4
8.14: THD/K-Factor Block (02558-02566) . . . . . . . . . . . . . . . . . . . . 8-4
8.15: Harmonic Time Stamp Block (02567-02590) . . . . . . . . . . . . . . . . 8-4
8.16: Phase Angle Block (02591-02604) . . . . . . . . . . . . . . . . . . . . . 8-4
8.17: Block Window Average Block (02605-02683) . . . . . . . . . . . . . . . . 8-4
8.18: Rolling Window/Predictive Rolling Window Block (02684-02768) . . . . . . .8-4
8.19: Limit Block (02769-02773) . . . . . . . . . . . . . . . . . . . . . . . . 8-4
8.20: Digital Input Block (02774-02841) . . . . . . . . . . . . . . . . . . . . . 8-5
8.21: Primary Accumulation Block (02842-02973) . . . . . . . . . . . . . . . .8-5
8.22: TOU Period Time Stamp Block (02974-03040) . . . . . . . . . . . . . . . 8-5
8.23: TOU Frozen Block (03041-03584) . . . . . . . . . . . . . . . . . . . . . 8-5
8.24: TOU Frozen Total Block (03585-03652) . . . . . . . . . . . . . . . . . . 8-5
8.25: TOU Prior Month Register Block (03653-04196) . . . . . . . . . . . . . . 8-6
8.26: TOU Prior Month Total Block (04197-04264) . . . . . . . . . . . . . . . . 8-6
8.27: TOU Active Register Block (04265-04808) . . . . . . . . . . . . . . . . .8-6
8.28: TOU Active Total Block (04809-04876) . . . . . . . . . . . . . . . . . .8-6
8.29: TOU Current Month Register Block (04877-05420) . . . . . . . . . . . . . 8-6
8.30: TOU Current Month Total Block (05421-05488) . . . . . . . . . . . . . . . 8-7
8.31: TOU Frozen Label Block (05489-05552) . . . . . . . . . . . . . . . . . .8-7
8.32: TOU Prior Month Label Block (05553-05616) . . . . . . . . . . . . . . . .8-7
8.33: TOU Active Label Block (05617-05680) . . . . . . . . . . . . . . . . . . 8-7
8.34: TOU Current Month Label Block (05681-05744) . . . . . . . . . . . . . .8-7
8.35: Internal Input Pulse Accumulation Block (05745-05796) . . . . . . . . . . . 8-7
8.36: Pulse Accumulation Block Window Average/Max Block (05797-05945) . . . . . 8-7
8.37: Temperature (05946) . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
8.38: Analog Input Block (05947-05978) . . . . . . . . . . . . . . . . . . . .8-8
8.39: Limit Combination Block (05979-05980) . . . . . . . . . . . . . . . . . . 8-8
8.40: RelayLogic Block (05981-06014) . . . . . . . . . . . . . . . . . . . . .8-8
8.41: Reset Time Block (06015-06038) . . . . . . . . . . . . . . . . . . . . .8-8
8.42: Miscellaneous Flags Block (06039) . . . . . . . . . . . . . . . . . . . .8-8
8.43: Test Mode Block (06040-06096) . . . . . . . . . . . . . . . . . . . . . . 8-9
8.44: KYZ Output Accumulation Block (06097-06110) . . . . . . . . . . . . . . 8-9
8.45: Input Module Data Status Block (06111-06113) . . . . . . . . . . . . . . .8-9
8.46: Flicker Status Block (06114-06126) . . . . . . . . . . . . . . . . . . . . 8-9
8.47: Instantaneous Flicker Block (06127-06136) . . . . . . . . . . . . . . . . . 8-9
8.48: Short Term Flicker Block (06137-06186) . . . . . . . . . . . . . . . . . . 8-9
8.49: Long Term Flicker Block (06187-06236) . . . . . . . . . . . . . . . . . . 8-9
8.50: Additional Energy Block (06237-06392) . . . . . . . . . . . . . . . . . . 8-9
8.51: Energy & Pulses in the Interval Block (06393-06488) . . . . . . . . . . . . 8-10
8.52: Flicker Countdown Block (06489-06490) . . . . . . . . . . . . . . . . .8-10
8.53: Cumulative Demand Block (06491-06502) . . . . . . . . . . . . . . . . . 8-10
8.54: Time of Use Active Cumulative Demand Block (06503-06538) . . . . . . . .8-10
8.55: Time of Use Current Month Cumulative Demand Block (06539-06574) . . . . 8-10
8.56: Time of Use Active Continuous Cumulative Demand Block (06575-06610) . . . 8-11
8.57: TOU Current Month Continuous Cumulative Demand Block (06611-06646) . . 8-11
xi
8.58: Log Index Block (06647-06664) . . . . . . . . . . . . . . . . . . . . .8-11
8.59: Uncompensated & Q Block (06665-06670) . . . . . . . . . . . . . . . . 8-11
8.60: Scaled Energy Block (06908-07829) . . . . . . . . . . . . . . . . . . . 8-11
8.61: Total Average Power Factor Block (07830-07859) . . . . . . . . . . . . . .8-11
8.62: Reset Active TOU Time Stamp (07860-07863) . . . . . . . . . . . . . . . 8-12
8.63: Negative Maximum Pulse Aggregation Avg Block (07864-07895) . . . . . . . 8-12
8.64: Scratchpad Block (08193-08320) . . . . . . . . . . . . . . . . . . . . . 8-12
8.65: Master Device Data Block (08449-08704) . . . . . . . . . . . . . . . . .8-12
8.66: Customized Modbus Block (12289-14336) . . . . . . . . . . . . . . . . . 8-12
8.67: Enhanced Factory Settings Block (16385-24576) . . . . . . . . . . . . . . 8-12
8.68: Enhanced Programmable Settings Block (24577-32768) . . . . . . . . . . . 8-12
8.69: TOU Calendar Header Block (34817-34918) . . . . . . . . . . . . . . . . 8-12
8.70: TOU Calendar Block (34919-35800) . . . . . . . . . . . . . . . . . . .8-13
8.71: TOU Upload Calendar Block (36607-36736) . . . . . . . . . . . . . . . .8-13
8.72: Historical Log 1 Snapshot Header (36865-36882) . . . . . . . . . . . . . . 8-13
8.73: Historical Log 2 Snapshot Header (36929-36946) . . . . . . . . . . . . . . 8-14
8.74: Limit Trigger Log Header (36993-37010) . . . . . . . . . . . . . . . . . 8-14
8.75: Limit Snapshot Log Header (37057-37074) . . . . . . . . . . . . . . . . 8-14
8.76: Digital Input Log Header (37121-37138) . . . . . . . . . . . . . . . . .8-14
8.77: Digital Input Snapshot Log Header (37185-37202) . . . . . . . . . . . . .8-14
8.78: Digital Output Log Header (37249-37266) . . . . . . . . . . . . . . . . .8-14
8.79: Digital Output Snapshot Log Header (37313-37330) . . . . . . . . . . . .8-14
8.80: Flicker Log Header (37377-37394) . . . . . . . . . . . . . . . . . . . . 8-15
8.81: Waveform Trigger Log Header (37441-37458) . . . . . . . . . . . . . . . 8-15
8.82: System Event Log Header (37505-37522) . . . . . . . . . . . . . . . . . 8-15
8.83: Waveform Samples Log Header (37569-37586) . . . . . . . . . . . . . . .8-16
8.84: PQ (CBEMA) Log Header (37633-37650) . . . . . . . . . . . . . . . . . 8-16
8.85: Reset Log Header (37697-37714) . . . . . . . . . . . . . . . . . . . . . 8-16
8.86: External Device Info Block Header (37761-37778) . . . . . . . . . . . . . 8-16
8.87: External Device Programming Block Header (37825-37842) . . . . . . . . .8-16
8.88: Device History Block Header (37889-37906) . . . . . . . . . . . . . . . . 8-17
8.89: Direct Memory Access Header (37953-37970) . . . . . . . . . . . . . . . 8-17
8.90: Window Index Block (38145-38162) . . . . . . . . . . . . . . . . . . . 8-17
8.91: Window Mode Block (38209-38226) . . . . . . . . . . . . . . . . . . .8-19
8.92: Window Block (38273-39424) . . . . . . . . . . . . . . . . . . . . . .8-21
8.93: Auto Increment Window Block (39423-39488) . . . . . . . . . . . . . . .8-23
8.94: Alarm Block (40961-41105) . . . . . . . . . . . . . . . . . . . . . . .8-24
8.95: Port Control Block (41729-44544) . . . . . . . . . . . . . . . . . . . .8-27
8.96: Energy Preset Block (44545-44549) . . . . . . . . . . . . . . . . . . . .8-29
8.97: 12-bit RTU Block (53249-53348) . . . . . . . . . . . . . . . . . . . . . 8-29
8.98: Action Block (Resetting EPM Registers) (57345-57393) . . . . . . . . . . . 8-30
8.99: Factory Calibration Block (60929-61026) . . . . . . . . . . . . . . . . . 8-32
8.100: CTPT Compensation Calibration Block (61027-61124) . . . . . . . . . . .8-32
8.101: Calibration Modification Block (61185-61280) . . . . . . . . . . . . . . 8-32
8.102: Operational Communication Settings Block (65025-65040) . . . . . . . . . 8-33
8.103: Diagnostic Block (65041-65042) . . . . . . . . . . . . . . . . . . . .8-33
8.104: Device Identification Block 2 (65088-65280) . . . . . . . . . . . . . . . 8-33
8.105: DSP Diagnostic Block (65281-65312) . . . . . . . . . . . . . . . . . . 8-34
8.106: Password Block (65316-65344) . . . . . . . . . . . . . . . . . . . . .8-34
xii
8.107: Dynamic Configuration Block (65345-65349) . . . . . . . . . . . . . . .8-36
8.108: Hardware Options Block (65361-65368) . . . . . . . . . . . . . . . . . 8-36
8.109: Flash Control Block (65409-65498) . . . . . . . . . . . . . . . . . . . 8-39
8.110: Enhanced Serial Number (65533-65534) . . . . . . . . . . . . . . . . . 8-43
8.111: Serial Number (65535-65536) . . . . . . . . . . . . . . . . . . . . . . 8-43
Appendix A - Glossary
xiii
xiv
1-1
Chapter 1
Modbus Protocol Overview
1.1: Introduction
Q
EPM Monitors can communicate with other devices using the RTU transmission mode of the AEG Modicon Modbus protocol. Communication is available through RS232 or RS485 standards.
RS232 communication supports a single connection between one EPM Meter and one other device, available on the EPM Meter’s Port 1 ONLY.
RS485 communication supports multiple EPM Meters connected on a network. It is a two-wire connection operating up to 115200 baud, available on Ports 1 through 4.
See the EPM 9450/9650 and EPM 9800 Operation and Installation manuals for wiring details.
1.2: Communication Packets
Q
Communication takes place between a Modbus Master and one or more EPM Slaves. The Master initiates all communication by transmitting an information packet called the “request” to a specific Slave. The Slave replies with its own packet, called the “response”. A packet is a serial string of 8-bit bytes consisting of the following:
Slave Address 1 byte
Function Code 1 byte
Data N bytes: high-ordered byte first, low-order byte second
CRC (RTU Error Checksum) 2 bytes
Dead Time 3.5 bytes transmission time
Q
A single packet can transmit a maximum of 127 registers.
1.3: Slave Address and Broadcast Request
Q
Each Slave device on a communication bus has its own unique address. Only the Slave addressed by a Master will respond. The response packet returned to the Master will have the same value in the Slave Address Field as the request packet. Addresses are programmable and range from 1 to 247.
Q
A Slave Address of 0 is a broadcast command that allows the Master to send the same packet to all devices at once. All Slaves will obey the packet’s instructions, but none will respond. The broadcast request feature is available only with function codes 6 and 10, Preset Single Registers and Preset Multiple Registers, respectively. See Tables 1.3 and 1.4.
1-2
1.4: Function Codes
A packet’s Function Code tells the addressed Slave what action to perform. EPM devices support the following Modbus Function Codes:
1.4.1: Function Code 03—Read Holding Registers
Q
This function allows a Master station to read one or more parameter values (data registers) from an EPM Slave. The data registers are 16-bit (two byte) values transmitted in “Big Endian” format: high-ordered byte first, low-ordered byte second.
Q
The Master device sends a packet defining a start register for the Slave and the number of registers to read. The Slave responds with a packet containing the requested parameter values within the range specified in the request.
Q
In the following example, a Master device requests an EPM Slave at address 01H to transmit two values beginning at Register 00001. The Slave replies with values 3031H and 3037H from Registers 00001 and 00002.
Hex Dec
03H 3 06H 6
1610H
Read Holding Registers
Preset Single Register
Preset Multiple Registers
Function Code
Description
Table 1.1: Function Codes
Slave Address
Function Code Data Starting Address-Hi Data Starting Address-Lo
Number of Registers-Hi
Number of Registers-Lo
CRC-Lo
CRC-Hi
01H Slave Address 01H 03H Function Code 03H 00H 00H 00H
02H C4H 0BH
Byte Count 04H
30H 31H 30H 37H F1H 2AHCRC-Hi
CRC-Lo
Data 2-Lo
Data 2-Hi
Data 1-Lo
Data 1-Hi
Slave PacketMaster Packet
Table 1.2: Function Code 03 Example
1-3
1.4.2: Function Code 06—Preset Single Register
Q
This function allows a Master station to modify a single register in an EPM Slave. The data registers are 16-bit (two byte) values transmitted high-ordered byte first, low-ordered byte second.
Q
In the following example, a Master device stores the value 0001H at Register 57346 in an EPM Slave at address 01H.
1.4.3: Function Code 10—Preset Multiple Registers
Q
This function allows a Master station to modify a group of consecutive registers in an EPM Slave. Registers are 16-bit (two byte) values transmitted high-ordered byte first, low-ordered byte second.
Q
In the following example, a Master device stores the value 0001H at Register 57345, 0001H at Register 57346 and 0001H at Register 57347 in an EPM Slave at address 01H.
1.4.4: Data Starting Address
Q
Range in Hex: 0000H - FFFFH
Q
Range in Decimal: 00001 - 65536
The Address in Chapter 2 (EPM Modbus Register Map Excel Spreadsheet) is in Decimal.
Example: For some Scada Softwares, to read Holding Registers (1.4.1), Address Format should be:
4(XXXXX) with the XXXXX being our Decimal Address.
Slave Address
Function Code
Data Starting Address-Hi
Data Starting Address-Lo
Data-Hi Data-Lo
CRC-Lo
01H 06H E0H 01H 00H 01H 2EH
Slave Address Function Code
Data Starting Address-Hi
Data Starting Address-Lo
Data-Hi Data-Lo CRC-Lo
01H 06H E0H 01H 00H 01H 2EH
Table 1.3: Function Code 6 Example
Master Packet Slave Packet
0AHCRC-Hi CRC-Hi 0AH
1-4
1.5: CRC (Error Checksum) Algorithm
Q
The Cyclic Redundancy Check (CRC) field is an error checksum calculation that enables a Slave device to determine if a request packet has been corrupted during transmission.
Q
Every request packet transmitted from Master to Slave includes a special 16-bit value derived from a CRC-16 algorithm performed on the packet’s contents. When an EPM Slave receives a packet, it performs a CRC-16 calculation and compares the value with the one included in the request packet. If the two values do not match, the Slave will ignore the packet.
Q
The following is the pseudocode for calculating the 16-bit CRC:
Initialize a 16-bit register to FFFFH. Initialize the generator polynomial to A001H.
Slave Address 01H Slave Address 01H
Function Code 10H Function Code 10H
Data Starting Address-Hi E0H Data Starting Address-Hi E0H
Data Starting Address-Lo 01H Data Starting Address-Lo 01H
Number of Setpoints-Hi 00H Number of Setpoints-Hi 00H
Number of Setpoints-Lo 03H Number of Setpoints-Lo 03H
Byte Count 06H CRC-Lo E6H
Data #1-Hi 00H CRC-Hi 08H Data #1-Lo 01H Data #2-Lo 00H
Data #2-Hi 01H Data #3-Lo 00H
Data #3-Hi 01H
CRC-Lo 4DH
CRC-Hi 46H
Master Packet Slave Packet
Table 1.4: Function Code 10 Example
1-5
Table 1.5: Exception Response (Error Codes)
02
03
06
Illegal Data Address
Illegal Data Value
Busy, Rejected Packet
The Slave does not recognize the address in the data field of the transmitted request packet.
The value referenced in the transmitted request packet is not supported by the register on the EPM Slave.
The Slave is busy performing a long operation and can not receive the request packet.
Illegal Function01
The Slave does not support the function code of the transmitted request packet.
DescriptionNameError Code
FOR n=1 to # of bytes in packet
XOR nth data byte with the 16-bit register FOR bits_shifted = 1 to 8
SHIFT 1 bit to the right IF (bit shifted out EQUAL 1)
XOR generator polynomial with the 16-bit register and store result in
the 16-bit register
END IF
END FOR
END FOR
The resulting 16-bit register contains the CRC-16 checksum.
1.6: Dead Time
Q
An EPM Slave considers a transmission from a Master complete when it has received no data for a period of 3.5 byte transmission times—approximately 7 ms at 4800 baud and 300 microseconds at 115200 baud. If the Master transmits any gaps between bytes that are longer than this time period, the Slaves will perceive it as dead time.
Q
At the conclusion of the dead time, all unaddressed Slaves begin listening for a new packet from the Master.
1.7: Exception Response (Error Codes)
Q
An EPM Slave will send its Master an Exception Response packet, if it has encountered an invalid command or other problem while carrying out the Master’s instructions. The function code of the response will have the most significant bit set. The Data field of the Exception Response contains an Error Code specific to the type of problem.
Q
Table 1.5 below lists the different Error Codes supported by EPM devices.
1-6
Q
In the following example, a Master Device requests an EPM Slave at address 01H to transmit the value at Register 00256. The Slave replies with an error, indicating that it is busy.
Meaning Hex Meaning Hex
Address 01H Address 01H
Function Code 03H Function Code 83H
Data Starting Address-Hi 01H Error Code 06H
Data Starting Address-Lo 00H CRC-Lo C1H
Number of Registers-Hi 00H CRC-Hi 32H
Number of Registers-Lo 01H
CRC-Lo 85H
CRC-Hi F6H
Master Packet Slave Packet
Table 1.6: Exception Response Example
1.8: Modbus Extensions
Q
Modbus Read Requests have a maximum size when using standard Modbus function. GE devel­oped Enhanced (Non-Standard) Modbus Read Requests to allow larger than standard responses. This requires fewer requests and, is therefore, more efficient and total download time is reduced.
This function is also more efficient with Log Retrieval. It allows the Network Card to have DNP communication with the main unit utilizing a Modbus connection.
The following are non-standard extensions to the Modbus Protocol. EPM devices support the following additional Modbus Function Codes:
Function Code
Description
Hex Dec 23H 35 42H 66
Read Holding Registers Multiple Times
Encapsulated DNP for LAN/WAN
Modbus Extensions
1-7
1.8.1: Function Code 23H - Read Holding Registers Multiple Times
This function allows a Master station to read the binary contents of holding registers (4X references) in the slave multiple times. Broadcast is not supported.
The Master device sends a packet defining the starting register, quantity of registers to be read and the repeat count. Registers are addressed starting at zero: registers 1-16 are addressed as 0-15.
Here is an example of a request to read registers 40108-40110 twice from slave device 17:
Field Name Example (Hex)
Slave Address 1 1 Function Code 23
Data Starting Address Hi 00
Data Starting Address Lo 6B
Number of Registers Hi 00 Number of Registers Lo 03
Repeat Count 02
Error Check (LRC or CRC) --
Function Code
The register data in the response message are packed as two bytes per register, with the binary contents right justified within each byte. For each register, the first byte contains the high order bits and the second contains the low order bits.
Data is scanned at the following maximum rates, depending on the repeat count:
Repeat Count RTU Framing ASCII Framing
1 509 Registers 253 Registers 2 254 Registers 126 Registers 3 169 Registers 84 Registers 4 127 Registers 63 Registers 5 101 Registers 50 Registers 6 84 Registers 42 Registers 7 72 Registers 36 Registers
The response is returned when the data is completely assembled.
1-8
Here is an example of a response to the query given earlier:
Field Name Example (Hex)
Slave Address 1 1 Function Code 23
Byte Count Hi 00
Byte Count Lo 0C
Data Hi (Register 40108, First Read) 02
Data Lo (Register 40108, First Read) 2B
Data Hi (Register 40109, First Read) 00
Data Lo (Register 40109, First Read) 00
Data Hi (Register 40110, First Read) 00
Data Lo (Register 40110, First Read) 64
Data Hi (Register 40108, Second Read) 02
Data Lo (Register 40108, Second Read) 2B
Data Hi (Register 40109, Second Read) 00
Data Lo (Register 40109, Second Read) 00
Data Lo (Register 40110, Second Read) 00 Data Lo (Register 40110, Second Read) 64
Error Check (LRC or CRC) --
Function Code 23H Example (Response)
The contents of Register 40108 are shown as the two-byte values of 02 2B Hex or 555 Decimal. The contents of Registers 40109 - 40110 are 00 00 and 00 64 Hex or 0 and 100 Decimal.
1.8.2: Function Code 42H - Encapsulated DNP for LAN/WAN
Q
The existing interface between the Network Card and the Main Unit is in Modbus RTU protocol. In order to maintain all of the existing functionality, it is necessary to pass DNP over IP requests and the resultant responses inside a Modbus wrapper.
DNP has commands of variable length, producing responses of variable lengths. Avariable size Modbus request that returns a variable size Modbus response requires a new, non-standard function code 42H.
The creation of different DNP associations over IP requires informing the Main EPM device when a new association is made. Function code 42H requests include a bit to indicate TCP (0) or UDP (1), the Client IPAddress, the UDP or TCP Client Port, and a bit to indicate if this is a New Association (1) or a continuation of the Existing Association (0).
1-9
While the DNP over TCP Connections may be closed at the decision of the Network Card, as would be conveyed by the New Association bit with the next received connection, the Main device might also determine that the current DNP over TCP Connection should be closed. The request to close the current DNP over TCP Connection will have to be held in Modbus registers in the Main device, polled by the Network Card, and cleared by the Network Card overwriting the registers. If Modbus register 0x0E040 contains the value 0x0AAAA, then the current DNP over TCP Connection (the IP address will be in Modbus registers 0x0E041-0x0E042, the client port number in 0x0E043) must be closed by the Network Card and a value of 0x05555 should be written back to register 0x0E040.
DNP requests and responses may have more than 255 bytes. Function code 42H requests and responses include a 2-byte byte count. The Modbus Function Code 42H, DNP over Modbus is only supported on the internal connection made with a Network Card. It is not available on external communication ports.
This function code is used to transport DNP protocol requests and responses between a Modbus master with a DNP over IP Connection to a Modbus slave with built in DNP functionality. The request PDU (Protocol Data Unit) specifies: New Association or Previous Association, UDP or TCP, IP Address, Client Port Number and a byte count of DNP octets in the UDP datagram or TCP stream being transmitted.
The response returns the Function Code, UDP or TCP indication, IPAddress, Client Port Number and a byte count of DNP octets for a possible response.
Examples of a Request and Response PDU (*N = Byte Count):
Address 1 Byte 0x001 - 0x0F7 Function Code 1 Byte 0x042
Link Status 1 Byte
0x000 to 0x003
Client IP Address
4 Bytes
0x00000000 to 0x0FFFFFFF
Client Port 2 Bytes
0x00000 to 0x0FFFF
Byte Count 2 Bytes
0x00001 to 0x0FFFF
Data N* Value
Checksum 1 or 2 Bytes
1 Byte LRC (ASCII) 2 Byte CRC (RTU)
Address 1 Byte 0x001 - 0x0F7 Function Code 1 Byte 0x042
Link Status 1 Byte
0x000 to 0x001
Client IP Address
4 Bytes
0x00000000 to 0x0FFFFFFF
Client Port 2 Bytes
Checksum
Byte Count
Data
2 Bytes N*
1 to 2 Bytes
Value
0x00000 to 0x0FFFF
0x00000 to 0x0FFFF
1 Byte LRC (ASCII) 2 Byte CRC (RTU)
Address 1 Byte 0x001 to 0x0F7 Error Code 1 Byte 0x0C2 Exception Code 1 Byte 01 or 03 Checksum 1 or 2 Bytes 1 Byte LRC (ASCII) or 2 Byte CRC (RTU)
Error Example:
1-10
In the request or response PDU, Link Status bit 0 indicates TCP (0) or UDP (1). In the request PDU, Link Status bit 1 indicates a continuation of the Current Association (0) or the start of a New Association (1).
Here is an example of a pair of requests where a DNP over TCP connection was established with a client at IPAddress 1.2.3.4, port 20000. The first TCP frame transmitted 7 bytes in the stream, con­taining part of a DNP frame. The first request indicates the start of new association and passes the TCP connection information and passes the 7 bytes received. The first response includes no response meant for the network. The second TCP frame transmitted 5 additional bytes in the stream, containing the remainder of the first DNP frame and the start of a second. The second request indi­cates the continuation of the association, passes the TCP connection information and the additional 5 bytes received. The second response acknowledges the second request and contains the response for the first DNP frame, which is meant to be returned in the TCP.
Field Name (Hex)
DNP Field Name
Address 0x001 Function 0x042 Status 0x002 IP Add Quad 1 0x001 IP Add Quad 2 0x002 IP Add Quad 3 0x003 IP Add Quad 4 0x004 Client Port Hi 0x04E Client Port Lo 0x020 Byte Count Hi 0x000 Byte Count Lo 0x007 DNP octet 0x005
Start
DNP octet 0x064
Start
DNP octet 0x005
Length
DNP octet 0x0C0
Control
DNP octet 0x001
Destination Lo
DNP octet 0x000
Destination Hi
DNP octet 0x00A
Source Lo
Checksum (CRC1) 0x05A Checksum (CRC2) 0x045
Request PDU
Response PDU
Field Name
Address Function Status IP Add Quad 1 IP Add Quad 2 IP Add Quad 3 IP Add Quad 4 Client Port Hi Client Port Lo Byte Count Hi Byte Count Lo Checksum (CRC1) Checksum (CRC2)
(Hex)
0x001
DNP Field Name
0x042 0x000 0x001 0x002 0x003 0x004 0x04E 0x020 0x000 0x000 0x0A4 0x01B
1-11
Request PDU
Field Name (Hex)
DNP Field Name
Address 0x001 Function 0x042 Status 0x000 IP Add Quad 1 0x001 IP Add Quad 3 0x002 IP Add Quad 3 0x003 IP Add Quad 4 0x004 Client Port Hi 0x04E Client Port Lo 0x020 Byte Count Hi 0x000 Byte Count Lo 0x005 DNP octet 0x000 Source Hi DNP octet 0x0E0 CRC Lo DNP octet 0x08C CRC Hi DNP octet 0x005 Start DNP octet 0x064 Start Checksum (CRC1) 0x083 Checksum (CRC2) 0x0F8
Field Name (Hex)
DNP Field Name
Address 0x001 Function 0x042 Status 0x000 IP Add Quad 1 0x001 IP Add Quad 2 0x002 IP Add Quad 3 0x003 IP Add Quad 4 0x004 Client Port Hi 0x04E Client Port Lo 0x020 Byte Count Hi 0x000 Byte Count Lo 0x00A DNP octet 0x005 Start DNP octet 0x064 Start DNP octet 0x005 Length DNP octet 0x000 Control DNP octet 0x00A Destination Lo DNP octet 0x000 Destination Hi DNP octet 0x001 Source Lo DNP octet 0x000 Source Hi DNP octet 0x07F CRC Lo DNP octet 0x0FD CRC Hi Checksum (CRC1) 0x072 Checksum (CRC2) 0x075
Response PDU
1-12
2-0
Chapter 2
EPM Modbus Register Map
Q
The EPM Modbus Register Map begins on the following page.
One Second Readings use the One Second Block, Registers 00176-00235, described in Section
8.5.
Resetting Maximums, Minimums, Energy Readings and/or Logs use the Action Block, Registers 57345-57393, described in Section 8.71.
Time may be set in the device using the Real Time Block, Registers 00081-00089, described in Section 8.2.
Chapter 8 offers descriptions of all the EPM Modbus Register Map’s Register Block Titles and the Registers included in each block.
See Chapter 3 for a detailed description of Communication Formats referred to in the Register Map’s “Type” column. See the Table of Contents for a list of the Register Map’s “Types” and their page location in Chapter 3.
See Chapter 4 for an explanation of the Register Map’s “Notes” column.
See Chapter 5 for an explanation of Logs, Port Control and Updating Programmable Settings.
See Chapter 6 for an explanation of the Log Formats.
See Chapter 7 for an explanation of the Programmable Settings Blocks.
Loading...
+ 374 hidden pages