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
댓글 수: 0
채택된 답변
Kiran Kintali
2019년 4월 22일
Hi John,
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ladder Diagram Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!