cancel
Showing results for 
Search instead for 
Did you mean: 

Neither Mii 12.1.4 nor Mii 12.1.8 Are Being Triggered by PCo 2.1.4.0

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thank you Sam, Diana, and Ajay. This solved my problem.

Also worth mentioning for those who may look at this thread in the future is the tag name you place in single quotes is case sensitive.

Answers (2)

Answers (2)

former_member192939
Active Participant
0 Kudos

Enter the subscription item in single quotes in the expression

jamie_cawley
Advisor
Advisor
0 Kudos

Do you have any subscription items? Also check the message failures tab in PCo and the MII log files.

Jamie