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.
[?]: Need help to connect PLC to Matlab
-
- Posts: 50
- Joined: Sun Nov 27, 2005 7:46 pm
- Location: Russia
Re: [?]: Need help to connect PLC to Matlab
May be OPC helps you. I know Matlab can use OPC for the communications.
-
- Posts: 12
- Joined: Thu Jan 28, 2010 5:15 am
- Location: Russia, Sakhalin Island
Re: [?]: Need help to connect PLC to Matlab
MatLab OPC Toolbox -> OPC (Tag Managment->Add New Driver->OPC.chn) -> S7-300Scowl wrote:May be OPC helps you. I know Matlab can use OPC for the communications.
-
- Posts: 2
- Joined: Thu Jan 28, 2010 4:47 pm
Re: [?]: Need help to connect PLC to Matlab
thanks for help.