
Originally Posted by
ursulak
Your question does not look like Energy-specific topic, rather general...
When both possible values are trigging CEL entry than in reaction matrix it is not possible to "hide" the fact that the value 0 is back.
The simplest solution would be to create additional, internal variable (also BOOL) logged to CEL. And in original reaction matrix - do not write CEL, call instead a zenon functions 'write set value' linked with this internal variable, 'direct to HW' - value 0 or 1.
The function writing 1 will be then called only if error stays long enough, else this additional variable will keep 0, so no new CEL entry by next write 0 (value does not change).