Hide thumbs Also See for PM130:

Advertisement

Quick Links

PM130
Powermeters
Reference Guide
Modbus
Communications
Protocol
BG0310 Rev. A1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PM130 and is the answer not in the manual?

Questions and answers

Summary of Contents for Satec PM130

  • Page 1 PM130 Powermeters Reference Guide Modbus Communications Protocol BG0310 Rev. A1...
  • Page 2 SERIES PM130 POWERMETERS COMMUNICATIONS Modbus Communications Protocol REFERENCE GUIDE...
  • Page 3 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. For further information regarding a particular installation, operation or maintenance of equipment, contact the manufacturer or your local representative or distributor.
  • Page 4: Table Of Contents

    Table of Contents 1 GENERAL ..................... 4 2 MODBUS FRAMING ................5 2.1 Transmission Mode ....................5 2.2 The RTU Frame Format ..................5 2.3 Address Field......................5 2.4 Function Field ......................5 2.5 Data Field ....................... 6 2.6 Error Check Field....................6 3 MODBUS MESSAGE FORMATS ............
  • Page 5: General

    1 GENERAL This document specifies a subset of the Modbus serial communications protocol used to transfer data between a master computer station and the PM130. The document provides the complete information necessary to develop a third-party communications software capable of communication with the Series PM130 Powermeters.
  • Page 6: Modbus Framing

    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 PM130, the broadcast mode is supported only for register addresses 287-294 and 301-302 (reset energies and maximum demands), 3404-3415 (reset/clear registers), and 4352-4358 (real-time clock registers).
  • Page 7: Data Field

    Code Meaning in Modbus Action (decimal) Preset single register Write single register Preset multiple registers Write multiple registers Loop-back test Communications test NOTE Broadcast mode available only for functions code 06 and 16. 2.5 Data Field The data field contains information needed by the instrument to perform a specific function, or data collected by the instrument in response to a query.
  • Page 8: Modbus Message Formats

    3 MODBUS MESSAGE FORMATS 3.1 Function 03 - Read Multiple Registers This command allows the user to obtain contents of up to 125 contiguous registers from a single data table. Request Instrument Function Starting Word Count Error Check Address (03) Address 1 byte 1 byte...
  • Page 9: Function 16 - Write Multiple Registers

    Response The normal response is the retransmission of the write request. 3.4 Function 16 - Write Multiple Registers This request allows the user to write the contents of multiple contiguous registers to a single data table where registers can be written. Request Instrument Function...
  • Page 10: Exception Responses

    3.6 Exception Responses The instrument sends an exception response when errors are detected in the received message. To indicate that the response is notification of an error, the high order bit of the function code is set to 1. Exception Response Instrument Function (high Exception...
  • Page 11: Protocol Implementation

    4 PROTOCOL IMPLEMENTATION 4.1 Modbus Register Addresses The PM130 Modbus registers are referred to by using addresses in the range of 0 to 65535. From within the Modbus applications, the PM130 Modbus registers can be accessed by simulating holding registers of the Modicon 584, 884 or 984 Programmable Controller, using a 5-digit “4XXXX”...
  • Page 12: 32-Bit Modulo 10000 Format

    Section 4.2.1). 4.3 User Assignable Registers The PM130 contains the 120 user assignable registers 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.
  • Page 13 Table 4-1 User Assignable Registers Register contents Address Size, byte Direction Range User definable data 0 User definable data 1 User definable data 2 User definable data 119 - depends on the mapped register Table 4-2 User Assignable Register Map Register contents Address Size, byte Direction Range Register address for user data 0 120...
  • Page 14: Powermeter Registers Description

    5 POWERMETER REGISTERS DESCRIPTION 5.1 Basic Data Registers Table 5-1 Basic Data Registers Parameter Add- Size, Direc- Unit Scale Con- ress byte tion High version Voltage L1/L12 Vmax LIN3 Voltage L2/L23 Vmax LIN3 Voltage L3/L31 Vmax LIN3 Current L1 Imax LIN3 Current L2 Imax...
  • Page 15: Basic Setup

    Parameter Add- Size, Direc- Unit Scale Con- ress byte tion High version -kvarh net (low) kvarh 9999 NONE kvarh x10 4 0 x10 4 -kvarh net (high) Reserved Reserved Reserved Reserved Reserved Reserved kVAh (low) (E) kVAh 9999 NONE kVAh x10 4 0 x10 4 kVAh (high) (E) 9999...
  • Page 16: User Selectable Options Setup

    0 = disable, 1 = enable mode (E) (P) available in the PM130P and PM130E (read as 65535 in the PM130) (E) available in the PM130E (read as 65535 in the PM130 and PM130P) For short energy registers (see Table 5-1), the maximum roll value will be 1×10 for positive readings and 1×10...
  • Page 17: Communications Setup

    5.4 Communications Setup Table 5-4 Communications Setup Registers Parameter Add- Size, Direc- Range ress byte tion Reserved 2344 2 Read as 65535 Interface 2345 2 RS-485 (not changeable) Address 2346 2 1 to 247 Baud rate 2347 2 0 = 110 bps 1 = 300 bps 2 = 600 bps 3 = 1200 bps...
  • Page 18: Instrument Status

    5.6 Instrument Status Table 5-6 Instrument Status Registers Parameter Address Size, Direc Unit Range byte tion Instrument reset 2560 0 (when read) register 65535 (when written) = reset the instrument Reserved 2561 Read as 0 Relay status 2562 see Table 5-7 Reserved 2563 Read as 0...
  • Page 19 Table 5-10 Relay Status Description Relay status 1-15 Not used (permanently set to 0) Bit meaning: 0 = relay released, 1 = relay operated Table 5-11 Setpoints Status Description Setpoint # 1 status Setpoint # 2 status Setpoint # 3 status Setpoint # 4 status Setpoint # 5 status Setpoint # 6 status...
  • Page 20: Extended Data Registers

    The setpoint alarm register stores the status of the operated setpoints by setting the appropriate bits to 1. The alarm status bits can be reset all together by writing zero to the setpoint alarm register. It is possible to reset each alarm status bit separately by writing back the contents of the alarm register with a corresponding alarm bit set to 0.
  • Page 21 Table 5-16 Extended Data Registers Parameter 16-bit Register 32-bit Data Dir. Unit Range/Scale Reg. Conv. Register High None None 6656 11776-11777 0 Relays Relay status 6976 12800-12801 2048 (see Table 5-10) Event/time counters Counter #1 7056 13056-13057 2560 99999 7057 Counter #2 7058 13058-13059 2561...
  • Page 22 Parameter 16-bit Register 32-bit Data Dir. Unit Range/Scale Reg. Conv. Register High Total PF 7259 LIN3 13702-13703 3843 0.001 -1.000 1.000 Reserved 7260 13704-13705 3844 Reserved 7261 13706-13707 3845 Real-time auxiliary values Reserved 7296 13824-13825 4096 Neutral current 7297 LIN3 13826-13827 4097 Imax Frequency...
  • Page 23 Parameter 16-bit Register 32-bit Data Dir. Unit Range/Scale Reg. Conv. Register High Voltage unbalance (P) 7499 LIN3 14470-14471 5379 Current unbalance (P) 7500 LIN3 14472-14473 5380 Present demands Volt demand L1/L12 (P) 7536 LIN3 14592-14593 5632 Vmax Volt demand L2/L23 (P) 7537 LIN3 14594-14595 5633...
  • Page 24 Parameter 16-bit Register 32-bit Data Dir. Unit Range/Scale Reg. Conv. Register High kWh import L2 7618 14850-14851 6145 7619 kWh import L3 7620 14852-14853 6146 7621 kvarh import L1 7622 14854-14855 6147 kvarh 7623 kvarh import L2 7624 14856-14857 6148 kvarh 7625 kvarh import L3...
  • Page 25: Alarm/Event Setpoints

    Parameter 16-bit Register 32-bit Data Dir. Unit Range/Scale Reg. Conv. Register High Total kvar 8777 LIN3 18562-18563 13569 R kvar -Pmax Pmax Total kVA 8778 LIN3 18564-18565 13570 R Pmax Total PF 8779 LIN3 18566-18567 13571 R 0.001 1.000 Maximum real-time auxiliary values (M) Reserved 8816 18688-18689 13824 R...
  • Page 26 Table 5-17 Setpoint Setup Registers Parameter Offset Size, Direction Range byte Trigger parameter ID see Table 5-18 Action see Table 5-19 Operate delay 0-9999 (× 0.1 sec) Release delay 0-9999 (× 0.1 sec) Operate limit see Table 5-18 Release limit see Table 5-18 The setpoint is disabled when its trigger parameter is set to NONE.
  • Page 27 Trigger parameter Trigger Size, Unit Con- Limit/scale byte High version Low current L3 37125 Imax LIN3 High/low average values on any phase High voltage 4864 Vmax LIN3 Low voltage 37376 Vmax LIN3 High current 4865 Vmax LIN3 Low current 37377 Vmax LIN3 High/low average total values (P)
  • Page 28: Pulsing Setpoints

    Action Increment counter #4 16387 Count operating time using counter #1 17408 Count operating time using counter #2 17409 Count operating time using counter #3 17410 Count operating time using counter #4 17411 This action converts a common event counter to the time counter which measures time at 0.1 hour resolution while the setpoint is in the operated state.
  • Page 29: Min/Max Log

    The Min/Max log registers are supported only for compatibility with other models of instruments. Because the Min/Max log is not time stamped in the PM130, reading these registers returns you only values of the Min/Max log parameters which you can read directly via extended data registers (see Table 5-15).

Table of Contents