Bill Chou, MathWorks
Simulink PLC Coder™ generates hardware-independent IEC 61131-3 Structured Text and Ladder Diagrams from Simulink® models, Stateflow® charts, and MATLAB® functions. Simulink PLC Coder generates Structured Text in a variety of file formats widely used by third-party integrated development environments (IDEs), including:
Simulink PLC Coder generates Ladder Diagrams in a variety of file formats used by third-party IDEs, including:
As a result, you can compile and deploy your application to numerous programmable logic controller (PLC) and programmable automation controller (PAC) devices.
Simulink PLC Coder generates test benches that help you verify the Structured Text and Ladder Diagrams using PLC and PAC IDEs and simulation tools. It also provides code generation reports with static code metrics and bidirectional traceability between model and code. Support for industry standards is available through IEC Certification Kit (for IEC 61508 and IEC 61511).
Simulink PLC Coder creates a code generation report for examining the generated code for your Simulink model. The report includes a code interface description, traceability report, and display of generated source files and code. Bidirectional links between the model and the generated code make it easy to navigate between every line of code and its corresponding Simulink model element. The report also contains static code metrics that list information such as lines of code, global variables, global constants, and function block information.