on 2025 Jun 08 8:18 AM
Note: My previous account was marked as a former member(former_member532862). As a result, I am re-posting my blogs here for continued reference and visibility.
PCo:
PCo is known as Plant Connectivity. This tool is used to connect different plant applications. SAP MII has a dedicated PCo connector to communicate with PCo.
In this document we will cover
PCo Panels:
Save file via PCo:
Steps:
Tag store Query
Execute the query
Result:
Read File Via PCo:
Create a notification
Subscribe the output elements
Select a destination transaction
Connect OPC Via PCo – Write Values in tag:
Connect OPC Via PCo – Send OPC Notification:
Subscribe the tags needed
Create a notification and add a trigger condition
Add the output elements
Select a destination transaction
Result:
On change on the values of the tag, the destination transition gets executed.
Note: When we create an agent, it creates an windows service.
OPC connection from MII
Configure the query Ports
Create a PCo connection in MII. * Shown above.
Create a PCo query to send data to OPC tag.
MII agent and windows Services
“Run agent instance as an executable” – In most of the implementations, we enabled this checkbox when we needed the agent to be used from an outside system like SAP MII. We also differentiated the agents by two categories:
The agents which subscribe and notifies MII are always needed to be running to keep reading the subscribed items. Whereas for the 2nd type of agents do not have any subscription item and will only listen to the port for any incoming request. So, the second type of agents does not require to run as a service always.
We realized when we enable the “Run agent instance as an executable”, the service is in stopped condition but still working as desired.
Example Screenshots below:
After categorizing the agents as above, we saw the server resource utilization decreased comparing before when we used to create the agents by disabling “Run agent instance as an executable”.
Request clarification before answering.
| User | Count |
|---|---|
| 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.