bg

Siemens Sentron PAC3200 Modbus TCP Logging to CSV or SQL

Set up the Siemens Sentron PAC3200 as a Modbus TCP source, read its phase A line-to-neutral voltage, and save the reading to CSV or SQL. Use the PAC3200 register table to choose other measurements. The register-map PDF is also available.

Download a Free Trial Version. It allows you to try all features!

1. Connect to the meter

Make sure the meter has a reachable IP address and Modbus TCP is enabled. In a new logger configuration, select TCP client mode, enter the meter's IP address and use port 502 unless the device is configured for a different port.

TCP client settings for the PAC3200 meter

TCP connection settings

2. Poll the PAC3200 registers

  1. In Modules → Query Parse Filter, enable the MODBUS/TCP plugin and open Setup.
  2. Download the PAC3200 polling queue. Import it with Action → Load. The queue uses function 3 (read holding registers), starts at offset 1 and polls every 5 seconds. Set Device address to match your setup. The supplied queue uses 1.
  3. Save the configuration and check the decoded values in the data window. The first item in the VOLTAGE group is Voltage Va-n. It starts at offset 1 and occupies two registers as a 32-bit float. Use the imported queue's float settings to decode it.
PAC3200 polling queue with function 3, first register 1 and voltage response items

The imported queue and the first voltage response item

To poll just this measurement, set Registers to read to 2 and keep only the first VOLTAGE response item with Count set to 1. Leave First register at 1 and keep the imported float settings.

If the first voltage is missing or implausible, check the meter address, the first-register setting and the float word order against the imported queue. Compare the reading with the value on the meter display.

3. Write a voltage reading to CSV or SQL

For CSV, enable Local database on Modules → Data export. Choose Text files (fixed or delimited types), select Delimited and set a writable destination folder. On Columns order, add an item named voltage_va_n_v and select the first decoded voltage field as its Parser item name. Enable column names if you want a header. For example, a reading of 230.5 V can produce a file like this.

voltage_va_n_v
230.5

For a SQL database, bind the same decoded voltage field to a numeric column such as voltage_va_n_v. Use the SQL Database Professional module to configure the connection and field binding. Verify the first saved value against the value displayed in the logger before adding more registers.

Related articles: Siemens Sentron PAC3200 Modbus TCP Logging to CSV or SQL

MODBUS RTU, MODBUS ASCII, MODBUS/TCP

BACNET/IP