Skip to Content
author's profile photo Former Member
Former Member

Performance when using PCO to write OPC tags

Hi,

We are using SAP PCO to write tags from SAP MII to FSGateWay OPC.

These 3 applications are on 3 seperate servers in the network.

When we dispatch the data to OPC we need to write 1000 ~ 1200 tags. All the tags are written in about 4 PCo Queries. The problem is that performance is very slow. In the logs of the Agent Instance I see that every tag is written seperatly to the OPCserver. Even though the PCO query writes multiple tags at once.

It is taking about 120ms per tag. Which sounds normal if you think of all the actions involved. However this adds up to about 2 minutes before all the data is dispatched and this is not acceptable.

I'm looking for any ways to improve the performance of the tag writing. Is it possible to have PCO write multiple tags at once to the OPC server or will it always be seperate?

We are using SAP MII 15.0 SP4 Patch 5 and SAP PCo 15.0.5.2522.

Thanks,

Philippe

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 06, 2016 at 01:47 PM

    Hi Philippe,

    First, if you have the PCo Agent Instance in Verbose log mode, do you see a log message that states

    MassStore Tag Query Received for xxx items

    where xxx is the number of tags configured in the PCoQuery action.

    If you do not find this log message, the Mass Store support is not available in these versions and you will need to Patch MII to the latest SP and Patch for MII (I have tested with SP07 Patch 4). and PCo 15.0 SP06 Patch 6. You can also upgrade PCo to 15.1 latest SP and Patch; it is backwards compatible with MII 15.0 ( I tested the a multiple tag write with MII 15.0 SP07 Patch 6 and PCo 15.1 SP02 Patch 3 and it is successful).

    If you do find this message, then MII/PCo are attempting to ask the OPC Server to write multiple tags to the PLC.

    Note that when you write tags or read tags from MII though PCO for the first time, PCo has to retrieve the actual tag address from the OPC along with the meta-data and persist it in the internal PCo Query buffer, so initial query takes longer than the subsequent queries for the same tags.

    Regards, Steve

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.