From: Gül Begüm Semis on
I'm also dealing with the same issue.

From the researches I've made, I can see that there are 2 ways to communicate matlab and plc. one of them is the opc toolbox in matlab and the otherone is another software by a company you can search it as M2PLC
however, since i am a beginner in matlab I couldn't solve my problem.
They might be helpful .
"Vihang Patil" <vihang_patil(a)yahoo.com> wrote in message <fgf4m2$4ad$1(a)fred.mathworks.com>...
> Hello Readers
> I am interested to know if there is any way to interface a
> PLC with Matlab.
> I have made some ladder logic programs in a PLC and I have
> attached it to the computer through the serial
> communication.
> Now, when I put the PLC in run mode, I want to see the
> values from the PLC in a GUI I made in Matlab. Is this
> possible?
> Also can I pass values from Matlab to the PLC.
> Please guide..
> Thanks
> Vihang
From: Vihang Patil on
Thanks Gül
As you have suggested I have tried the OPC toolbox and have successfully interfaced Mitsubishi and Delta PLC to matlab using OPC server.
I will post a sample program to the File Exchange shortly..
Vihang


"Gül Begüm Semis" <begumsemis(a)gmail.com> wrote in message <hpacfh$jci$1(a)fred.mathworks.com>...
> I'm also dealing with the same issue.
>
> From the researches I've made, I can see that there are 2 ways to communicate matlab and plc. one of them is the opc toolbox in matlab and the otherone is another software by a company you can search it as M2PLC
> however, since i am a beginner in matlab I couldn't solve my problem.
> They might be helpful .