cancel
Showing results for 
Search instead for 
Did you mean: 

PCo Error

Former Member
0 Kudos

Hi Everybody.

I have been running into an error with my Plant Connectivity 2.1.4.

I have been seeing this error in windows event viewer:

Log Name: Application

Source: BM01 6070_0

Date: 10/28/2011 11:42:38 AM

Event ID: 0

Task Category: None

Level: Error

Keywords: Classic

User: N/A

Computer: xxxxxxx

Description:

Could not dispatch NotificationMessage [id = 9cf256a9-b061-4931-ba81-e8c2644ca6b4]. : [severity = Fatal] Invalid State. State=[Faulted].

I am not sure what the cause of this error is. The error is generated when the agent is in a bad state and we change a tag on our Kepware OPC server and PCo is listening to that tag. My question is how could the agent be getting into this invalid state.

I have just turned up my logging to verbose, but haven't seen a re-occurance yet. Has anybody seen this before and have some light they can shed?

I am able to work-around the issue by stopping and starting the agent. However we have a go-live in 2 weeks for the system and continuously stopping/starting the pco agent isn't a satisfactory solution.

Any help/suggestions would be greatly appreciated!

Justin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

One thing that I forgot to mention. Is when I write the tag in Kepware it triggers my PCo event. When the PCo event triggers it is generating the error I mentioned above. It is also sending data to my MII system. However the data that it is sending is NOT what I have configured in the output section of the event!!!

former_member196557
Active Contributor
0 Kudos

Are there any Application errors in the Windows Event Viewer on the PCo app server?

What is the version of KepWare?

What type of PLC device is being connected to?

What is doing the Write of the OPC Tag, PCo or MII?

- Steve

Former Member
0 Kudos

Are there any Application errors in the Windows Event Viewer on the PCo app server?

-


The errors that I see are in the Event Viewer on my PCo app server. (Kepware is installed on the same server.)

What is the version of KepWare?

---Kepware 5.5.94.0

What type of PLC device is being connected to?

---Currently they are connected to an Allen-Bradley ControlLogix device. I have also had them connected to a simulator.

What is doing the Write of the OPC Tag, PCo or MII?

---I think they are using Kepware quickclient to change a tag that PCo is subscribed too.

Thanks.

former_member196557
Active Contributor
0 Kudos

Have you defined browsable tags in the OPC server?

Did you browse these tags to set up the Subscription tags in the Agent Instance?

What is the PCO Agent Instance Notification Trigger tag data type?

What is defined in the Trigger Expression editor?

I would also make sure that the trigger tag is included in the Notification Output even if it is not used by the destination. I have seen instances where the Notification message is not delivered if NONE of the trigger tags are included in the Output.

- Steve

Former Member
0 Kudos

Have you defined browsable tags in the OPC server?

---Sorry I am not very experienced on the OPC server level. Where would I check this setting?

Did you browse these tags to set up the Subscription tags in the Agent Instance?

---Yes I browsed the tags to setup the subscription tags. I didn't want to mis-type something by entering them manually.

What is the PCO Agent Instance Notification Trigger tag data type?

---I have 4 Notifications for each Agent. I have 2 notifications setup for always trigger, and 2 setup to trigger when one of the subscriptions items (StatusOut) is a specific value.(Short type in Kepware)

What is defined in the Trigger Expression editor?

--- 'StatusOut'==1

I would also make sure that the trigger tag is included in the Notification Output even if it is not used by the destination. I have seen instances where the Notification message is not delivered if NONE of the trigger tags are included in the Output.

---I have 2 subscription items. PalletNumber and StatusOut. I sent one of these subscription items for every notifcation. Are you saying that I need to send BOTH for every subscription item?

Also, when you asked about how Kepware was setup, this is the first time I noticed it was actually connected to a device instead of simulator. Could this error have been caused by the PCo agent being started, and then changing the device type from simulator to actual device?

former_member196557
Active Contributor
0 Kudos

Any time you make changes to the OPC Server tags to which PCo is subscribed, you will need to stop and restart the Agent Instance. If you changed the OPC Server from Simulation to PLC with the same Channel/Device name in Kepware then that is most likely what caused the Agent Instance to fail.

Leave the Agent Logging in Verbose mode and see if the error occurs again; if so, capture the log file and the Windows Event Viewer data and log a support ticket.

- Steve