How to write ladder logic in Simulink?

2 次查看(过去 30 天)
I've used Matlab for many years now. Back in the early 1990's, as a control systems engineer, I used ICOM software very effectively to write PLC programs and emulate them. I would like to actually write ladder logic and see it operating in emulation mode like I used to do with ICOM which was bought by Rockwell and never was quite as good and a lot more expensive. Anyway, it may be wishful thinking, but it would be nice to be able to write and run "live" in emulation mode like I used to do (in ICOM and early RSlogic) plus add all the great stuff Matlab and Simulink have to offer. Logic is really easy to see in the ladder graphic versus the CS if-then and-or text style. I may have missed something, but it appears that the efforts so far have been to convert "if-then" logic to PLC code rather than utilize the power of a ladder "circuit" graphic coding environment. Hopefully its already there and I've just missed it. Thanks, John Rodgers

采纳的回答

Kiran Kintali
Kiran Kintali 2019-4-22
Hi John,
Can you please check the capability to import and generate ladder diagrams in Simulink PLC Coder?
Import Rockwell Automation Studio 5000 Ladder Diagrams into Simulink for simulation and verification. Generate Ladder Logic for CODESYS, Studio 5000, and PLCopen XML formats. Validate generated Ladder Diagrams by generating and executing the test bench running on the IDE’s emulator.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ladder Diagram Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by