How to get data from OPC UA to CB (Control Builder).
Hello,
I am using OPC UA with 800xA and i got the values or data to 800Xa by uploading the OPCUA server. And i am getting values in graphics.
But i need to use the same variables or data in control builder.
Is it possible to get the data to control builder without using CI874?
I am using OPC UA with 800xA and i got the values or data to 800Xa by uploading the OPCUA server. And i am getting values in graphics.
But i need to use the same variables or data in control builder.
Is it possible to get the data to control builder without using CI874?
Answers
Hello,
You can use 'Property Transfer Definition' aspect for copying live values from OPC to variables in AC800M, both in Control Structure.
Place the Property Transfer Definition at target object. E.g. if you want to write into global variables , place the Property Transfer Definition into Application object in Control Structure.
Settings in the aspect:
Target Aspect is 'Application', 'Control module', 'Program' or 'Diagram' depends in which POU type is Property Transfer located.
Target property is the variable you want to write to.
Source expression is reference to source OPC item. For example $'[Control Structure]Root/path to OPC/Generic OPC object:OPC_item'
Use Abs.Deadband to reduce data throughput.
Remember Property Transfer is not suitable for large data amounts. It works fine for several tens variables.
Property Transfer needs own service definition in Service structure.
This procedure works with standard OPC DA. I believe it can be used also reading from OPCUA however I don't have experience with.
You can use 'Property Transfer Definition' aspect for copying live values from OPC to variables in AC800M, both in Control Structure.
Place the Property Transfer Definition at target object. E.g. if you want to write into global variables , place the Property Transfer Definition into Application object in Control Structure.
Settings in the aspect:
Target Aspect is 'Application', 'Control module', 'Program' or 'Diagram' depends in which POU type is Property Transfer located.
Target property is the variable you want to write to.
Source expression is reference to source OPC item. For example $'[Control Structure]Root/path to OPC/Generic OPC object:OPC_item'
Use Abs.Deadband to reduce data throughput.
Remember Property Transfer is not suitable for large data amounts. It works fine for several tens variables.
Property Transfer needs own service definition in Service structure.
This procedure works with standard OPC DA. I believe it can be used also reading from OPCUA however I don't have experience with.
by prashanth.bs1 Rank: 3530 on 11/21/2019 1:35:38 AM | Like (0) | Report
Thank you both
Add new comment