forqnc
Lifetime Supporting Member
Hi,
I've got an issue with a timer not being reset and it has me baffled.
I cut and pasted, from a working program, a section of code for resetting the back light on a NB5Q-TW01B HMI
With reference to the attached picture.
Rung 11 - bit W32.00 comes on when T21 has timed out (not shown). When the operator activates Scroll_NB, the RST_Backlight flag comes on and latches through NC T23.
Rung 12 - RST_Backlight activates T23, a 1 second timer.
Rung 13 - When T23 times out then it should reset RST_Backlight and T21.
Except it doesn't, RST_Backlight goes off but T21 does not get reset if the Scroll_NB input is less than 1 second.
If I keep Scroll_NB on for longer than 1 second then the coding works as it should. As I said this code is working on several previous machines, and while the rest of this program, for control, is different. The HMI coding is the same.
Any suggestions
I've got an issue with a timer not being reset and it has me baffled.
I cut and pasted, from a working program, a section of code for resetting the back light on a NB5Q-TW01B HMI
With reference to the attached picture.
Rung 11 - bit W32.00 comes on when T21 has timed out (not shown). When the operator activates Scroll_NB, the RST_Backlight flag comes on and latches through NC T23.
Rung 12 - RST_Backlight activates T23, a 1 second timer.
Rung 13 - When T23 times out then it should reset RST_Backlight and T21.
Except it doesn't, RST_Backlight goes off but T21 does not get reset if the Scroll_NB input is less than 1 second.
If I keep Scroll_NB on for longer than 1 second then the coding works as it should. As I said this code is working on several previous machines, and while the rest of this program, for control, is different. The HMI coding is the same.
Any suggestions