Simulink PLC Coder

Generate Structured Text

Generate hardware-independent IEC 61131-3 Structured Text from your Simulink models containing blocks, Stateflow charts, and MATLAB code.

Import and Generate Ladder Diagrams

Import Rockwell Automation® Studio 5000 Ladder Diagrams into Simulink for simulation and verification. Generate Ladder Diagrams from Simulink models for Studio 5000.

Support for Third-Party IDEs

Generate Structured Text in file formats used by third-party IDEs, including Siemens® STEP 7/TIA Portal, Rockwell Automation Studio 5000, Mitsubishi Electric MELSOFT GX Works3, 3S CODESYS®, and PLCopen XML.

Code Optimization

Apply optimizations that reduce memory size and increase execution speed of the generated Structured Text and Ladder Diagrams for your hardware and IDE.

Commenting, Bidirectional Tracing, and Documenting Code

Add comments and bidirectionally trace model components to generated code for debugging and code reviews.

Code Test and Verification

Generate a test bench to verify Simulink simulation results match results in PLC within an acceptable tolerance.

“Using Model-Based Design, we were able to immediately implement model predictive control into the PLC through automatic code generation.”

Yusuke Sugiuchi, Shibaura Mechatronics Corporation