Communication between matlab and B&R PLC

3 ビュー (過去 30 日間)
himanshu
himanshu 2012 年 12 月 13 日
Hi,
I have just started to learn PLCs. I want to set up a communication between plcs and matlab. Can anyone help me in this field. Basically i want to exchange the data set in PLC variables and store it in the PC.
Regards, himanshu

回答 (1 件)

Frederik
Frederik 2012 年 12 月 13 日
編集済み: Frederik 2012 年 12 月 13 日
Hi Himanshu, I have never worked with B&R PLCs, but I have done the same with Siemens Products. The Method should work for you too.
  • Collect all your Data on your PLC
  • Send the data via TCP or UDP to your PC
  • Use one of the Matlab-Toolboxes which provides network-functionality (the free one from Peter Rydesäter: http://www.mathworks.com/matlabcentral/fileexchange/345 is fine) to receive all your Data
  • do some Post processing (converting Big/little Endian, split Data etc) in Matlab/Simulink
hope that helps
Fred

カテゴリ

Help Center および File ExchangeSimulink PLC Coder についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by