So I have converted a PV Standard program over to PVPlus. I have completed the following steps:
Make a hidden screen with the email ActiveX control
Get all email information set up as tags and put into the activex control
Configure the alarms server to use the activex control
When there is an alarm that is configured to use messaging, I usually get two emails. The order varies, but one of them is blank and the other has an alarm from the queue. I am thinking I get a blank message because the activex control has been triggered to send a message but has not copied over the message body yet.
What I'm trying to do is get the queue to cycle the alarms and send the messages from the stack until it is empty. I know I will need to utilize a timer for this, but I'm not exactly sure how. Should I have a constant 1 second timer in the PLC and assign that to a tag or should I just do it with VBA?
It seems there is a message trigger function in the alarms setup that I will have to alternate in order to cycle through the queued messages. Does anyone have experience with this?
Make a hidden screen with the email ActiveX control
Get all email information set up as tags and put into the activex control
Configure the alarms server to use the activex control
When there is an alarm that is configured to use messaging, I usually get two emails. The order varies, but one of them is blank and the other has an alarm from the queue. I am thinking I get a blank message because the activex control has been triggered to send a message but has not copied over the message body yet.
What I'm trying to do is get the queue to cycle the alarms and send the messages from the stack until it is empty. I know I will need to utilize a timer for this, but I'm not exactly sure how. Should I have a constant 1 second timer in the PLC and assign that to a tag or should I just do it with VBA?
It seems there is a message trigger function in the alarms setup that I will have to alternate in order to cycle through the queued messages. Does anyone have experience with this?