bg

Sentron pac3200: MODBUS TCP Data Logging

Download a Free Trial Version. It allows you to try all features! Plugins can be downloaded separately here

Problem scenario:

My goal is to read values from the "Sentron PAC 3200" power meter using the MODBUS/TCP protocol.

Requirements:

  • Advanced Serial Data Logger Professional, Enterprise, or a trial version;
  • The MODBUS registers map.
    • The map for Sentron PAC 3200 is here.
    • How to get a registers map for other popular power meters and configure data logging you may read here.

It is assumed that:

You have configured the communication settings (IP address, Subnet, Gateway, MODBUS TCP Protocol) on the device. You must assign a static IP address for the device.

Solution:

1. Configure the TCP connection with the meter (fig. 1). The standard TCP port for MODBUS devices is 502. The IP address should be the same as you specified on your device. You may add several IP addresses here. All devices will be polled simultaneously.

TCP connection
Fig. 1 TCP connection

2. Enable the "MODBUS/TCP" plugin (fig. 2).

MODBUS/TCP plugin
Fig. 2 MODBUS/TCP plugin

3. Configure the "MODBUS/TCP" plugin by clicking the "Setup" button nearby (fig. 3).

MODBUS/TCP queue
Fig. 3 MODBUS/TCP queue.

4. Load the queue from the attached XML file by clicking "Action - Load" button. This queue allows reading the first 50 values from the device, up to "Frequency".

5. Adjust the polling interval as you want.

6. If you wish to write the parsed data to a file, then make the following changes:

Data view mode
Fig. 4 Data view mode

Log file settings
Fig. 5 Log file settings

7. If you need to write the parsed data to Excel or a database, you may continue using links below:

Related articles: Sentron pac3200: MODBUS TCP Data Logging

MODBUS RTU, MODBUS ASCII, MODBUS/TCP

IEC 62056-21