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.


Also see - Software: The MathWorks releases version 2010a of Matlab, Simulink product families

- Partnership helps PLC-based machine builders benefit from simulation software, reducing design time 50%.


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.

The MathWorks model-based design process for PLC systems

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."

Rockwell Automation illustration of Virtual Design and Production Process

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.

Read more from Control Engineering about:

- PLC programming and batch configuration ;
- Speaking in Tongues: Understanding the IEC 61131-3 Programming Languages ;

- PLC/PAC Product Channel .

- Edited by Renee Robbins, senior editor, Control Engineering ,

No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Learn how to create value with re-use; gain productivity with lean automation and connectivity, and optimize panel design and construction.
Machine design tips: Pneumatic or electric; Software upgrades; Ethernet advantages; Additive manufacturing; Engineering Leaders; Product exclusives: PLC, HMI, IO
Industrial wireless cyber security: More complex than black and white; IIoT at the I/O level; Process modeling; Cyber security research
Robotic advances: Software, form factors; System-based ROI; Embedded control; MES and information integration; SCADA and cyber security; Position sensor; Controller, I/O module
Learn how Industry 4.0 adds supply chain efficiency, optimizes pricing, improves quality, and more.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Drilling for Big Data: Managing the flow of information; Big data drilldown series: Challenge and opportunity; OT to IT: Creating a circle of improvement; Industry loses best workers, again
Pipeline vulnerabilities? Securing hydrocarbon transit; Predictive analytics hit the mainstream; Dirty pipelines decrease flow, production—pig your line; Ensuring pipeline physical and cyber security
Cyber security attack: The threat is real; Hacking O&G control systems: Understanding the cyber risk; The active cyber defense cycle

(copy 5)