Hello guys,
A while ago, a couple people on this forum mentioned in a post that they try to avoid where possible using the "Set while button pressed" option for HMI pushbuttons because some touch screen drivers time out after a while. I was told it's better to set the bit via the HMI then to reset the bit in the program immediately after it is used. If the button needed to be activated longer, a timer could be used (I'm guessing a pulse timer?). But what happens in the case where you actually do want to have the HMI button held down for an operator-decided variable amount of time?
Also, how common is this driver timeout issue? I mentioned it to a previous co-worker who said in his 10 years of programming he had never come across it. Would someone be able to post a really simple code that shows how you typically reset the HMI bits after they are used, under different circumstances (with timer use, without?)
Any input would be greatly appreciated.
A while ago, a couple people on this forum mentioned in a post that they try to avoid where possible using the "Set while button pressed" option for HMI pushbuttons because some touch screen drivers time out after a while. I was told it's better to set the bit via the HMI then to reset the bit in the program immediately after it is used. If the button needed to be activated longer, a timer could be used (I'm guessing a pulse timer?). But what happens in the case where you actually do want to have the HMI button held down for an operator-decided variable amount of time?
Also, how common is this driver timeout issue? I mentioned it to a previous co-worker who said in his 10 years of programming he had never come across it. Would someone be able to post a really simple code that shows how you typically reset the HMI bits after they are used, under different circumstances (with timer use, without?)
Any input would be greatly appreciated.