Clear Filters
Clear Filters

I have to simulations runing side by side one as a simulation and other on a real time PLC so the problem I am facing is to run both the simulation simultaneously. Is there any way to do it?

2 views (last 30 days)
Hello every one, I am using a Real time target PLC for runing a control algorithm and on the other end I have a wind turbine plant. The idea is to measure the real time analysis for the behavior of pitch control over different operating regions. So in this way It is necessary for me to run both the simulink window run at the same time. I would like to ask if there is any such way to do it. Looking forward to hear from you guys. I hope I clear my point. Now looking forward for some help.
Regards

Answers (1)

Sam McDonald
Sam McDonald on 8 Sep 2017
Edited: Sam McDonald on 8 Sep 2017
If you are interested in real-time testing using your PLC target hardware, we recommend using Simulink Real-Time to deploy your Simulink model onto a real-time Speedgoat target (or custom target PC). Your model, running in real-time, can then establish communication between the PLC using a protocol available to both target computers (i.e. TCP, EtherCAT). I believe this would satisfy your need to "run both simulations simultaneously."
MathWorks products for real-time simulation include:
Here are some links to get started:

Categories

Find more on Simulink PLC Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!