Integrating Modbus RTU Power Meters into SIMATIC PCS 7 via Modbus TCP Gateways
Integrating multi-drop RS-485 Modbus RTU power meters (such as Schneider PM1200 or CONZERV units) into SIMATIC PCS 7 is achieved by routing serial loops through Modbus RTU-to-Ethernet gateways (e.g., Moxa MB3180 or Siemens Scalance). For monitoring, energy accounting, and historical logging, connect the gateways directly to the WinCC OS Server using the native WinCC Modbus TCPIP communication channel, avoiding AS controller memory consumption and communication connection limits. If closed-loop plant load shedding or fast interlocks are required in the AS, deploy the Siemens Open Modbus/TCP PN-CPU block library in the controller, budgeting against the maximum connection limit.
Table of Contents
- Power Meter Integration Architectures: OS Server Direct vs AS Controller
- Modbus RTU to Modbus TCP Gateway Mapping and Multi-Drop Addressing
- Comparison of Integration Strategies in SIMATIC PCS 7
- Step-by-Step Engineering and Modbus Channel Configuration
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Power Meter Integration Architectures: OS Server Direct vs AS Controller
Industrial facilities frequently deploy large networks of electrical multi-function power meters (such as Schneider PM1200 and CONZERV meters) to monitor plant voltage, current, power factor, and kilowatt-hour energy consumption. When decommissioning standalone third-party Energy Management Systems (EMS) in favor of SIMATIC PCS 7, engineers face two primary architectural paths:
- Direct WinCC OS Channel Integration (Recommended for EMS Monitoring): Serial gateways map RS-485 multi-drop loops into Modbus TCP. WinCC connects directly to the gateways via its native Modbus TCPIP communication channel. This architecture bypasses the AS controllers entirely, consuming zero controller memory, zero AS communications connections, and zero AS runtime Process Objects (PO).
- AS Controller Integration (Required for Active Control): The AS controller connects via Open Modbus/TCP blocks (
MB_PN_CPUorModbus/TCP Redundant). This method is required only when energy parameters trigger fast process logic, such as peak shaving or automated generator shedding.
Modbus RTU to Modbus TCP Gateway Mapping and Multi-Drop Addressing
Each Modbus RTU serial loop connects multiple meters (typically 16 to 31 devices per RS-485 port) to a multi-port serial-to-Ethernet gateway. The gateway translates between the Modbus TCP IP packet header and Modbus RTU serial frames.
In Modbus TCP, the gateway is assigned a single IP address. Individual power meters on the RS-485 multi-drop bus are addressed using the Unit ID (Slave ID 1 to 31) embedded within the Modbus TCP request frame. This allows an entire loop of 20 power meters to be serviced across a single TCP socket connection, drastically reducing network connection overhead.
Comparison of Integration Strategies in SIMATIC PCS 7
The table below contrasts architectural options for integrating 84+ power meters into SIMATIC PCS 7:
Step-by-Step Engineering and Modbus Channel Configuration
- Configure Serial-to-Ethernet Gateways:
- Set the serial port parameters on the gateway (Baud Rate: 9600 or 19200, 8 Data Bits, No Parity, 1 Stop Bit) matching meters.
- Configure operating mode to Modbus TCP Slave to Modbus RTU Master.
- Assign static IP addresses on the plant Industrial Ethernet network. - Configure WinCC Modbus TCPIP Channel:
- In WinCC Explorer, right-click Tag Management -> Add new driver -> Modbus TCPIP.chn.
- Under the Modbus TCPIP channel unit, create a connection for each gateway IP address.
- Under Connection Properties, set the Unit ID matching the first power meter (e.g., Slave ID1). - Define Process Tags:
- Map register addresses from the Schneider/CONZERV register manual (e.g., Register40001for Voltage L1-N,40003for Current L1).
- Configure 32-bit IEEE floating-point conversion (Float) with word-swapping if required by meter formatting. - Duplicate Connections for Remaining Meters: Create subsequent connections pointing to the same IP address but incrementing the Unit ID (
2,3, etc.). - Link to WinCC Tag Logging: Assign process tags to long-term Tag Logging archives to record cyclic kWh consumption curves.
Verification
Verify communication through the following steps:
1. In WinCC Explorer, launch WinCC Channel Diagnosis (WinCC Explorer -> Tools -> Channel Diagnosis): verify that the Modbus TCPIP channel connection shows status OK with zero frame errors.
2. In WinCC Runtime, open the electrical mimic screen: verify that voltage ($V_{LN}$), current ($A$), and power ($kW$) update dynamically matching the physical display on the field meter faceplate.
3. Disconnect one serial slave: confirm that only the disconnected meter reports bad quality (Status = 0), while adjacent meters on the same loop continue normal communication.
Limitations and Operational Precautions
Carefully budget serial loop polling cycle times. A single RS-485 loop operating at 9600 baud can comfortably service approximately 10 to 15 meters at a 2-second update rate; daisy-chaining 30+ meters on a single serial port causes slow data refresh (5 to 10 seconds). Divide large meter deployments across multi-port gateways (e.g., 2-port or 4-port serial gateways) to ensure responsive operator displays.
Engineer FAQ
Technical References
- SIMATIC WinCC V7.4 Communication Manual - Modbus TCPIP Channel
- SIMATIC Open Modbus/TCP for S7-300 / S7-400 and CPU 410-5H System Manual
- Schneider Electric PM1200 / PM1000 Series Power Meter User Manual
Related Articles
- Interfacing SIMATIC PCS 7 AS 410 Controllers with Third-Party OPC DA Servers
- Connecting OSIsoft PI System to SIMATIC PCS 7 V8.2 via OpenPCS 7
- Integrating Third-Party GE Fanuc RSTi-EP PROFINET IO with CPU 410-5H
Related Tags
- Modbus TCP
- Modbus RTU
- Power Meter
- WinCC Drivers
- Schneider PM1200
- PCS 7 Communications