Software generates IEC61131 code for automation systems

The MathWorks has announced Simulink PLC Coder, a product that generates IEC61131 structured text for programmable logic controller (PLC) and programmable automation controller (PAC) devices. According to the company, this enables Model Based Design to be applied to manufacturing and power generation equipment controlled by PLCs and PACs.

With Simulink PLC Coder, engineers can generate code for industrial control systems automatically, including closed loop and supervisory control applications. Automatic code generation helps eliminate errors associated with traditional hand coding and reduces overall development and validation time. "Industrial automation is a competitive field, as companies continuously seek ways to innovate and develop more complex mechatronic industrial systems," said Tony Lennon, industrial automation and machinery industry manager. "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." Simulink PLC Coder generates 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. "By collaborating with The MathWorks, our customers gain the ability to use Model-Based Design for developing PAC applications enhancing machine performance," said Jason Weber, strategic alliance manager with Rockwell Automation. "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."