FelipeGarcia
Member
Hey!
I'm looking for a way to reset a tag when the routine that sets the tag is disabled.
For example:
Routine 1 has the following
If Tag1 then
Tag2 := 1;
Else
Tag2 := 0;
End_if;
And while Routine 1 was enabled, Tag1 was 1 (true) so Tag2 was also 1 (true). However, if Routine 1 is disabled, Tag2 stays 1 (true).
Any way of resetting Tag2 while Routine 1 is disabled without explicitly resetting it outside of Routine 1? Am I missing something?
Thanks!
I'm looking for a way to reset a tag when the routine that sets the tag is disabled.
For example:
Routine 1 has the following
If Tag1 then
Tag2 := 1;
Else
Tag2 := 0;
End_if;
And while Routine 1 was enabled, Tag1 was 1 (true) so Tag2 was also 1 (true). However, if Routine 1 is disabled, Tag2 stays 1 (true).
Any way of resetting Tag2 while Routine 1 is disabled without explicitly resetting it outside of Routine 1? Am I missing something?
Thanks!