Page 1 of 1

[?]: Need help to connect PLC to Matlab

Posted: Thu Jan 28, 2010 4:56 pm
by npopov
Hy.

I have Siemens PLC S300.
He is connected to computer (which have Matlab and WinCC) with MPI.
I have PID control in PLC. The variable in PLC is in system memory. (For example Set point is type REAL and on location M4).
I have structure tag in WinCC on this location.

How can I read/write from/to this location with Matlab? I don't know from where to start.

Re: [?]: Need help to connect PLC to Matlab

Posted: Sat Jan 30, 2010 10:39 pm
by Scowl
May be OPC helps you. I know Matlab can use OPC for the communications.

Re: [?]: Need help to connect PLC to Matlab

Posted: Sun Jan 31, 2010 11:11 pm
by Dreadnoult
Scowl wrote:May be OPC helps you. I know Matlab can use OPC for the communications.
MatLab OPC Toolbox -> OPC (Tag Managment->Add New Driver->OPC.chn) -> S7-300

Re: [?]: Need help to connect PLC to Matlab

Posted: Mon Feb 01, 2010 3:41 pm
by npopov
thanks for help.