10.03.2017, 13:46
(This post was last modified: 10.03.2017, 13:49 by german.cespedes@ecoelec.cl.)
(10.03.2017, 11:41)leondias Wrote: if value is boolean, try one of these:
if value then
if not value then
or use true or false instead of 1 and 0
thansks leondias,
Make the change to true and work perfectly.
value = event.getvalue()
if value == true then
Alarm_text = table.concat({'FALLA TERMICO BOMBA 1'})
alert(Alarm_text)
end
regards
(10.03.2017, 06:53)admin Wrote: In second script you have two different variables: value and Value.
Change the "V" to "v" and change the "1" logic to true and work perfectly
thanks
