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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.