on 04-22-2011 5:47 PM
I've created a PCo Agent instance with a single Notification which is "Always" triggered when a Kepware OPC Tag of type boolean changes from 0 to 1 or vice versa. I have entered no expression in the trigger tab. I've double-checked that the Notification is "enabled."
When I test the delivery in the output table my BLS is executed properly and sends me an e-mail.
When I start the Agent Instance and force the OPC Tag Value to change, the BLS is never executed. The PCo log shows as follows:
22/04/2011 11:37:42 857 Verbose . 12 3236 541001 OpcDaAgent Update complete.
22/04/2011 11:37:42 857 Verbose . 12 3236 541001 Cache Item 'Tag1' is out of the deadband range.
22/04/2011 11:37:42 857 Verbose . 12 3236 541001 AgentBase raising DataChanged event...
22/04/2011 11:37:42 857 Verbose . 12 3236 541001 OpcDaAgent Update recieved, sending change event.
Any ideas what I might be doing wrong?
Edited by: mubgt38 on Apr 22, 2011 2:26 PM
Edited by: mubgt38 on Apr 22, 2011 2:27 PM
Dear mubgt38,
As you are awared, no trigger expression is needed when you use a Trigger Type of Always. Instead, add the tag to the output message u2013 this is what tells PCo what tag is to be monitored u201CAlwaysu201D. In otherwords, the tag itself must be in the output Expression, surrounded by single quotes. Here are a couple examples:
'Pump_Status'
stringif('Pump_Status',"On", "Off")
Remember, this applies only to the Always trigger type. If you have 3 Subscription items for which you want to use the Always trigger type, you would need 3 separate notifications.
Kind Regards,
Diana Hoppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Enter the subscription item in single quotes in the expression
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have any subscription items? Also check the message failures tab in PCo and the MII log files.
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.