Hey guys,
So this one is a bit tricky...
I have a die oven with a heat cycle mode and a preheat mode. The vendor programmed it so that the same bit that turns off the preheat mode is also the same bit that turns off the heat cycle mode. The problem is I'm trying send an email when the heat mode is stopped, but do not want an email when the preheat mode is stopped. In my stop tag, it's addressed to the stop bit of the PLC but then I also added a trigger...
if (Cav3_4.Cav004.Status.Cycle_ON == 1)
HeatCycleAbortedEmail();
HideAllPopups();
The if statement is so that I only run the email program when the heat cycle is stopped, and not when a preheat mode is stopped.
This would work great if the HMI would behave in a way that executed all actions every time. However, if the button is quickly tapped then the tag will only execute the PLC addressing and NOT the trigger code. So what ends up happening is the heat cycle is stopped, however the email program is not called and the popup is not hidden because the trigger is not being executed.
Is there something I can do so that they don't have to hold the button down to get the trigger to execute? Any ideas?
So this one is a bit tricky...
I have a die oven with a heat cycle mode and a preheat mode. The vendor programmed it so that the same bit that turns off the preheat mode is also the same bit that turns off the heat cycle mode. The problem is I'm trying send an email when the heat mode is stopped, but do not want an email when the preheat mode is stopped. In my stop tag, it's addressed to the stop bit of the PLC but then I also added a trigger...
if (Cav3_4.Cav004.Status.Cycle_ON == 1)
HeatCycleAbortedEmail();
HideAllPopups();
The if statement is so that I only run the email program when the heat cycle is stopped, and not when a preheat mode is stopped.
This would work great if the HMI would behave in a way that executed all actions every time. However, if the button is quickly tapped then the tag will only execute the PLC addressing and NOT the trigger code. So what ends up happening is the heat cycle is stopped, however the email program is not called and the popup is not hidden because the trigger is not being executed.
Is there something I can do so that they don't have to hold the button down to get the trigger to execute? Any ideas?

