Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
2 weeks ago
Updated by: