OPC Error
Hello Everyone,
I'm trying to import variables from external OPC server ( a Freelance system called System A ) into another Freelance system called System B.
I go OPC item list >> Choose "in2" variable >> Assign variable >> rename this variable.
Now, when I use "in2" variable in my Program (FBD) , i meet a error like the included image.
I really need you to help me,
Thanks,
I'm trying to import variables from external OPC server ( a Freelance system called System A ) into another Freelance system called System B.
I go OPC item list >> Choose "in2" variable >> Assign variable >> rename this variable.
Now, when I use "in2" variable in my Program (FBD) , i meet a error like the included image.
I really need you to help me,
Thanks,
Answers
Hello thanhtungle31397,
You can't use OPC variables in controller application. Only Freelance Engineering and Operation have the OPC Client functionality and as such the OPC variables can be used in visualisation only!
Hope this helps,
Mike
You can't use OPC variables in controller application. Only Freelance Engineering and Operation have the OPC Client functionality and as such the OPC variables can be used in visualisation only!
Hope this helps,
Mike
Hello,
its easier tu use TCP/IP send and Receive function blocks for exchange Variables from project to project.
Select in hardware view the Ethernet Card on a controller and ad TCP/IP-Interface Function to transfer a Structured Variable from project to project.
Ad the Ip Address of the controller to connect. Do it in both Projects (send and receive )
You must ad a Function block on a FBS to send or receive a Variable between projects.
Use a structured Variable for this. (see Handbook).
Bernd
its easier tu use TCP/IP send and Receive function blocks for exchange Variables from project to project.
Select in hardware view the Ethernet Card on a controller and ad TCP/IP-Interface Function to transfer a Structured Variable from project to project.
Ad the Ip Address of the controller to connect. Do it in both Projects (send and receive )
You must ad a Function block on a FBS to send or receive a Variable between projects.
Use a structured Variable for this. (see Handbook).
Bernd
by thanhtungle31397 Rank: 2885 on 8/13/2018 4:20:26 AM | Like (0) | Report
The error is: The variable "in2" is assigned to a resource of inadmissible type.
Add new comment