Page 1
Series PM130 PLUS Powermeters PM130P/PM130E/PM130EH PROFIBUS DP Communications Protocol Reference Guide BG0444 Rev. A2...
Page 2
Every effort has been made to ensure that the material herein is complete and accurate. However, the manufacturer is not responsible for any mistakes in printing or faulty instructions contained in this book. Notification of any errors or misprints will be received with appreciation.
Table of Contents 1 GENERAL ......................5 2 PROFIBUS DP PROTOCOL IMPLEMENTATION ..........6 PROFIBUS ID N GSD-F ..................6 UMBER AND PROFIBUS V ......................6 ERSION ...........................6 ATES ........................6 DDRESS ....................6 NPUT AND UTPUT UFFERS ....................6 XTENDED IAGNOSTIC PROFIBUS F .....................6 AULT CTION .........................6 US IN LINE...
Page 4
Setpoint Status SP1-SP16 (bitmap) ..................... 20 ..................21 INIMUM AXIMUM EGISTERS Minimum Phase Values ........................21 Minimum Total Values.......................... 21 Minimum Auxiliary Values ........................21 Maximum Phase Values ........................21 Maximum Total Values......................... 22 Maximum Auxiliary Values ........................22 Maximum Demands ..........................22 ................24 EVICE ONTROL AND...
1 General This document specifies the PM130 PROFIBUS DP messaging protocol used to transfer data between a master PROFIBUS station and the PM130. The document provides the complete information necessary to develop third-party communications software capable of communication with the Series PM130 PLUS devices. Additional information concerning communications operation, configuring the communications parameters, and communications connections is found in "Series PM130 PLUS Powermeters, Installation and Operation Manual".
2 PROFIBUS DP Protocol Implementation 2.1 PROFIBUS ID Number and GSD-File The PM130 uses the certified AnyBus®-IC PROFIBUS communication module from HMS Industrial Networks AB with the registered PROFIBUS ID number 0x1810. The GSD file hms_1810.gsd is shown in Section 6 and is provided with the device on an accompanying 2.2 PROFIBUS Version The PM130 supports the basic version V0 of the PROFIBUS DP protocol.
2.8 PROFIBUS Messaging Protocol Overview Since the PM130 transfer buffers only support 32 bytes or less transfer blocks, all of the device registers cannot possibly be sent over PROFIBUS DP every scan. However, a messaging mechanism allows a master to access all the device registers by placing a command request pointing to the requested items in the output buffer and by receiving a corresponding response in the input buffer.
Table 2-1 Read Request Block Bytes Description Range Type Notes Command control See Table 2-3 UINT16 Start point ID 0x0000-0xFFFF UINT16 Table 2-2 Write Request Block Bytes Description Range Type Notes Command control See Table 2-3 UINT16 Start point ID 0x0000-0xFFFF UINT16 4-31...
Byte Bits Description Range Notes 5-6 Unused 7 Synchronization bit Synchronized with the master synchronization bit when command handling is completed 0-3 Word count 0-14 Indicates the number of words in the data block 4-7 Exception code See Table 2-7 Note: Bit 0 is a least significant bit (LSB).
Page 10
- Raw input data in the range of RAW_LO to RAW_HI ENG_LO, - Data low and high scales in engineering units (see Section 4 for device data ENG_HI scales) RAW_LO - Low conversion scale for raw device data: RAW_LO = -32768 for a point with a negative LO scale, RAW_LO = 0 for a point with a zero or positive LO scale RAW_Hi - High conversion scale for raw device data: RAW_HI = 32767...
Page 11
b) Assume device settings (wiring via PT): Wiring 4LN3; PT = 120; CT primary current = 200A; Voltage scale = 144V. Active Power engineering scales (see Section 4): ENG_HI = Pmax = Vmax × Imax × 3 = (144 × 120) × (200.00 × 2) × 3/1000 = 20,736kW ENG_LO = -Pmax = -20,736kW If the raw data reading is 12000 then the power reading in engineering units will be as follows: Watts reading = (12000 - (-32768)) ×...
Point ID Description Type Notes Options/Range Units 0x0C1B I1 Current TDD 0-1000 ×0.1% UINT16 2-cycle value 0x0C1C I2 Current TDD 0-1000 ×0.1% UINT16 2-cycle value 0x0C1D I3 Current TDD 0-1000 ×0.1% UINT16 2-cycle value 0x0C1E V12 Voltage 0-Vmax UINT16 0x0C1F V23 Voltage 0-Vmax UINT16 0x0C20 V31 Voltage...
Point ID Description Type Notes Options/Range Units 1-Second Phase Values 0x1100 V1/V12 Voltage 0-Vmax UINT32 0x1101 V2/V23 Voltage 0-Vmax UINT32 0x1102 V3/V31 Voltage 0-Vmax UINT32 0x1103 I1 Current 0-Imax UINT32 0x1104 I2 Current 0-Imax UINT32 0x1105 I3 Current 0-Imax UINT32 0x1106 kW L1 -Pmax-Pmax INT32...
Point ID Description Type Notes Options/Range Units 0x1408 Total kvar import 0-Pmax UINT32 0x1409 Total kvar export 0-Pmax UINT32 0x140A 3-phase average L-N/L-L voltage 0-Vmax UINT32 0x140B 3-phase average L-L voltage 0-Vmax UINT32 0x140C 3-phase average current 0-Imax UINT32 1-Second Auxiliary Values 0x1500 Not used UINT32 0x1501 In (neutral) Current...
Point ID Description Type Notes Options/Range Units 0x161F Not used UINT32 0x1620 Not used UINT32 0x1621 Not used UINT32 0x1622 In Ampere demand 0-Imax UINT32 Total Energies 0x1700 kWh import 0-999,999,999 UINT32 0x1701 kWh export 0-999,999,999 UINT32 0x1702 Not used INT32 0x1703 Not used UINT32...
Point ID Description Type Notes Options/Range Units 0x290F Power factor L1 -1000-1000 ×0.001 INT16 0x2910 Power factor L2 -1000-1000 ×0.001 INT16 0x2911 Power factor L3 -1000-1000 ×0.001 INT16 Fundamental Total Values 2-cycle values 0x2A00 Total fundamental kW -Pmax-Pmax INT32 0x2A01 Total fundamental kvar -Pmax-Pmax INT32 0x2A02 Total fundamental kVA...
Point ID Description Type Notes Options/Range Units 0x3702 V3/V31 Maximum volt demand 0-Vmax UINT32 0x3703 I1 Maximum ampere demand 0-Imax UINT32 0x3704 I2 Maximum ampere demand 0-Imax UINT32 0x3705 I3 Maximum ampere demand 0-Imax UINT32 0x3706 Not used UINT32 0x3707 Not used UINT32 0x3708 Not used UINT32...
3.2 Minimum/Maximum Log Registers Point ID Description Type Notes Options/Range/Format Units Minimum Phase Values 0xB000 Min. V1/V12 Voltage 0-Vmax UINT32 0xB001 Timestamp UINT32 0xB002 Min. V2/V23 Voltage 0-Vmax UINT32 0xB003 Timestamp UINT32 0xB004 Min. V3/V31 Voltage 0-Vmax UINT32 0xB005 Timestamp UINT32 0xB006 Min.
Point ID Description Type Notes Options/Range/Format Units 0xB20A Max. I3 Current 0-Imax UINT32 0xB20B Timestamp UINT32 Maximum Total Values 0xB280 Max. Total kW -Pmax-Pmax INT32 0xB281 Timestamp UINT32 0xB282 Max. Total kvar -Pmax-Pmax INT32 0xB283 Timestamp UINT32 0xB284 Max. Total kVA 0-Pmax UINT32 0xB285...
Page 23
Point ID Description Type Notes Options/Range/Format Units 0xB399 UINT32 0xB39A Not used UINT32 0xB39B UINT32 0xB39C Not used UINT32 0xB39D UINT32 0xB39E Maximum kW export sliding window demand 0-Pmax UINT32 0xB39F Timestamp UINT32 0xB3A0 Maximum kvar export sliding window demand 0-Pmax UINT32 0xB3A1...
3.3 Device Control and Status Registers Point ID Description Options/Range Units Type Notes Device Reset/Clear Registers 0xA000 Clear total energy registers UINT16 Read as 0 0xA001 Clear total maximum demand registers 0 = Clear all maximum demands UINT16 1 = Clear power demands 2 = Clear volt and ampere demands 0xA004 Clear pulse counters 0 = Clear all counters...
+0 Device serial number 0-999999 UINT32 +1 Device model ID 13010=PM130P, 13011=PM130A, UINT32 13020=PM130E, 13030-13032=PM130EH 13010=PM130P, 13030=PM130EH +2-5 Device model name “PM130P”, “PM130A”, “PM130E”, UINT32 Null-terminated string “PM130EH” +6 Device options (bitmap) UINT32 Not used +7-9 Reserved UINT32 +10 Device firmware version number...
Address Description Options/Range Units Type Notes +2 Phase energy calculation mode 0=disabled, 1=enabled UINT16 +3-9 Reserved UINT16 Read as 65535 +10 Energy LED test mode 0=disabled, 1=Wh test, 2=varh test UINT16 LED pulse rate is 10,000 pulses/kWh +11 Starting voltage, percent of FS voltage 15-50 ×0.1% UINT16...
4 Data Scales and Units Code Condition Value/Range Notes Data Scales Vmax Voltage scale × PT Ratio, V Imax Current scale × CT Ratio, A 1, 3 Pmax Wiring 4LN3, 3LN3, 3BLN3 Vmax × Imax × 3, W Wiring 4LL3, 3LL3, 3BLL3, Vmax ×...
5 Data Formats Format Code Value Description Notes Timestamp Local time in a UNIX-style format. Represents the number 946684800 to of seconds since midnight (00:00:00), January 1, 1970. 2145916799 The time is valid after January 1, 2000. allowed Wiring Mode 3OP2 - 3-wire open delta using 2 CTs (2 element) 4LN3 - 4-wire WYE using 3 PTs (3 element), line-to- neutral voltage readings...
6 Device GSD File ;============================================================ ; Profibus Device Database of HMS Industrial Networks AB ; Model : ANYBUS-IC PDP ; Description : ANYBUS-IC Profibus DP slave ; Language : English ; Date : 30 September 2003 ; Author : HMS Industrial Networks AB ;...
Page 31
Implementation_Type = "SPC3" ; Supported DP features Freeze_Mode_supp ; supported Sync_Mode_supp ; supported Auto_Baud_supp ; supported Set_Slave_Add_supp ; supported ; Maximum polling frequency Min_Slave_Intervall ; 100 us ; Maximum supported sizes Modular_Station ; modular Max_Module = 24 Max_Input_Len = 48 Max_Output_Len = 48 Max_Data_Len...
Need help?
Do you have a question about the PM130P and is the answer not in the manual?
Questions and answers