Jump to content

Help connecting Vision 130 throught OPC server to Matlab (OPC toolbox)


Recommended Posts

Greetings,

 

Thank you for the attention to this post, and any advice on this topic.

 

The topic is, of course, the connection between the Vision 130, thought the OPC server, to Matlab, in order to simulate a simple process in Matlab, using that process to tune a PID controller in the PLC, give value to certain sensors, and to serve as a simulation of a physical plant which the PLC controls, in  order to make my graduation project much easier to write ( it's a program to control a natural gas liquids removal plant), and to have something tangible, something live, something which can be used to see and understand the process, not to mention to facilitate a much greater ease in writing the program and debugging it, a much easier task once I have a simulation of a plant running in Matlab.

 

So far I have managed to connect the PLC to the UniOPC server, to define the UniOPC in Matlab's OPC toolbox block, but I can't see a list of variables in the controller there, nor do I know how can I define the individual variables there, is there a specific way in which I can write the address of the Memory Integers, some specific syntax that I can use in order to import them into the OPC toolbox in Matlab, how does one usually imports the variables from the UniOPC to a SCADA system?

 

I have also tried using Matricon OPC explorer, but for some strange reason, it also could not find any variable or tags or from the UniOPC server, it has just connected to the UniOPC, yet failed to list any variables.

 

How does one actually transfers variables from the UniOPC to a SCADA?

How can I transfer variables to Matlab and back?

post-21887-0-65424200-1388011212_thumb.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...