SERIES PM172 POWERMETERS
COMMUNICATIONS
Modbus Communications Protocol
REFERENCE GUIDE
Страница 1: ...SERIES PM172 POWERMETERS COMMUNICATIONS Modbus Communications Protocol REFERENCE GUIDE ...
Страница 2: ...lar installation operation or maintenance of equipment contact the manufacturer or your local representative or distributor REVISION HISTORY Rev A3 F W Version 4 88 2 or later Added a firmware build number register 2563 Table 5 4 Added setpoint status triggers SP1 SP16 Tables 5 2 5 32 Added Voltage unbalance trigger Table 5 32 Added Low battery alarm Table 5 13 Added phase angles readings F W Vers...
Страница 3: ... Data Registers 16 32 bit 14 5 3 Min Max Log Registers 32 bit 21 5 4 Instrument Status Registers 24 5 5 Memory Allocation Status Registers 26 5 6 Memory Status Control Registers 27 5 7 Reset Clear Registers 29 5 8 Basic Setup Registers 30 5 9 User Selectable Options Setup Registers 30 5 10 Communications Setup Registers 31 5 11 Analog Output Setup Registers 31 5 12 Analog Expander Setup Registers ...
Страница 4: ...wer factor active power and reactive power will be zeros because they have no meaning Only the total three phase power values can be used 2 In 4LN3 4LL3 3LN3 and 3LL3 wiring modes harmonic voltages will be line to neutral voltages in other modes they will be line to line voltages In a 3 wire direct connection harmonic voltages will represent line to neutral voltages as they appear on the instrumen...
Страница 5: ...address field contains a user assigned address 1 247 of the instrument that is to receive a message Address 0 is used in broadcast mode to transmit to all instruments broadcast mode is available only for functions 06 and 16 In this case all instruments receive the message and take action on the request but do not issue a response In the PM172 the broadcast mode is supported only for register addre...
Страница 6: ...Field The error check field contains the Cyclical Redundancy Check CRC word For detailed information about CRC calculation refer to the Modbus Protocol Reference Guide It can be downloaded from the www modbus org Website ...
Страница 7: ...ion 04 Starting Address Word Count Error Check 1 byte 1 byte 2 bytes 2 bytes 2 bytes Starting Address Address of the first register to be read Word Count The number of contiguous words to be read Response Instrument Address Function 04 Byte Count Data Word 1 Data Word N Error Check 1 byte 1 byte 1 byte 2 bytes 2 bytes 2 bytes The byte count field contains quantity of bytes to be returned 3 3 Funct...
Страница 8: ...to the master through the instrument The entire message returned will be identical to the message transmitted by the master field per field Response Instrument Address Function 08 Diagnostic Code 0 Data Error Check 1 byte 1 byte 2 bytes 2 bytes 2 bytes The normal response is the re transmission of a test message 3 6 Exception Responses The instrument sends an exception response when errors are det...
Страница 9: ...eger format Non scaled data The data will be presented exactly as retrieved by the communications program from the instrument The value range for unsigned data is 0 to 65535 for signed data the range is 32768 to 32767 LIN3 Linear Scaling This conversion maps the raw data received by the communications program in the range of 0 9999 onto the user defined LO scale HI scale range The conversion is ca...
Страница 10: ...hen the power factor in engineering units will be as follows Power factor reading 8900 1 000 1 000 9999 1 000 0 78 4 2 2 32 bit Modulo 10000 Format The short energy registers 287 294 and 301 302 are transmitted in two contiguous 16 bit registers in modulo 10000 format The first low order register contains the value mod 10000 and the second high order register contains the value 10000 To get the tr...
Страница 11: ...ccessed via addresses 0 to 119 are specified in the user assignable register map see Table 4 2 This map occupies addresses from 120 to 239 where map register 120 should contain the actual address of the register accessed via assignable register 0 register 121 should contain the actual address of the register accessed via assignable register 1 and so on Note that the assignable register addresses a...
Страница 12: ...isters in the window being accessed the entire window must be read at once using a single request After the last record of the file has been read the file read pointer is automatically shifted to the beginning of the file Using circular read requests always allows you to read the entire log file regardless of the current file status You can simply poll the file window registers just as you poll or...
Страница 13: ... 001kW 1kW Pmax Pmax LIN3 Accumulated kW import demand 281 UINT16 R W 0 001kW 1kW Pmax Pmax LIN3 Max kVA sliding window demand 5 282 UINT16 R W 0 001kVA 1kVA Pmax Pmax LIN3 Accumulated kVA demand 283 UINT16 R W 0 001kVA 1kVA Pmax Pmax LIN3 Max ampere demand L1 284 UINT16 R W 0 01A 0 Imax LIN3 Max ampere demand L2 285 UINT16 R W 0 01A 0 Imax LIN3 Max ampere demand L3 286 UINT16 R W 0 01A 0 Imax LIN...
Страница 14: ...e following table lists all registers containing the data measured by the instrument Notice that these registers are arranged into groups which are not located at adjacent addresses You can re map these registers into adjacent addresses to access multiple data from different data groups by using a single request Refer to Section 4 3 for information on the user assignable registers All data can be ...
Страница 15: ...374 13375 0x0C1F R 0 1V 1V 0 Vmax Voltage L31 7168 LIN3 13376 13377 0x0C20 R 0 1V 1V 0 Vmax Real time total values Total kW 7256 LIN3 13696 13697 0x0F00 R 0 001kW 1kW Pmax Pmax Total kvar 7257 LIN3 13698 13699 0x0F01 R 0 001kvar 1kvar Pmax Pmax Total kVA 7258 LIN3 13700 13701 0x0F02 R 0 001kVA 1kVA 0 Pmax Total PF 7259 LIN3 13702 13703 0x0F03 R 0 001 1 000 1 000 Real time auxiliary values Reserved...
Страница 16: ...8 LIN3 14016 14017 0x1120 R 0 1V 1V 0 Vmax Average total values Total kW 7456 LIN3 14336 14337 0x1400 R 0 001kW 1kW Pmax Pmax Total kvar 7457 LIN3 14338 14339 0x1401 R 0 001kvar 1kvar Pmax Pmax Total kVA 7458 LIN3 14340 14341 0x1402 R 0 001kVA 1kVA 0 Pmax Total PF 7459 LIN3 14342 14343 0x1403 R 0 001 1 000 1 000 Average auxiliary values Reserved 7496 14464 14465 0x1500 R 0 0 Neutral current 7497 L...
Страница 17: ...max Total energies kWh import 7576 7577 14720 14721 0x1700 R kWh 0 109 1 kWh export 5 7578 7579 14722 14723 0x1701 R kWh 0 109 1 Reserved 7580 7583 14724 14727 0x1702 0x1703 R 0 0 kvarh import 7584 7585 14728 14729 0x1704 R kvarh 0 109 1 kvarh export 5 7586 7587 14730 14731 0x1705 R kvarh 0 109 1 Reserved 7588 7591 14732 14735 0x1706 0x1707 R 0 0 kVAh total 7592 7593 14736 14737 0x1708 R kVAh 0 10...
Страница 18: ...x Reserved 8343 LIN3 17166 17164 0x2A07 R 0 0 Minimum real time values per phase M Voltage L1 L12 6 8416 LIN3 17408 17409 0x2C00 R 0 1V 1V 0 Vmax Voltage L2 L23 6 8417 LIN3 17410 17411 0x2C01 R 0 1V 1V 0 Vmax Voltage L3 L31 6 8418 LIN3 17412 17413 0x2C02 R 0 1V 1V 0 Vmax Current L1 8419 LIN3 17414 17415 0x2C03 R 0 01A 0 Imax Current L2 8420 LIN3 17416 17417 0x2C04 R 0 01A 0 Imax Current L3 8421 LI...
Страница 19: ...18680 18681 0x3601 R 0 01A 0 Imax Frequency 3 8818 LIN3 18682 18683 0x3602 R 0 01Hz 0 100 00 Maximum demands M Max volt demand L1 L12 6 8856 LIN3 18816 18817 0x3700 R 0 1V 1V 0 Vmax Max volt demand L2 L23 6 8857 LIN3 18818 18819 0x3701 R 0 1V 1V 0 Vmax Max volt demand L3 L31 6 8858 LIN3 18820 18821 0x3702 R 0 1V 1V 0 Vmax Max ampere demand L1 8859 LIN3 18822 18823 0x3703 R 0 01A 0 Imax Max ampere ...
Страница 20: ... 7 0 109 1 TOU energy register 7 Tariff 1 register 9336 9337 20352 20353 0x4300 R 7 0 109 1 Tariff 2 register 9338 9339 20354 20355 0x4301 R 7 0 109 1 Tariff 16 register 9366 9367 20382 20383 0x430F R 7 0 109 1 TOU energy register 8 Tariff 1 register 9376 9377 20480 20481 0x4400 R 7 0 109 1 Tariff 2 register 9378 9379 20482 20483 0x4401 R 7 0 109 1 Tariff 16 register 9406 9407 20510 20511 0x440F R...
Страница 21: ...ine voltages The line to line harmonic voltages in the 3DIR2 3LL3 and 2LL1 wiring modes and the L31 harmonic voltage in the 3OP2 and 3OP3 wiring modes will be calculated accurately if the voltages are balanced 8 Phase angles are referenced to Voltage V1 in 4 wire 4LN3 4LL3 3LN3 and 3LL3 wiring modes and to Voltage V12 in 3 wire connections 3DIR2 3OP2 and 3OP3 wiring modes Available in Version 4 88...
Страница 22: ...5 INT32 Timestamp 36866 36867 UINT32 Max Voltage L2 L23 36868 36869 INT32 Timestamp 36870 36871 UINT32 Max Voltage L3 L31 36872 36873 INT32 Timestamp 36874 36875 UINT32 Max Current L1 36876 36877 INT32 Timestamp 36878 36879 UINT32 Max Current L2 36880 36881 INT32 Timestamp 36882 36883 UINT32 Max Current L3 36884 36885 INT32 Timestamp 36886 36887 UINT32 Reserved 36889 36935 Max Voltage THD L1 L12 3...
Страница 23: ...7668 37669 INT32 Timestamp 37670 37671 UINT32 Reserved 37672 37675 INT32 Max sliding window kVA demand 37676 37677 INT32 Timestamp 37678 37679 UINT32 Reserved 37680 37691 INT32 Max sliding window kW export demand 37692 37693 INT32 Timestamp 37694 37695 UINT32 TOU maximum demand register 1 Max Demand Tariff 1 register 38144 38145 INT32 Timestamp 38146 38147 UINT32 Max Demand Tariff 2 register 38148...
Страница 24: ...tpoint alarm status 3474 UINT16 R W See Table 5 12 Self check alarm status 3475 UINT16 R W See Table 5 13 Reserved 3476 3483 UINT16 R Read as 0 Active serial port number 3484 UINT16 R 0 Port 1 1 Port 2 Battery status E 3485 UINT16 R 0 low 1 normal 1 Writing a value of 65535 into register 2560 will cause the instrument to perform a warm restart 2 Available starting with F W Version 4 88 2 or later ...
Страница 25: ...s Bit Description 0 Reserved 1 New Min Max Log 2 New event log 3 New data log any 4 15 Not used permanently set to 0 Bit meaning 0 no new logs 1 new log recorded the new log flag is reset when the user reads the first log record after the flag has been set Table 5 11 Data Log Status Bit Description 0 New data log 1 1 New data log 2 2 New data log 3 3 New data log 4 4 New data log 5 5 New data log ...
Страница 26: ... the default configuration The configuration corrupt bit may also be set as a result of the legal changes in the setup configuration since the instrument might implicitly change or clear other setups if they are affected by the changes made Hardware fault bits can be reset by writing zero to the self check alarm register The configuration corrupt status bit and RTC synchronization bit are also res...
Страница 27: ... Profile Log Energy Reg 1 0 TOU Monthly Profile Log Energy Reg 2 1 TOU Monthly Profile Log Energy Reg 3 2 TOU Monthly Profile Log Energy Reg 4 3 TOU Monthly Profile Log Energy Reg 5 4 TOU Monthly Profile Log Energy Reg 6 5 TOU Monthly Profile Log Energy Reg 7 6 TOU Monthly Profile Log Energy Reg 8 7 Reserved 8 15 TOU Monthly Profile Log Max Demand Reg 1 16 TOU Monthly Profile Log Max Demand Reg 2 ...
Страница 28: ...rofile Log Max Demand Reg 3 28816 28823 Reserved 28824 28927 If data log partition 7 is configured as a TOU monthly profile partition registers 28216 28223 are mapped to registers 28416 28423 for the first TOU monthly profile sub partition allocated for TOU energy register 1 or for the first following available TOU register if register 1 is not configured If data log partition 8 is configured as a...
Страница 29: ...equence to the first new record never read before that is puts the read pointer to the record following the last one whenever read If there are new records in the partition this actually copies the contents of the register 5 to the register 6 If there are no new records the register 5 will point to the first oldest record in the log file as if the command register was written with zero Read as 0 1...
Страница 30: ...4 wire WYE using 3 PTs 3 element line to line voltage readings 3OP3 3 wire open delta using 3 CTs 2 1 2 element 3LN3 4 wire WYE using 2 PTs 2 1 2 element line to neutral voltage readings 3LL3 4 wire WYE using 2 PTs 2 1 2 element line to line voltage readings 2LL1 2 wire line to line connection using 1 PT 1 element 3BLN3 3BLL3 2LN3 4 wire WYE using 2 PTs 2 element 3 CTs 3 element line to neutral vo...
Страница 31: ... R W 0 no flow control 1 software XON XOFF 2 hardware CTS RTS control 2350 UINT16 R W 0 RTS is not used 1 RTS is permanently asserted 2 RTS is controlled by the meter asserted during the transmission Port 2 Communication protocol 2352 UINT16 R 0 ASCII 1 Modbus RTU 3 DNP3 0 Interface 2353 UINT16 R W 2 RS 485 Address 2354 UINT16 R W 1 to 247 Baud rate 2355 UINT16 R W 0 110 bps 1 300 bps 2 600 bps 3 ...
Страница 32: ...able 5 24 Analog Expander Channel Registers Channel Registers see Table 5 25 Channel 1 3196 3198 Channel 2 3199 3201 Channel 3 3202 3204 Channel 4 3205 3207 Channel 5 3208 3210 Channel 6 3211 3213 Channel 7 3214 3216 Channel 8 3217 3219 Channel 9 3220 3222 Channel 10 3223 3225 Channel 11 3226 3228 Channel 12 3229 3231 Channel 13 3232 3234 Channel 14 3235 3237 Table 5 25 Analog Channel Allocation R...
Страница 33: ...d demand 0x161B UINT16 0 001kvar 1kvar 0 Pmax LIN3 1 For parameter limits see Note 1 to Table 5 1 2 When using direct wiring PT Ratio 1 voltages are transmitted in 0 1 V units currents in 0 01 A units and powers in 0 001 kW kvar kVA units For wiring via PTs PT Ratio 1 voltages are transmitted in 1V units currents in 0 01 A units and powers in 1 kW kvar kVA units 3 The actual frequency range is 45 ...
Страница 34: ...Setpoint 1 352 395 Setpoint 2 396 439 Setpoint 3 440 483 Setpoint 4 484 527 Setpoint 5 528 571 Setpoint 6 572 615 Setpoint 7 616 659 Setpoint 8 660 703 Setpoint 9 704 747 Setpoint 10 748 791 Setpoint 11 792 835 Setpoint 12 836 879 Setpoint 13 880 923 Setpoint 14 924 967 Setpoint 15 968 1011 Setpoint 16 1012 1055 Table 5 31 Setpoint Setup Registers Parameter Offset Type Range Condition 1 Logical op...
Страница 35: ...rd is reserved for long parameters This register is always read as zero When written its value is ignored 4 Limits indicated in Table 5 29 by a N A mark are read as zeros When writing they can be omitted or should be written as zeros 5 When a setpoint action is directed to a relay allocated to output energy pulses an attempt to re allocate it for a setpoint will result in a negative response Table...
Страница 36: ...3 High current THD 0x0E08 UINT16 0 1 0 999 9 LIN3 High K Factor 0x0E09 UINT16 0 1 1 0 999 9 LIN3 High current TDD 0x0E0A UINT16 0 1 0 100 0 LIN3 High low real time auxiliary values High frequency 0x1002 UINT16 0 01Hz 0 100 004 LIN3 Low frequency 0x9002 UINT16 0 01Hz 0 100 004 LIN3 High voltage unbalance 8 0x1003 UINT16 1 0 300 LIN3 High low average values per phase High current L1 0x1103 UINT16 0 ...
Страница 37: ...xport demand E 0x161B UINT16 0 001kvar 1kvar 0 Pmax LIN3 High predicted kW export demand E 0x161C UINT16 0 001kW 1kW 0 Pmax LIN3 High predicted kvar export demand E 0x161D UINT16 0 001kvar 1kvar 0 Pmax LIN3 Setpoint status 8 Setpoint 1 ON 0x7C00 UINT16 N A N A NONE Setpoint 2 ON 0x7C01 UINT16 N A N A NONE Setpoint 3 ON 0x7C02 UINT16 N A N A NONE Setpoint 4 ON 0x7C03 UINT16 N A N A NONE Setpoint 5 ...
Страница 38: ...1 0x04 Data log 6 E 0x71 0x05 Data log 7 E 0x71 0x06 Data log 8 E 0x71 0x07 1 Operate release actions via relays are automatically recorded to the event log whenever an electrical quantity status input or phase reversal trigger is used 2 Either setpoint transition both operate and release is recorded to the event log E Available in the PM172E 5 16 Pulsing Setpoints Registers Table 5 34 Pulsing Reg...
Страница 39: ...Pulse Counters Registers Counter Setup registers see Table 5 40 Counter 1 2940 2941 Counter 2 2942 2943 Counter 3 2944 2945 Counter 4 2946 2947 Table 5 40 Pulse Counter Setup Registers Parameter Offset Type R W Range Associated digital input ID 0 UINT16 R W see Table 5 41 Scale factor number of units per input pulse 1 UINT16 R W 1 9999 Table 5 41 Digital Inputs Identifiers Discrete input ID Not al...
Страница 40: ...g sub partition will be allocated within a parent log partition Each of these can be accessed and read individually see Section 5 24 The number of log parameters in the record should specify the maximum number of active season tariffs The file record size will be set in accordance with this number If you specified it as less than the actual number of tariffs that may be in effect within a tariff s...
Страница 41: ...sters 28672 to 28687 5 21 Real Time Clock Registers Table 5 47 RTC Registers Parameter Register Type R W Range Seconds 4352 UINT16 R W 0 59 Minutes 4353 UINT16 R W 0 59 Hour 4354 UINT16 R W 0 23 Day of month 4355 UINT16 R W 1 31 Month 4356 UINT16 R W 1 12 Year 4357 UINT16 R W 0 99 Day of week 4358 UINT16 R W 1 7 1 Sunday The day of week is not checked when written It is set automatically when you ...
Страница 42: ...9999 1 Each TOU register consists of 16 tariff registers 2 If a pulse input is assigned to an energy register the register s input ID must be written first Table 5 52 TOU Energy Registers Inputs Register input Input ID None 0 kWh import 1 kWh export 2 N A 3 N A 4 kvarh import 5 kvarh export 6 N A 7 N A 8 kVAh total 9 Pulse input 1 10 Pulse input 2 11 Table 5 53 TOU Demand Registers Inputs Register...
Страница 43: ...le 5 56 Active tariff number 9 UINT16 R W 0 15 6th tariff change Tariff start time 10 UINT16 R W See Table 5 56 Active tariff number 11 UINT16 R W 0 15 7th tariff change Tariff start time 12 UINT16 R W See Table 5 56 Active tariff number 13 UINT16 R W 0 15 8th tariff change Tariff start time 14 UINT16 R W See Table 5 56 Active tariff number 15 UINT16 R W 0 15 Table 5 56 Tariff Start Time Register ...
Страница 44: ... associate calendar years with two TOU annual calendars Table 5 60 TOU Calendar Years Registers Parameter Register Type R W Range 1st annual calendar year 4560 UINT16 R W 0 99 2nd annual calendar year 4561 UINT16 R W 0 99 5 28 Event Log Registers These registers allow you to circularly read a packet of consequent records from the event log file From 1 to 12 event log records can be read at a time ...
Страница 45: ... in a UNIX style time format it represents the number of seconds since midnight 00 00 00 January 1 1970 The time is valid after January 1 2000 2 For the log value size and range refer to Table 5 29 NOTES 1 If a requested record is corrupted the redundant check fails the record is reported with all zeros except the sequence number and the bits 9 and 15 in the status indication word being set to 1 2...
Страница 46: ...xE10F Setpoint 1 16 operated 0xE200 0xE20F Setpoint 1 16 released 0xF100 0xF10F Setpoint 1 16 cleared 0xF500 RTC set 5 29 Data Log Registers These registers allow you to circularly read consequent records from the event log file Each data log file is accessed via a separate register window Reading from either register window always returns the next logged record from the corresponding data log All...
Страница 47: ... TOU daily profile partition registers 29976 30015 are mapped to registers 31616 31655 for the first TOU daily profile sub partition allocated for TOU energy register 1 or if this register is not configured for the following first available TOU register Table 5 67 Data Log Window Registers Parameter Offset Type R W Range Record status 0 UINT16 R Bit mapped register bit 0 1 the end record is being ...
Страница 48: ...anuary 1 2000 2 The log parameters are read in 32 bit registers For the value ranges and scales refer to Table 5 2 NOTES 1 If a requested record is corrupted the redundant check fails the record is reported with all zeros except the sequence number and bits 9 and 15 in the status indication word as being set to 1 2 If a record is requested when the log file is empty the record is reported with all...
Страница 49: ...NOTES ...