Series PM17
1
Powermeters
Modbus
Communications
Protocol
Reference Guide
BG023
6
Rev. A
2
Страница 1: ...Series PM171 Powermeters Modbus Communications Protocol Reference Guide BG0236 Rev A2 ...
Страница 2: ...SERIES PM171 POWERMETERS COMMUNICATIONS Modbus Communications Protocol REFERENCE GUIDE ...
Страница 3: ...ciation For further information regarding a particular installation operation or maintenance of equipment contact the manufacturer or your local representative or distributor This book is copyrighted No part of this book may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior written permi...
Страница 4: ...3 5 1 Basic Data Registers 13 5 2 Basic Setup Registers 14 5 3 User Selectable Options Setup Registers 15 5 4 Communications Setup Registers 16 5 5 Reset Clear Registers 16 5 6 Instrument Status Registers 17 5 7 Extended Status Registers 17 5 8 Memory Status Registers 20 5 9 Extended Data Registers 20 5 10 Analog Output Setup Registers 27 5 11 Analog Expander Setup Registers 27 5 12 Digital Inputs...
Страница 5: ...ill be line to neutral for any other wiring mode they will be line to line voltages In 4LN3 4LL3 3LN3 and 3LL3 wiring modes harmonic voltages will represent line to neutral voltages In a 3 wire direct connection harmonic voltages will represent line to neutral voltages as they appear on the instrument s input transformers In a 3 wire open delta connection harmonic voltages will comprise L12 and L2...
Страница 6: ...ormat T1 T2 T3 Address Function Data CRC Check T1 T2 T3 8 bits 8 bits N 8 bits 16 bits 2 3 Address Field The 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...
Страница 7: ...nventional LSB or right most bit of each character first In generating the CRC the first bit transmitted is defined as the MSB of the dividend For convenience and since there are no carries used in the arithmetic let s assume while computing the CRC that the MSB is on the right To be consistent the bit order of the generating polynomial must be reversed The MSB of the polynomial is dropped since i...
Страница 8: ... single data table It can be used instead of function 03 Request Instrument Address Function 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...
Страница 9: ... byte 1 byte 2 bytes 1 word 2 bytes 3 5 Function 08 Loop back Communications Test The purpose of this request is to check the communications link between the specified instrument and PC Request Instrument Address Function 08 Diagnostic Code 0 Data Error Check 1 byte 1 byte 2 bytes 2 bytes 2 bytes Diagnostic Code Designates action to be taken in Loop back test The protocol supports only Diagnostic ...
Страница 10: ...o 1 Exception Code Error Check 1 byte 1 byte 1 byte 2 byte Exception response codes 01 Illegal function 02 Illegal data address 03 Illegal data value 06 Busy rejected message The message was received without error but the instrument is being programmed from the keypad only for requests accessing setup registers NOTE When the character framing parity or redundancy check detects a communication erro...
Страница 11: ...e 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 carried out according to the formula Y X 9999 HI LO LO where Y the true value in engineering units X the raw input data in the range of 0 9999 LO HI the data low and high scales in engineering units W...
Страница 12: ...sters in the address range of 0 to 119 see Table 4 1 any of which you can map to either register address accessible in the instrument Registers that reside in different locations may be accessed by a single request by re mapping them to adjacent addresses in the user assignable registers area The actual addresses of the assignable registers which are accessed via addresses 0 to 119 are specified i...
Страница 13: ...s a separate file read pointer which always points to the current file record that will be read next and a separate register window which gives access to the record pointed to by this pointer Initially the read pointer is associated with the oldest record in the file Reading a record via the file window returns the current record data and then the pointer automatically advances to the following re...
Страница 14: ...N3 Max sliding window kW demand E 280 2 R W 1kW Pmax Pmax LIN3 Accumulated kW demand E 281 2 R W 1kW Pmax Pmax LIN3 Max sliding window kVA demand E 282 2 R W 1kVA Pmax Pmax LIN3 Accumulated kVA demand E 283 2 R W 1kVA Pmax Pmax LIN3 Max ampere demand L1 284 2 R W 1A 0 Imax LIN3 Max ampere demand L2 285 2 R W 1A 0 Imax LIN3 Max ampere demand L3 286 2 R W 1A 0 Imax LIN3 kWh import low E 287 2 R W 1k...
Страница 15: ...his does not apply to the TOU system registers 5 2 Basic Setup Registers Table 5 2 Basic Setup Registers Parameter Register Size byte Direc tion Range Wiring mode 2304 2 R W 0 3OP2 1 4LN3 2 3DIR2 3 4LL3 4 3OP3 5 3LN3 6 3LL3 PT ratio 2305 2 R W 10 to 65000 0 1 CT primary current 2306 2 R W 1 to 50000 A Power demand period E 2307 2 R W 1 2 5 10 15 20 30 60 min 255 external synchronization Volt amper...
Страница 16: ...e E 2378 2 R W 0 disable 1 enable Analog output option 2379 2 R W 0 none 1 0 20 mA 2 4 20 mA 3 0 1 mA 4 1 mA Analog expander output 2380 2 R W 0 none 1 0 20 mA 2 4 20 mA 3 0 1 mA 4 1 mA E available in the PM171E read as 65535 in the PM171P For short energy registers see Table 5 1 the maximum roll value will be 1 108 for positive readings and 1 107 for negative readings Do not enable the analog exp...
Страница 17: ...mission When changing the instrument address baud rate or data format the new communications parameters will take effect 100 ms after the instrument responds to the master s request 5 5 Reset Clear Registers Table 5 5 Reset Clear Registers Function Register Size byte Direc tion Reset value Clear total energy registers E 3404 2 W 0 Clear total maximum demand registers 3405 2 W 0 all maximum demands...
Страница 18: ... set to 0 Bit meaning 0 relay is energized 1 relay is not energized Table 5 8 Instrument Options Options register Bit Description Options1 0 120V option 1 690V option 2 3 Reserved 4 100 current over range 5 Reserved 6 Analog output 0 4 20 mA 7 Analog output 0 1 mA 8 Analog output 1 mA 9 Relays option 10 Digital inputs option 11 13 Reserved 14 Analog expander output 1 mA 15 Reserved Options 2 0 2 N...
Страница 19: ... 1 contact closed Table 5 12 Setpoints Status Bit Description 0 Setpoint 1 status 1 Setpoint 2 status 2 Setpoint 3 status 3 Setpoint 4 status 4 Setpoint 5 status 5 Setpoint 6 status 6 Setpoint 7 status 7 Setpoint 8 status 8 Setpoint 9 status 9 Setpoint 10 status 10 Setpoint 11 status 11 Setpoint 12 status 12 Setpoint 13 status 13 Setpoint 14 status 14 Setpoint 15 status 15 Setpoint 16 status Bit m...
Страница 20: ...Description 0 Reserved 1 ROM error 2 RAM error 3 Watchdog timer reset 4 Sampling failure 5 Out of control trap 6 Reserved 7 Timing failure 8 Loss of power power up 9 External reset warm restart 10 Configuration corrupted 11 RTC time synchronization required 12 15 Reserved The self check alarm register indicates possible problems with the instrument hardware or setup configuration The hardware prob...
Страница 21: ...er read before 5 9 Extended Data Registers The 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 t...
Страница 22: ...or L1 7160 LIN3 13360 13361 3096 R 0 1 1 0 999 9 K Factor L2 7161 LIN3 13362 13363 3097 R 0 1 1 0 999 9 K Factor L3 7162 LIN3 13364 13365 3098 R 0 1 1 0 999 9 Current TDD L1 7163 LIN3 13366 13367 3099 R 0 1 0 100 0 Current TDD L2 7164 LIN3 13368 13369 3100 R 0 1 0 100 0 Current TDD L3 7165 LIN3 13370 13371 3101 R 0 1 0 100 0 Voltage L12 7166 LIN3 13372 13373 3102 R 1V 0 Vmax Voltage L23 7167 LIN3 ...
Страница 23: ...14343 5123 R 0 001 1 000 1 000 Reserved 7460 LIN3 14344 14345 5124 R 0 0 Reserved 7461 LIN3 14346 14347 5125 R 0 0 Average auxiliary values Reserved 7496 LIN3 14464 14465 5376 R 0 0 Neutral current 7497 LIN3 14466 14467 5377 R 1A 0 Imax Frequency 7498 LIN3 14468 14469 5378 R 0 01Hz 0 100 00 Voltage unbalance 7499 LIN3 14470 14471 5379 R 1 0 300 Current unbalance 7500 LIN3 14472 14473 5380 R 1 0 30...
Страница 24: ... 1 Reserved 7580 7581 14724 14725 5890 R 0 0 Reserved 7582 7583 14726 14727 5891 R 0 0 kvarh import 7584 7585 14728 14729 5892 R kvarh 0 109 1 kvarh export 7586 7587 14730 14731 5893 R kvarh 0 109 1 Reserved 7588 7589 14732 14733 5894 R 0 0 Reserved 7590 7591 14734 14735 5895 R 0 0 kVAh total 7592 7593 14736 14737 5896 R kVAh 0 109 1 Phase energies kWh import L1 7616 7617 14848 14849 6144 R kWh 0 ...
Страница 25: ...e total values M Total kW 8456 LIN3 17536 17537 11520 R 1kW Pmax Pmax Total kvar 8457 LIN3 17538 17539 11521 R 1kvar Pmax Pmax Total kVA 8458 LIN3 17540 17541 11522 R 1kVA 0 Pmax Total PF 8459 LIN3 17542 17543 11523 R 0 001 0 1 000 Minimum real time auxiliary values M Reserved 8496 LIN3 17664 17665 11776 R 0 0 Neutral current 8497 LIN3 17666 17667 11777 R 1A 0 Imax Frequency 8498 LIN3 17668 17669 ...
Страница 26: ...e profile 9057 19458 19459 15361 R 0 15 TOU energy register 1 E Tariff 1 register 9096 9097 19584 19585 15616 R 0 109 1 Tariff 2 register 9098 9099 19586 19587 15617 R 0 109 1 Tariff 16 register 9126 9127 19614 19615 15631 R 0 109 1 TOU energy register 2 E Tariff 1 register 9136 9137 19712 19713 15872 R 0 109 1 Tariff 2 register 9138 9139 19714 19715 15873 R 0 109 1 Tariff 16 register 9166 9167 19...
Страница 27: ...3 20994 20995 18433 R 1kW 0 Pmax Tariff 16 register 9551 LIN3 21022 21023 18447 R 1kW 0 Pmax TOU maximum demand register 2 M E Tariff 1 register 9576 LIN3 21120 21121 18688 R 1kW 0 Pmax Tariff 2 register 9577 LIN3 21122 21123 18689 R 1kW 0 Pmax Tariff 16 register 9591 LIN3 21150 21151 18703 R 1kW 0 Pmax TOU maximum demand register 3 M E Tariff 1 register 9616 LIN3 21248 21249 18944 R 1kVA 0 Pmax T...
Страница 28: ...t to 1 000 In the write request the zero scale is ignored No error will occur when you attempt to change it Unsigned parameters are output within the current range 0 to 1 mA and can be scaled using both zero and full scales as in the case of single ended analog output 5 11 Analog Expander Setup Registers Table 5 21 Analog Expander Channel Registers Channel Registers see Table 5 22 Channel 1 3196 3...
Страница 29: ...g 5124 2 0 001 0 1 000 LIN3 Total PF Lead 5125 2 0 001 0 1 000 LIN3 Average auxiliary values Neutral current 5377 2 1A 0 Imax LIN3 Frequency 5378 2 0 01Hz 0 100 00 LIN3 Present demands Accumulated kW import demand E 5647 2 1kW 0 Pmax LIN3 Accumulated kVA demand E 5649 2 1kVA 0 Pmax LIN3 For parameter limits see note to Table 5 1 Voltages are transmitted in 1V units currents in 1A units and powers ...
Страница 30: ... pulse input Table 5 25 Digital Inputs Allocation Mask Bit Description 0 Digital input 1 allocation status 1 Digital input 2 allocation status 2 15 Not used read as 0 Bit meaning 0 input is not allocated 1 input is allocated to the group 5 13 Timers Setup Registers Table 5 26 Timers Setup Registers Parameter Register Size byte Direction Range Timer 1 time interval 3300 2 R W 1 9999 sec 0 timer dis...
Страница 31: ... 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 5 29 Setpoint Trigger Parameters Trigger parameter Trigger Size Unit Limit scale Con ID byte Low High version None None 0 2 N A N A NONE Internal events E kWh import pulse 10...
Страница 32: ... current L2 4356 2 1A 0 Imax LIN3 High current L3 4357 2 1A 0 Imax LIN3 Low current L1 37123 2 1A 0 Imax LIN3 Low current L2 37124 2 1A 0 Imax LIN3 Low current L3 37125 2 1A 0 Imax LIN3 High low average values on any phase High voltage 4864 2 1V 0 Vmax LIN3 Low voltage 37376 2 1V 0 Vmax LIN3 High current 4865 2 1V 0 Vmax LIN3 Low current 37377 2 1V 0 Vmax LIN3 High low average total values High to...
Страница 33: ...Operate relay 1 12288 Operate relay 2 12289 Increment counter 1 E 16384 Increment counter 2 E 16385 Increment counter 3 E 16386 Increment counter 4 E 16387 Clear counter 1 E 16896 Clear counter 2 E 16897 Clear counter 3 E 16898 Clear counter 4 E 16899 Clear all counters E 25600 Reset total energy E 24576 Reset all total maximum demands E 24832 Reset power maximum demands E 24833 Reset volt ampere ...
Страница 34: ...allocated for pulsing it automatically reverts to normal operation 2 A relay is energized when manually operated and is de energized when manually released Table 5 34 Relay Operation Control Registers Parameter Register Size byte Direction Range Relay 1 control status 3244 2 R W see Table 5 35 Relay 2 control status 3245 2 R W see Table 5 35 Table 5 35 Relay Operation Status Operation status Value...
Страница 35: ...hese registers allow you to allocate a memory partition for logging and to specify the partition size and type Before allocating a partition it is recommended to check the available memory by reading the extended memory status registers To help you in planning memory Table 5 41 shows the record size for each partition Note that the existing partition may not be resized To change the partition prop...
Страница 36: ...allocated for the log see Section 5 18 When writing the data log setup registers only parameters that are specified in the partition record setup will be written When reading registers those that are not defined in the data log setup will be read as zeros 5 20 Event Log Registers These registers allow you to read the packet of consequent records from the event log partition From 1 to 10 event log ...
Страница 37: ... 225 setpoint operated 226 setpoint released Setpoint number 0 15 Comm activity 91 Data location code see Table 5 47 N A See Table 5 48 See Table 5 48 Front panel activity 92 Data location code see Table 5 47 N A See Table 5 48 See Table 5 48 Self check 93 Data location code see Table 5 47 N A See Table 5 48 See Table 5 48 External event 99 0 power down 8 power up N A N A N A Table 5 47 Data Locat...
Страница 38: ...2 R 0 99 Second 2 2 R 0 59 Minute 3 2 R 0 59 Hour 4 2 R 0 23 Day 5 2 R 1 31 Month 6 2 R 1 12 Year 7 2 R 0 99 Reserved 8 2 R 0 The number of parameters in the record 10 2 R 1 16 Log parameter 1 value 11 12 4 R see Table 5 18 Log parameter 2 value 13 14 4 R see Table 5 18 Log parameter 16 value 40 41 4 R see Table 5 18 The log parameter value is read as 16 bit ordinal register or 32 bit counter For ...
Страница 39: ...1 2 R 0 59 Hour 2 2 R 0 23 Day 3 2 R 1 31 Month 4 2 R 1 12 Year 5 2 R 0 99 Parameter value 6 2 R see Table 5 18 Reserved 7 2 R 0 The Min Max parameter value is read in a 16 bit register For the value range and conversion scales refer to Table 5 18 Table 5 53 Min Max Log Mapping Register Parameter Register Size byte Direction Range Min Max log start parameter ID for window 1 4172 2 R W see Table 5 ...
Страница 40: ...r Offset Size byte Direction Range TOU register input identifier 0 2 R W see Tables 5 57 5 58 For a pulse input number of unit hours per pulse Otherwise set to 0 1 2 R W 0 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 57 TOU Energy Registers Inputs Register input Input ID None 0 kW...
Страница 41: ...e Table 5 61 Active tariff number 3 2 R W 0 15 3rd tariff change Tariff start time 4 2 R W see Table 5 61 Active tariff number 5 2 R W 0 15 4th tariff change Tariff start time 6 2 R W see Table 5 61 Active tariff number 7 2 R W 0 15 5th tariff change Tariff start time 8 2 R W see Table 5 61 Active tariff number 9 2 R W 0 15 6th tariff change Tariff start time 10 2 R W see Table 5 61 Active tariff ...
Страница 42: ...rofiles 0 2 R W see Table 5 65 5 8 day profiles 1 2 R W see Table 5 65 9 12 day profiles 2 2 R W see Table 5 65 13 16 day profiles 3 2 R W see Table 5 65 17 20 day profiles 4 2 R W see Table 5 65 21 24 day profiles 5 2 R W see Table 5 65 25 28 day profiles 6 2 R W see Table 5 65 29 31 day profiles 7 2 R W see Table 5 65 Table 5 65 TOU Calendar Profile Format Parameter Bits Range 1st day profile nu...
Страница 43: ...42 NOTES ...