MathWorks recently announced the introduction of the Simulink PLC Coder, a new product that generates IEC 61131 structured text for programmable logic controllers (PLC) and programmable automation controllers (PAC).
This advancement enables Model-Based Design for manufacturing and power generation equipment controlled by PLCs and PACs.
Engineers can automatically generate code for industrial control systems, including closed-loop and supervisory control applications using the Simulink PLC Coder. As an integral part of Model-Based Design, automatic code generation helps to eliminate errors associated with traditional hand coding and helps to minimise overall development and validation time.
Andrew Clay, Managing Director at The MathWorks Australia, explained “Industrial automation is a competitive field as companies continuously seek ways to innovate and develop more complex mechatronic industrial systems. Our customers recognise that Model-Based Design with automatic code generation is the best way to design and validate these complex systems that span electrical, mechanical and control system domains. This approach enables them to succeed.”
The Simulink PLC Coder produces source code in structured text format from Simulink models, Stateflow charts, and Embedded MATLAB code. It then uses an integrated development environment (IDE) from an industrial automation vendor to compile the code and run it on a PLC or PAC commonly used to control machinery.
MathWorks is working closely with leading industrial automation vendors, including Rockwell Automation and B&R to assist users integrate Model-Based Design with their industrial equipment development efforts.
Jason Weber, Strategic Alliance manager at Rockwell Automation, said, “By collaborating with The MathWorks, our customers gain the ability to use Model-Based Design for developing PAC applications enhancing machine performance. Model-Based Design aligns closely with our Virtual Design and Production strategy which allows customers to speed time to market, reduce engineering costs and further validate machines before production."
Philipp Wallner, Mechatronics Technologies lead developer at B&R Industrial Automation, explained that Model-Based Design opens a new development approach for customers validating the integration of electromechanical and control systems for industrial equipment
“Automatic code generation speeds up testing and deployment to the final system. Simulink PLC Coder complements B&R Automation Studio Target for Simulink, letting our customers chose between generating structured text and C-code, depending on the needs of their application.”
Simulink PLC Coder is available immediately.