The MathWorks targets PLCs/PACs with new Simulink PLC Coder
New product generates IEC 61131 structured text, helping machine builders use model-based design to create mechatronic systems, including those based on Rockwell Automation PLCs/PACs. Simulink PLC Coder generates source code in structured text format from Simulink models, Stateflow charts, and Embedded MATLAB code, and then uses an integrated development environment (IDE) from an industrial automation vendor to compile the code and run it on a PLC or PAC.
Renee Robbins
Also see - Software: The MathWorks releases version 2010a of Matlab, Simulink product families
|
The MathWorks has announced Simulink PLC Coder, a new product that generates IEC 61131 structured text for programmable logic controllers (PLCs) and programmable automation controllers (PACs). This advancement enables model-based design for manufacturing and power generation equipment controlled by PLCs and PACs, including those from Rockwell Automation.

MathWorks products (shown in blue boxes) now generate both structured text and C code, facilitating model-based design, test and implementation of PLC-based systems.
Simulink PLC Coder generates source code in structured text format from Simulink models, Stateflow charts, and Embedded MATLAB code, and then uses an integrated development environment (IDE) from an industrial automation vendor to compile the code and run it on a PLC or PAC. The first automation vendor The Mathworks partnered with on this is Rockwell Automation.
"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 at The MathWorks. "Our customers recognize 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."
With Simulink PLC Coder, engineers can automatically generate code for industrial control systems, including closed-loop and supervisory control applications. Automatic code generation, an integral part of model-based design, helps eliminate errors associated with traditional hand coding, and reduces overall development and validation time.
Jason Weber, strategic alliance manager at Rockwell Automation, says that 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."

Model-based design is one virtual design and production method that integrates the various aspects of system design. Source: Rockwell Automation
The MathWorks' Matlab is a programming environment for algorithm development, data analysis, visualization, and numeric computation. Simulink is a graphical environment for simulation and model-based design of multidomain dynamic and embedded systems. These products historically have generated C code, and have been used extensively in PC-based controls. The addition of structured text output extends the benefits of model-based design to controls engineers more familiar with PLC/PAC products, such as those based on Rockwell Automation's RSLogix. www.mathworks.com/products/sl-plc-coder
Read more from Control Engineering about:
- PLC programming and batch configuration ;
- Speaking in Tongues: Understanding the IEC 61131-3 Programming Languages ;
- Edited by Renee Robbins, senior editor, Control Engineering , www.controleng.com
Case Study Database
Get more exposure for your case study by uploading it to the Plant Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.
These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.
Click here to visit the Case Study Database and upload your case study.
2012 Salary Survey
In a year when manufacturing continued to lead the economic rebound, it makes sense that plant manager bonuses rebounded. Plant Engineering’s annual Salary Survey shows both wages and bonuses rose in 2012 after a retreat the year before.
Average salary across all job titles for plant floor management rose 3.5% to $95,446, and bonus compensation jumped to $15,162, a 4.2% increase from the 2010 level and double the 2011 total, which showed a sharp drop in bonus.












