SERIES PM130EH POWERMETERS
COMMUNICATIONS
Modbus Communications Protocol
REFERENCE GUIDE
Страница 1: ...SERIES PM130EH POWERMETERS COMMUNICATIONS Modbus Communications Protocol REFERENCE GUIDE ...
Страница 2: ...g 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 permission of the manufacturer This revision ...
Страница 3: ... 8 3 6 Exception Responses 9 4 PROTOCOL IMPLEMENTATION 10 4 1 Modbus Register Addresses 10 4 2 Data Formats 10 4 2 1 16 bit Integer Format 10 4 2 2 32 bit Modulo 10000 Format 12 4 2 3 32 bit Long Integer Format 12 4 3 User Assignable Registers 12 5 POWERMETER REGISTERS DESCRIPTION 14 5 1 Basic Data Registers Set 14 5 2 Basic Setup 15 5 3 User Selectable Options Setup 16 5 4 Communications Setup 16...
Страница 4: ...ommunications connections is found in Series PM130EH Powermeters Installation and Operation Manual IMPORTANT In 3 wire connection schemes the unbalanced current and phase readings for power factor active power and reactive power will be zeros because they have no meaning Only the total three phase power values can be used Most of the instrument advanced features are configured using multiple setup...
Страница 5: ...Format 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 o...
Страница 6: ...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...
Страница 7: ...p to 125 contiguous registers from a 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 Erro...
Страница 8: ...ing Address Word Count Error Check 1 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 Th...
Страница 9: ...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 errors 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 err...
Страница 10: ...sing either the LIN3 linear conversion or decimal pre scaling to pass fractional numbers in integer 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 pr...
Страница 11: ...Imax 2 144 120 200 00 1 5 2 1000 10368kW LO Pmax 10368kW If the raw data reading is 5500 then the power reading in engineering units will be as follows Watts reading 5500 10368 10368 9999 10368 1037 9kW If the raw data reading is 500 then the power reading in engineering units will be as follows Watts reading 500 10368 10368 9999 10368 9331 1kW 4 Power Factor readings Power factor engineering scal...
Страница 12: ...13953 1 The 32 bit value is 1 x 65536 3464 69000V 2 Signed 32 bit Values If you read signed kW of 789kW from registers 14336 14337 then the register readings will be 14336 64747 unsigned 14337 65535 unsigned or 1 signed value To take the high order register as a signed value compare it with 32767 If the value is less or equal to 32767 use it as is If it is greater than 32767 then this is a negativ...
Страница 13: ...ress Register contents Type 0 Assigned register 0 INT16 1 Assigned register 1 INT16 2 Assigned register 2 INT16 119 Assigned register 119 INT16 Table 4 2 User Assignable Register Map Address Register contents Type R W Range 120 Mapped address for register 0 UINT16 R W 256 to 65535 121 Mapped address for register 1 UINT16 R W 256 to 65535 122 Mapped address for register 2 UINT16 R W 256 to 65535 23...
Страница 14: ...Accumulated kW demand UINT16 R W kW Pmax Pmax LIN3 282 Maximum sliding window kVA demand 4 UINT16 R W kVA Pmax Pmax LIN3 283 Accumulated kVA demand UINT16 R W kVA Pmax Pmax LIN3 284 Max ampere demand L1 UINT16 R W A 0 Imax LIN3 285 Max ampere demand L2 UINT16 R W A 0 Imax LIN3 286 Max ampere demand L3 UINT16 R W A 0 Imax LIN3 287 kWh import low UINT16 R W kWh 0 9999 NONE 288 kWh import high UINT16...
Страница 15: ...ameter Address Type R W Range Wiring mode 1 2304 UINT16 R W 0 3OP2 1 4LN3 2 3DIR2 3 4LL3 4 3OP3 5 3LN3 6 3LL3 PT ratio 2305 UINT16 R W 10 to 65000 0 1 CT primary current 2306 UINT16 R W 1 to 10000 A Power demand period 2307 UINT16 R W 1 2 5 10 15 20 30 60 min 255 external synchronization 2 Volt ampere demand period 2308 UINT16 R W 0 to 1800 sec Averaging buffer size 2309 UINT16 R W 8 16 32 Reset e...
Страница 16: ...e master s request 5 5 Reset Synchronization Registers Table 5 5 Reset Synchronization Registers Register function Address Type R W Reset value Clear total energy registers 3404 UINT16 W 0 Clear total maximum demand registers 3405 UINT16 W 0 all maximum demands 1 power demands 2 volt ampere demands Reserved 3406 3407 UINT16 Clear event time counters 3408 UINT16 W 0 all counters 1 4 counter 1 4 Cle...
Страница 17: ... Not used permanently set to 0 Bit meaning 0 relay operated 1 relay released Table 5 8 Instrument Options Options register Bit Description Options1 0 120V option 1 690V option 2 4 Reserved 5 150 current over range 6 8 Reserved 9 Relays option 10 15 Reserved Options 2 0 2 Number of relays 1 3 15 Reserved 5 7 Extended Status Table 5 9 Extended Status Registers Register description Address Type R W V...
Страница 18: ...new log flag is reset when the user reads the first log record after the flag has been set Table 5 13 Setpoint Alarm Status Bit Description 0 Alarm 1 1 Alarm 2 2 Alarm 3 3 Alarm 4 4 Alarm 5 5 Alarm 6 6 Alarm 7 7 Alarm 8 8 Alarm 9 9 Alarm 10 10 Alarm 11 11 Alarm 12 12 Alarm 13 13 Alarm 14 14 Alarm 15 15 Alarm 16 Bit meaning 1 setpoint has been operated The setpoint alarm register stores the status ...
Страница 19: ...ese registers into adjacent addresses to access multiple data from different data groups by using a single request Refer to Section 2 9 for information on the user assignable registers Along with the register address the table shows for each data item its point identifier ID This is a one word containing a data group ID in the high byte and the parameter offset in a group in the low byte Point IDs...
Страница 20: ...13699 0x0F01 R kvar Pmax Pmax Total kVA 7258 LIN3 13700 13701 0x0F02 R kVA 0 Pmax Total PF 7259 LIN3 13702 13703 0x0F03 R 0 001 1 000 1 000 Real time auxiliary values Reserved 7296 13824 13825 0x1000 R 0 0 Neutral current 7297 LIN3 13826 13827 0x1001 R A 0 Imax Frequency 7298 LIN3 13828 13829 0x1002 R 0 01Hz 0 100 00 2 Voltage unbalance 7299 LIN3 13830 13831 0x1003 R 1 0 300 Current unbalance 7300...
Страница 21: ...R V 0 Vmax Voltage L31 7368 LIN3 14016 14017 0x1120 R V 0 Vmax Average total values Total kW 7456 LIN3 14336 14337 0x1400 R kW Pmax Pmax Total kvar 7457 LIN3 14338 14339 0x1401 R kvar Pmax Pmax Total kVA 7458 LIN3 14340 14341 0x1402 R kVA 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 LIN3 14466 ...
Страница 22: ...h import L3 7626 7627 14858 14859 0x1805 R kvarh 0 108 1 kVAh total L1 7628 7629 14860 14861 0x1806 R kVAh 0 108 1 kVAh total L2 7630 7631 14862 14863 0x1807 R kVAh 0 108 1 kVAh total L3 7632 7633 14864 14865 0x1808 R kVAh 0 108 1 Fundamental s H01 real time values per phase Voltage L1 L12 6 8296 LIN3 17024 17025 0x2900 R V 0 Vmax Voltage L2 L23 6 8297 LIN3 17026 17027 0x2901 R V 0 Vmax Voltage L3...
Страница 23: ... LIN3 18442 18443 0x3405 R A 0 Imax Maximum real time total values M Total kW 8776 LIN3 18560 18561 0x3500 R kW Pmax Pmax Total kvar 8777 LIN3 18562 18563 0x3501 R kvar Pmax Pmax Total kVA 8778 LIN3 18564 18565 0x3502 R kVA 0 Pmax Total PF 3 8779 LIN3 18566 18567 0x3503 R 0 001 0 1 000 Maximum real time auxiliary values M Reserved 8816 18688 18689 0x3600 R 0 Neutral current 8817 LIN3 18680 18681 0...
Страница 24: ...disable the setpoint write zero into this register When writing the setpoint registers except the event when the setpoint is to be disabled it is recommended to write all the setpoint registers using a single request or disable the setpoint before writing into separate registers Each value being written is checked for compatibility with the other setpoint parameters if the new value does not confo...
Страница 25: ...W Pmax Pmax LIN3 High total kW export 0x1407 UINT16 kW Pmax Pmax LIN3 High total kvar import 0x1408 UINT16 kvar Pmax Pmax LIN3 High total kvar export 0x1409 UINT16 kvar Pmax Pmax LIN3 High total kVA 0x1402 UINT16 kVA 0 Pmax LIN3 Low total PF Lag 0x9404 UINT16 0 001 0 1 000 LIN3 Low total PF Lead 0x9405 UINT16 0 001 0 1 000 LIN3 High low average auxiliary values High neutral current 0x1501 UINT16 A...
Страница 26: ... 0 1 hour resolution while the setpoint is in the operated state Each time counter has a non volatile shadow counter which counts time at 1 second resolution before the corresponding time counter is incremented 5 10 Pulsing Setpoints Table 5 20 Pulsing Registers Setup registers see Table 5 21 2892 2893 Table 5 21 Pulsing Setup Registers Parameter Offset Type R W Range Output parameter ID 0 UINT16 ...
Страница 27: ...able 5 26 Min Max Log Window Registers Parameter Offset Type R W Range Second 0 UINT16 R 0 Minute 1 UINT16 R 0 Hour 2 UINT16 R 0 Day 3 UINT16 R 0 Month 4 UINT16 R 0 Year 5 UINT16 R 0 Parameter value 1 6 UINT16 R See Table 5 15 Reserved 7 UINT16 R 0 1 The Min Max parameter value is read as a 16 bit scaled value using LIN3 conversion For the conversion scales refer to Table 5 15 The time stamp is no...