Search the Community
Showing results for tags 'Matlab; OPC; Simulation'.
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?