PLC Data Log

The PLC keeps a data log on a micro SD card. The log is the record of what the unit was doing at any past moment, and it is the first thing Thermex Systems support asks for when diagnosing an intermittent problem.

What is recorded

The card holds two logs. Both are plain text files with comma-separated values (CSV), which open in any spreadsheet program.

Log A row is written…

Main

Each time the system state changes, with the state text and the outputs and readings at that moment. Also every 30 minutes as a heartbeat (state text Timed Log), and at power-up (Power Cycle).

Param

With the current settings and calibration values: at power-up, when the password is entered, when the password times out (so that any change made in the menus is captured), and on the first day of each month.

Retrieving the log

The card sits in the MICRO SD port on the face of the HMI panel, above the PLC HMI:

  1. Gently push the card in. It releases and springs out.

  2. Remove the card and read it in a computer with a card reader.

  3. Copy the log files to the computer. Do not edit or delete the files on the card.

  4. Put the card back in the port and push it in gently until it latches.

The PLC cannot record while the card is out, so return it promptly.

HMI panel with a micro SD port at the top, the PLC touchscreen in the middle, and the Refill Pump selector at the bottom
Figure 1. The MICRO SD port is at the top of the HMI panel

When you send a log to Thermex Systems, send both the Main and the Param files, and give the unit serial number.

Reading the Main log

Column Meaning

Date, Time

When the row was written, from the PLC clock.

ascii_status

The system state — the same text as the banner on the Home screen.

CircPump_Out

Circulation pump output: 1 on, 0 off.

BOILER_OUT

Boiler enable output: 1 on, 0 off.

REFILL_OUT

Refill pump output: 1 on, 0 off.

STROBE_OUT

Alarm strobe output: 1 on, 0 off.

Fan_Out

Cabinet cooling fan output: 1 on, 0 off.

ptc_out

LCD screen heater output: 1 on, 0 off.

TankTempF

Tank temperature, °F.

AmbTemp

Cabinet ambient temperature, °C.

lcd_temp

Temperature at the HMI screen, °C.

LWCO_IN

Low-water cut-off sensor: 1 normal, 0 low.

tank_fill_pct

Tank level, %.

State text longer than the column allows is cut short in the log — for example REFILL TIMER EXPIRED. The full list of states is in Status — System states.

Reading the Param log

Column names are cut to 16 characters in the file. The columns an operator can relate to a setting are listed below; the remaining columns are calibration values for use by Thermex Systems.

Column (as it appears) Setting

refill_timer_amo

Fill time limit, seconds. See Fill Time Limit.

refill_pressure_

Refill Max Pressure, in tenths of a PSI: 200 means 20.0 PSI. See Refill pressure calibration.

fan_low_temp, fan_high_temp, fan_high_delay

Cooling fan setpoints (°C) and delay (s). See Cooling fan.

lcd_low_temp, lcd_high_temp, ptc_on_delay

LCD screen heater setpoints (°C) and delay (s). See LCD screen heater.

TankTempTargetF, TankTempHysteres, TankTempCallForH

Tank Heat target (°F), hysteresis (°F) and delay (s). See Tank Heat thermostat.

unitSN, PLC_ID

Unit serial number and controller identifier.

softwareVersion

PLC software version — the same text as the Version line on the Status screen.