Hi
So, I understand that this code:
L #DW_1
L #PREV_CY_1
XOD
L #DW_1
T #PREV_CY_1
AD
L 0
<>D
S #AL_1
Wil Set AL_1 when 0->1 and 1->0, but, it's indeed important that it may only Set when a change form 0 to 1 happens. So I should use something what Peter Says. This code is running allready btw, and indeed, when I had 2 Alarms and one dissapears, the Alarm is triggered again, this is not good.
The code u give me Sparkz, I understand parts of it, but not all. I'm a Lad programmer who recently made the step to STL.
SLD is something I asked before but still don't understand for example.
So, I understand that this code:
L #DW_1
L #PREV_CY_1
XOD
L #DW_1
T #PREV_CY_1
AD
L 0
<>D
S #AL_1
Wil Set AL_1 when 0->1 and 1->0, but, it's indeed important that it may only Set when a change form 0 to 1 happens. So I should use something what Peter Says. This code is running allready btw, and indeed, when I had 2 Alarms and one dissapears, the Alarm is triggered again, this is not good.
The code u give me Sparkz, I understand parts of it, but not all. I'm a Lad programmer who recently made the step to STL.
SLD is something I asked before but still don't understand for example.