Thread Subject: need to interface PLC with Matlab

Subject: need to interface PLC with Matlab

From: Vihang Patil

Date: 2 Nov, 2007 12:20:18

Message: 1 of 7

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

Subject: need to interface PLC with Matlab

From: Gül Begüm Semis

Date: 4 Apr, 2010 15:50:09

Message: 2 of 7

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@yahoo.com> wrote in message <fgf4m2$4ad$1@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

Subject: need to interface PLC with Matlab

From: Vihang Patil

Date: 20 Apr, 2010 11:37:04

Message: 3 of 7

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@gmail.com> wrote in message <hpacfh$jci$1@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 .

Subject: need to interface PLC with Matlab

From: Ana

Date: 7 Dec, 2011 20:51:09

Message: 4 of 7

"Vihang Patil" <vihang_patil@yahoo.com> wrote in message <hqk3l0$ig$1@fred.mathworks.com>...
> 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@gmail.com> wrote in message <hpacfh$jci$1@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 .

Subject: need to interface PLC with Matlab

From: Ana

Date: 7 Dec, 2011 20:51:09

Message: 5 of 7

"Vihang Patil" <vihang_patil@yahoo.com> wrote in message <hqk3l0$ig$1@fred.mathworks.com>...
> 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@gmail.com> wrote in message <hpacfh$jci$1@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 .

Subject: need to interface PLC with Matlab

From: Ana

Date: 8 Dec, 2011 11:54:09

Message: 6 of 7

Where did you upload the archive? I need it. Can you sent me the archives? please

Subject: need to interface PLC with Matlab

From: Vihang Patil

Date: 16 Dec, 2011 14:37:08

Message: 7 of 7

"Ana " <anagh@ula.ve> wrote in message <jbq8h0$8rh$1@newscl01ah.mathworks.com>...
> Where did you upload the archive? I need it. Can you sent me the archives? please

The OPC server - client demo is present for download at the following link

http://www.mathworks.in/matlabcentral/fileexchange/27788-opc-serverclient-demo

Vihang

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
plc Samuel Gutierrez 29 May, 2009 02:29:03
communication Vihang Patil 2 Nov, 2007 08:25:06
matlab Vihang Patil 2 Nov, 2007 08:25:06
plc Vihang Patil 2 Nov, 2007 08:25:06
rssFeed for this Thread

Contact us at files@mathworks.com