I haven't used used timers and STL together, so thought I'd try them on my next project!
I have the following code example:
then
`SBR_Alarms_TIMERS[25].EN` would become `1` (which it does) and hence latch `SBR_Alarms_TIMERS[25].EN`
Until:
SBR_Alarms_TIMERS[25].DN becomes active 3 seconds later (3000 set to `.PRE` elsewhere).
Problem is:
.EN becomes a 1 as expected
.DN never does...?
Any help?
Thanks
Rob
I have the following code example:
So basically I was hoping when someone presses the HMI cmd `HMI_CMDS_SS_Dint.18` (which is only active for 1 scan),//#Region Alarm_Ack
SBR_Alarms_TIMERS[25].EN :=
HMI_CMDS_SS_Dint.18 or
(SBR_Alarms_TIMERS[25].EN and
not SBR_Alarms_TIMERS[25].DN);
//#End_Region
then
`SBR_Alarms_TIMERS[25].EN` would become `1` (which it does) and hence latch `SBR_Alarms_TIMERS[25].EN`
Until:
SBR_Alarms_TIMERS[25].DN becomes active 3 seconds later (3000 set to `.PRE` elsewhere).
Problem is:
.EN becomes a 1 as expected
.DN never does...?
Any help?
Thanks
Rob