DPM680 Modbus Power Meter Manual
DPM680 Modbus Power Meter Manual
DPM680
Modbus
Communication
Manual
TABLE OF CONTENT
1. INTRODUCTION 1
Table of Content
2. DATA TYPE 1
3. LIST OF REGISTERS 2
COPYRIGHT
All rights reserved. The content of this document shall be used solely in
connection with the product and may not be reproduced, copied, transmitted
or manipulated without the written consent of Mikro.
DISCLAIMER
Mikro shall not be liable for errors contained herein including any incidental
and/or consequential damages arising from the use of this material. Mikro
also reserves the right to vary the product from that described in this material
without prior notice.
i
1
INTRODUCTION
The DPM680 Digital Power Meter is equipped with multiple
communication capabilities for SCADA and remote monitoring
purposes. In particular, its Modbus communication capabilities can
be realised either through the Modbus RTU or Modbus TCP/IP
system. As a supplement to the DPM680/B Instruction Manual for
Introduction
aiding the configuration and commissioning of these systems, this
manual contains the details of the available Modbus registers.
Note the details contained herein are based on the DPM680 power
1
meter firmware version 4.03. Where conflict arises, the DPM680/B
Instruction Manual shall take precedence.
2
2
DATA TYPE
By default, the data format in each register is unsigned 16-bit word.
Shorter data may be encoded in the unsigned 8-bit byte format
whereas longer data may be encoded either in the unsigned 32-bit
double word format, signed 32-bit integer format or signed 64-bit
long integer format. Two’s complement is used to represent signed
numbers. The nomenclature used in this manual is shown in Table 1.
For data with length shorter than 16 bits, the upper unused bits,
nibbles or bytes can be ignored. In cases where multiple registers
are required, the big endian convention shall apply unless otherwise
specified.
1
For composite words used in IP address and subnet mask
registers, each word is partitioned into upper and lower bytes where 4
consecutive bytes collectively form the address as shown
in Fig 1 where b denotes bit.
d3 d2 d1 d0
upper yr digit lower yr digit upper mth digit lower mth digit
upper day digit lower day digit upper hr digit lower hr digit
upper min digit lower min digit upper sec digit lower sec digit
3
LIST OF REGISTERS
Tables 2, 3, 4, 5, 6 and 7 show the read only variables (function code 0x03
or 0x04) for device & communication info, operations, power factor,
harmonics, time-stamped data and energy respectively whereas Table 8
shows the read and write variables (function codes 0x03, 0x04 or 0x06) for
the settings data.
2
Table 2: Device and communication info registers
0002
0003 Device type – sub word 0x0000 -
0004
Version number- main word 0x0000 ; 0x0002 -
List of Registers
0005
0006
Version number- sub word 0x0000 ; 0x0000 -
0007
1000 Device ID address byte 0x01 -
0=none, 1 stop bit
1=none, 2 stop bit
Communication Info
1=300 2=600
3=1200 4=2400
3
1002 Baudrate selection byte 0 to 8
5=4800 6=9600
7=19200 8=38400
4007
4008
4009 -0x7FFFFFFFFFFFFFFF to
Reactive energy long 1VArh
4010 +0x7FFFFFFFFFFFFFFF
4011
4012 -0x7FFFFFFF to
Total real power int 1W
4013 +0x7FFFFFFF
4014 -0x7FFFFFFF to
Total apparent power int 1VA
4015 +0x7FFFFFFF
4016 -0x7FFFFFFF to
Total reactive power int 1VAr
4017 +0x7FFFFFFF
4018 Total power factor** word 0.001 0 to 1000
4019 Frequency word 0.01Hz 4500 to 6500
3
Table 3: Operations data registers (cont’d)
4025
4026
instantaneous current N dword 0.001A 0 to 0xFFFFFFFF
4027
4028
Voltage line AB dword 0.1V 0 to 0xFFFFFFFF
4029
4030
Voltage line BC dword 0.1V 0 to 0xFFFFFFFF
4031
4032
Voltage line AC dword 0.1V 0 to 0xFFFFFFFF
4033
3
4034
Voltage phase AN dword 0.1V 0 to 0xFFFFFFFF
4035
4036
Voltage phase BN dword 0.1V 0 to 0xFFFFFFFF
4037
4038
Voltage phase CN dword 0.1V 0 to 0xFFFFFFFF
4039
Operations Data
4040 -0x7FFFFFFF to
Real power A int 1W
4041 +0x7FFFFFFF
4042 -0x7FFFFFFF to
Real power B int 1W
4043 +0x7FFFFFFF
4044 -0x7FFFFFFF to
Real power C int 1W
4045 +0x7FFFFFFF
4046 -0x7FFFFFFF to
Apparent power A int 1VA
4047 +0x7FFFFFFF
4048 -0x7FFFFFFF to
Apparent power B int 1VA
4049 +0x7FFFFFFF
4050 -0x7FFFFFFF to
Apparent power C int 1VA
4051 +0x7FFFFFFF
4052 -0x7FFFFFFF to
Reactive power A int 1VAr
4053 +0x7FFFFFFF
4054 -0x7FFFFFFF to
Reactive power B int 1VAr
4055 +0x7FFFFFFF
4056 -0x7FFFFFFF to
Reactive power C int 1VAr
4057 +0x7FFFFFFF
4058
Current demand A dword 0.001Arms 0 to 0xFFFFFFFF
4059
4060
Current demand B dword 0.001Arms 0 to 0xFFFFFFFF
4061
4062
Current demand C dword 0.001Arms 0 to 0xFFFFFFFF
4063
4064 -0x7FFFFFFF to
Real power demand int 1W
4065 +0x7FFFFFFF
4
Table 3: Operations data registers (cont’d)
List of Registers
4071
4072
Negative sequence current dword 0.001A 0 to 0xFFFFFFFF
4073
Operations Data
4074
Zero sequence current dword 0.001A 0 to 0xFFFFFFFF
4075
4076
Positive sequence phase voltage dword 0.1V 0 to 0xFFFFFFFF
4077
4078
Negative sequence phase voltage dword 0.1V 0 to 0xFFFFFFFF
4079
3
4080
Zero sequence phase voltage dword 0.1V 0 to 0xFFFFFFFF
4081
4082 Current THD A** word 0.1% 0 to 1000
4083 Current THD B** word 0.1% 0 to 1000
4084 Current THD C** word 0.1% 0 to 1000
4085 Voltage THD A** word 0.1% 0 to 1000
4086 Voltage THD B** word 0.1% 0 to 1000
4087 Voltage THD C** word 0.1% 0 to 1000
0=resistive 1=inductive
4158 Power factor sector C** byte 0 to 2
2=capacitive
4159 Total power factor** word 0.001 0 to 1000
0=resistive 1=inductive
4160 Total power factor sector** byte 0 to 2
2=capacitive
4161 Displacement power factor A** word 0.001 0 to 1000
Displacement power factor 0=resistive 1=inductive
4162 byte 0 to 2
sector A** 2=capacitive
4163 Displacement power factor B** word 0.001 0 to 1000
Displacement power factor 0=resistive 1=inductive
4164 byte 0 to 2
sector B** 2=capacitive
4165 Displacement power factor C** word 0.001 0 to 1000
Displacement power factor 0=resistive 1=inductive
4166 byte 0 to 2
sector C** 2=capacitive
** for indeterminate power factor and total harmonic distortion data, 0xFFFF will be returned
5
Table 5: Harmonics data registers
6
Table 5: Harmonics data registers (cont’d)
List of Registers
4251 Current 20th harmonic B byte 1% 0 to 100
4252 Current 21st harmonic B byte 1% 0 to 100
4253 Current 22nd harmonic B byte 1% 0 to 100
4254 Current 23rd harmonic B byte 1% 0 to 100
4255 Current 24th harmonic B byte 1% 0 to 100
4256 Current 25th harmonic B byte 1% 0 to 100
4257 Current 26th harmonic B byte 1% 0 to 100
4258 Current 27th harmonic B byte 1% 0 to 100
4259 Current 28th harmonic B byte 1% 0 to 100
3
4260 Current 29th harmonic B byte 1% 0 to 100
Harmonics Data
7
Table 5: Harmonics data registers (cont’d)
8
Table 5: Harmonics data registers (cont’d)
List of Registers
4343 Voltage 16th harmonic BN byte 1% 0 to 100
4344 Voltage 17th harmonic BN byte 1% 0 to 100
4345 Voltage 18th harmonic BN byte 1% 0 to 100
4346 Voltage 19th harmonic BN byte 1% 0 to 100
4347 Voltage 20th harmonic BN byte 1% 0 to 100
4348 Voltage 21st harmonic BN byte 1% 0 to 100
4349 Voltage 22nd harmonic BN byte 1% 0 to 100
4350 Voltage 23rd harmonic BN byte 1% 0 to 100
4351 Voltage 24th harmonic BN byte 1% 0 to 100
3
4352 Voltage 25th harmonic BN byte 1% 0 to 100
4353 Voltage 26th harmonic BN byte 1% 0 to 100
4354 Voltage 27th harmonic BN byte 1% 0 to 100
4355 Voltage 28th harmonic BN byte 1% 0 to 100
4356 Voltage 29th harmonic BN byte 1% 0 to 100
4357 Voltage 30th harmonic BN byte 1% 0 to 100
Harmonics Data
9
Table 5: Harmonics data registers (cont’d)
5000
Maximum current A dword 0.001A 0 to 0xFFFFFFFF
5001
Year & month of 0 to 5 : 0 to 9 ;
5002 BCD 1yr ; 1mth
maximum current A 0 to 1 : 0 to 9
Day & hour of 0 to 3 : 0 to 9 ;
5003 BCD 1day ; 1hr
maximum current A 0 to 2 : 0 to 9
Minute & second of 0 to 5 : 0 to 9 ;
5004 BCD 1min ; 1sec
maximum current A 0 to 5 : 0 to 9
5005
Maximum current B dword 0.001A 0 to 0xFFFFFFFF
5006
Year & month of maximum 0 to 5 : 0 to 9 ;
5007 BCD 1yr ; 1mth
current B 0 to 1 : 0 to 9
Day & hour of maximum 0 to 3 : 0 to 9 ;
5008 BCD 1day ; 1hr
current B 0 to 2 : 0 to 9
Time-stamped Data
10
Table 6: Time-stamped data registers (cont’d)
List of Registers
Year & month of 0 to 5 : 0 to 9 ;
5027 BCD 1yr ; 1mth
minimum current B 0 to 1 : 0 to 9
Day & hour of 0 to 3 : 0 to 9 ;
5028 BCD 1day ; 1hr
minimum current B 0 to 2 : 0 to 9
Minute & second of 0 to 5 : 0 to 9 ;
5029 BCD 1min ; 1sec
minimum current B 0 to 5 : 0 to 9
5030
Minimum current C dword 0.001A 0 to 0xFFFFFFFF
5031
Year & month of 0 to 5 : 0 to 9 ;
5032 BCD 1yr ; 1mth
minimum current C 0 to 1 : 0 to 9
3
Day & hour of 0 to 3 : 0 to 9 ;
5033 BCD 1day ; 1hr
minimum current C 0 to 2 : 0 to 9
Minute & second of 0 to 5 : 0 to 9 ;
5034 BCD 1min ; 1sec
minimum current C 0 to 5 : 0 to 9
5035
Minimum current N dword 0.001A 0 to 0xFFFFFFFF
5036
Time-stamped Data
11
Table 6 Time-stamped data registers (cont’d)
phase voltage B 0 to 5 : 0 to 9
5065
Minimum phase voltage C dword 0.1V 0 to 0xFFFFFFFF
5066
Year & month of minimum 0 to 5 : 0 to 9 ;
5067 BCD 1yr ; 1mth
phase voltage C 0 to 1 : 0 to 9
Day & hour of minimum 0 to 3 : 0 to 9 ;
5068 BCD 1day ; 1hr
phasevoltage C 0 to 2 : 0 to 9
Time-stamped Data
12
Table 6: Time-stamped data registers (cont’d)
List of Registers
Year & month of minimum 0 to 5 : 0 to 9 ;
5092 BCD 1yr ; 1mth
line voltage BC 0 to 1 : 0 to 9
Day & hour of minimum 0 to 3 : 0 to 9 ;
5093 BCD 1day ; 1hr
line voltage BC 0 to 2 : 0 to 9
Minute & second of minimum 0 to 5 : 0 to 9 ;
5094 BCD 1min ; 1sec
line voltage BC 0 to 5 : 0 to 9
5095
Minimum line voltage CA dword 0.1V 0 to 0xFFFFFFFF
5096
Year & month of minimum 0 to 5 : 0 to 9 ;
5097 BCD 1yr ; 1mth
line voltage CA 0 to 1 : 0 to 9
3
Day & hour of minimum 0 to 3 : 0 to 9 ;
5098 BCD 1day ; 1hr
line voltage CA 0 to 2 : 0 to 9
Minute & second of minimum 0 to 5 : 0 to 9 ;
5099 BCD 1min ; 1sec
line voltage CA 0 to 5 : 0 to 9
5100
Maximum phase A active power int 1W 0 to +0x7FFFFFFF
5101
Time-stamped Data
13
Table 6: Time-stamped data registers (cont’d)
5130
Minimum phase C active power int 1W 0 to +0x7FFFFFFF
5131
Year & month of minimum 0 to 5 : 0 to 9 ;
5132 BCD 1yr ; 1mth
phase C active power 0 to 1 : 0 to 9
Day & hour of minimum 0 to 3 : 0 to 9 ;
5133 BCD 1day ; 1hr
phase C active power 0 to 2 : 0 to 9
Time-stamped Data
14
Table 6: Time-stamped data registers (cont’d)
List of Registers
Year & month of maximum 0 to 5 : 0 to 9 ;
5157 BCD 1yr ; 1mth
total reactive power 0 to 1 : 0 to 9
Day & hour of maximum 0 to 3 : 0 to 9 ;
5158 BCD 1day ; 1hr
total reactive power 0 to 2 : 0 to 9
Minute & second of maximum 0 to 5 : 0 to 9 ;
5159 BCD 1min ; 1sec
total reactive power 0 to 5 : 0 to 9
5160
Minimum phase A reactive power int 1VAr 0 to +0x7FFFFFFF
5161
Year & month of minimum 0 to 5 : 0 to 9 ;
5162 BCD 1yr ; 1mth
phase A reactive power 0 to 1 : 0 to 9
3
Day & hour of minimum 0 to 3 : 0 to 9 ;
5163 BCD 1day ; 1hr
phase A reactive power 0 to 2 : 0 to 9
Minute & second of minimum 0 to 5 : 0 to 9 ;
5164 BCD 1min ; 1sec
phase A reactive power 0 to 5 : 0 to 9
5165
Minimum phase B reactive power int 1VAr 0 to +0x7FFFFFFF
5166
Time-stamped Data
15
Table 6: Time-stamped data registers (cont’d)
5195
Maximum total apparent power int 1VA 0 to +0x7FFFFFFF
5196
Year & month of maximum 0 to 5 : 0 to 9 ;
5197 BCD 1yr ; 1mth
total apparent power 0 to 1 : 0 to 9
Day & hour of maximum 0 to 3 : 0 to 9 ;
5198 BCD 1day ; 1hr
total apparent power 0 to 2 : 0 to 9
Time-stamped Data
16
Table 6: Time-stamped data registers (cont’d)
List of Registers
5221 BCD 1yr ; 1mth
inductive power factor 0 to 1 : 0 to 9
Day & hour of maximum 0 to 3 : 0 to 9 ;
5222 BCD 1day ; 1hr
inductive power factor 0 to 2 : 0 to 9
Minute & second of maximum 0 to 5 : 0 to 9 ;
5223 BCD 1min ; 1sec
inductive power factor 0 to 5 : 0 to 9
5224 Minimum inductive power factor word 0.001 0 to 1000
Year & month of minimum 0 to 5 : 0 to 9 ;
5225 BCD 1yr ; 1mth
inductive power factor 0 to 1 : 0 to 9
Day & hour of minimum 0 to 3 : 0 to 9 ;
5226 BCD 1day ; 1hr
inductive power factor 0 to 2 : 0 to 9
3
Minute & second of minimum 0 to 5 : 0 to 9 ;
5227 BCD 1min ; 1sec
inductive power factor 0 to 5 : 0 to 9
5228 Maximum capacitive power factor word 0.001 0 to 1000
Year & month of maximum 0 to 5 : 0 to 9 ;
5229 BCD 1yr ; 1mth
capacitive power factor 0 to 1 : 0 to 9
Day & hour of maximum 0 to 3 : 0 to 9 ;
Time-stamped Data
17
Table 6: Time-stamped data registers (cont’d)
18
Table 7: Energy data registers
List of Registers
6005 -0x7FFFFFFFFFFFFFFF to
Real energy B - import long 1Wh
6006 +0x7FFFFFFFFFFFFFFF
6007
6008
6009 -0x7FFFFFFFFFFFFFFF to
Real energy C - import long 1Wh
6010 +0x7FFFFFFFFFFFFFFF
6011
6012
3
6013 -0x7FFFFFFFFFFFFFFF to
Real energy A - export long 1Wh
6014 +0x7FFFFFFFFFFFFFFF
6015
Energy Data
6016
6017 -0x7FFFFFFFFFFFFFFF to
Real energy B - export long 1Wh
6018 +0x7FFFFFFFFFFFFFFF
6019
6020
6021 -0x7FFFFFFFFFFFFFFF to
Real energy C - export long 1Wh
6022 +0x7FFFFFFFFFFFFFFF
6023
6024
6025 -0x7FFFFFFFFFFFFFFF to
Reactive energy A - import long 1VArh
6026 +0x7FFFFFFFFFFFFFFF
6027
6028
6029 -0x7FFFFFFFFFFFFFFF to
Reactive energy B - import long 1VArh
6030 +0x7FFFFFFFFFFFFFFF
6031
6032
6033 -0x7FFFFFFFFFFFFFFF to
Reactive energy C - import long 1VArh
6034 +0x7FFFFFFFFFFFFFFF
6035
19
Table 7: Energy data registers (cont’d)
6041 -0x7FFFFFFFFFFFFFFF to
Reactive energy B - export long 1VArh
6042 +0x7FFFFFFFFFFFFFFF
6043
6044
6045 -0x7FFFFFFFFFFFFFFF to
Reactive energy C - export long 1VArh
6046 +0x7FFFFFFFFFFFFFFF
6047
6048
6049
3
-0x7FFFFFFFFFFFFFFF to
Apparent energy A - import long 1VAh
6050 +0x7FFFFFFFFFFFFFFF
6051
Energy Data
6052
6053 -0x7FFFFFFFFFFFFFFF to
Apparent energy B - import long 1VAh
6054 +0x7FFFFFFFFFFFFFFF
6055
6056
6057 -0x7FFFFFFFFFFFFFFF to
Apparent energy C - import long 1VAh
6058 +0x7FFFFFFFFFFFFFFF
6059
6060
6061 -0x7FFFFFFFFFFFFFFF to
Apparent energy A - export long 1VAh
6062 +0x7FFFFFFFFFFFFFFF
6063
6064
6065 -0x7FFFFFFFFFFFFFFF to
Apparent energy B - export long 1VAh
6066 +0x7FFFFFFFFFFFFFFF
6067
6068
6069 -0x7FFFFFFFFFFFFFFF to
Apparent energy C - export long 1VAh
6070 +0x7FFFFFFFFFFFFFFF
6071
20
Table 8: Settings data registers
List of Registers
105 Power demand sub interval byte - 2 to 120
106 Current demand interval word 1sec 60 to 1800
107 Current demand sub interval byte - 2 to 120
111 Clock minute BCD 1min 0 to 5 : 0 to 9
112 Clock hour BCD 1hr 0 to 2 : 0 to 9
113 Day of month BCD 1day 0 to 3 : 0 to 9
21
(423468-T)
23