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.
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 connection settings
2. Poll the PAC3200 registers
- In Modules → Query Parse Filter, enable the MODBUS/TCP plugin and open Setup.
- 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.
- Save the configuration and check the decoded values in the data window. The first item in the
VOLTAGEgroup 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.

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.5For 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
- MODBUS power meter data logging (easy method)
- Sunspec-compatible MODBUS power meters, inverters (easy method)
- MODBUS RTU/TCP polling: Configuring master station Tags: MODBUS RTU, MODBUS TCP, requests, response items.
- MODBUS poll: How to make sure that the application sends requests and receives responses?
- MODBUS poll: How to view register values, not raw MODBUS packets?
- MODBUS polling: How to make sure that the application correctly interprets the responses received from the device?
- MODBUS polling: How to view MODBUS register values in a more easy-to-grasp form (graphs, indicators, etc.)?
- MODBUS: How to combine the data of two requests?
- MODBUS: What is the right way to poll multiple devices?
- Copy settings from Simply MODBUS RTU Master to our Modbus Data Logger.
- Copy settings from the MODBUS Poll utility.
- Controlling PLC coil registers status using MODBUS TCP Tags: MODBUS data parser, custom scripts, events generating, and handling.
- MODBUS to MSSQL: Write MODBUS registers to separate columns
- MODBUS to MySQL: Write MODBUS values to the MySQL database
- MODBUS to a database: Writing MODBUS RTU/TCP values to a database
- MODBUS to a database: Write data to two different tables.
- MODBUS to a database: Write data to two different databases, making a complete copy.
- Sentron PAC 3200: MODBUS TCP Data Logging
- Write data to a MODBUS device
- SQL to MODBUS: Send data from a SQL database to MODBUS.
- MODBUS TCP ↔ MODBUS RTU real-time conversion.
BACNET/IP
- Bacnet/IP Power Meter Data Logging Tags: data query, Bacnet/IP, Power meter example, analog input objects. Plugins: Bacnet/IP.
Related topics: Advanced TCP/IP Data Logger
hereSerial port interface RS232 pinout and signals Cables and signals Data monitor cables