Don’t run one value changed into a Tag Event Script of a memory variable declared as Boolean this script tries to reset a other several memory variables declared as float,the program is as follows:
if currentValue.value:
system.tag.write("[.]Bascula_U70_tot",0)
system.tag.write("[.]Bascula_CD_tot",0)
system.tag.write("[.]Bascula_FM_tot",0)
system.tag.write("[.]Bascula_FV_tot",0)
system.tag.write("[.]Bascula_HY_tot",0)
system.tag.write("[.]Bascula_LF_tot",0)
system.tag.write("[.]Bascula_MAU_tot",0)
system.tag.write("[.]Bascula_OX_tot",0)
system.tag.write("[.]Bascula_R-2_tot",0)
system.tag.write("[.]Bascula_SI_tot",0)
system.tag.write("[.]Bascula_TCL_tot",0)
system.tag.write("[.]Bascula_U30_tot",0)
system.tag.write("[.]Bascula_U70_tot",0)
I only want to run this script when the variable change only in the false-true transition.
Regards Gerardo Garcia