cancel
Showing results for 
Search instead for 
Did you mean: 

PCO Query: tag not found

0 Kudos

Hi,

I am writing values to a datablock on a PLC using SAP PCO and OPC as middleware.

It is working for all tags in the datablock except for 2.

This is a screenshot of both tags in the OPC Quick client (I am using Kepware OPC server).

I can read and write the tags from here.

I have created a small test. In the MII workbench I created a PCO Query.

Next I dragged the two tags from the tag browser on the left, to the right.

For both tags I filled in a value.

When I execute the query I get following error messages.

  • M1 Order Dispatch/OrderQuantityTarget: Tag PoederMagazijn/ATS PLC/M1 Order Dispatch/OrderQuantityTarget not found.
  • M1 Order Dispatch/OrderQuantityConfirmed: Tag PoederMagazijn/ATS PLC/M1 Order Dispatch/OrderQuantityConfirmed not found.

Any other tags work fine.

Thank you for your time.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196557
Active Contributor
0 Kudos

Hi Philippe,

Can your provide the following:

  • OPC Server vendor, version
  • Target PLC brand/model
  • PCo version and patch
  • MII version and patch

Regards, Steve

0 Kudos

Hi Steve,

  • OPC Server vendor, version
    • Kepware OPC 5.14
  • Target PLC brand/model
    • Siemens S7 300
  • PCo version and patch
    • 2.305.2161.1616
  • MII version and patch
    • 14.0 SP5 Patch 12
former_member196557
Active Contributor
0 Kudos

Hi Philippe,

I tested a similar tag name in Kepware with the Simulator device as I do not have a Siemens hardware connection at present. I was able to read and write DWord tags without issues on these versions:

Kepware V5.15.585.0

MII 14.0 SP5 Patch 15

PCo 2.305.2141.1051 (Patch 3)

Additional question:  What is the Agent Instance Tag Query Cache Mode set for?

Regards, Steve

0 Kudos

Hi Steve,

Thanks for your trouble.

I was able to write to other DWord tags but not those 2 specific tags.

I tested again just now and it works.

Very strange because I did not change anything in the datablocks or PCO.

I hope this will not happen on the production system.

former_member196557
Active Contributor
0 Kudos

Hi Philippe,

Can you confirm the Tag Query Cache Mode for the PCo Agent Instance?

Regards, Steve

Former Member
0 Kudos

I have been seeing this problem, too.  One day, I can read the tags and the next, they are not found.  Oddly coincidental, but I also had the problem with two tags.  Have since stopped using PCo.

@Steve,

MII:  v11.5

Destination:  OSI PI, via OLEDB

PCo:  15.0.3.227