Lua script to convert a thermistor used on a analogue input on a SEC-TE to a temperature reading

Issue

Lua script to convert a thermistor input on a SEC-TE to a temperature reading

Product Line

SmartStruxure Lite

Environment

SEC-TE

MPM

Cause

When a temperature sensor is wired to a SEC-TE Smart Terminal controller, it can only be displayed as ohms.

There is no option to use an AIC (Analogue Input Configuration) object to convert the reading.

Resolution

A Lua script is required to convert the input to a temperature value.

1. Import the Lua script

At the top of the script in Section 1:

2. Edit the ME.AV17 input to the input used.

3. Edit the ME.AV48 to the Analogue Variable used to display the value.

At the bottom of the script in Section 3:

3. Edit the AIC number to the AIC used to convert the value.

Download here the Import File

Download here the Txt File