System integration: Model-based design tools write control software for industrial equipment

A partnership between Rockwell Automation and The MathWorks helps PLC-based machine builders benefit from simulation software, reducing design time 50%.

03/08/2010


 

Machine builders have a new design software tool that can write the related automation software, saving 50% in design time. Approached by a wind turbine manufacturer about a year ago, engineers at Rockwell Automation were asked, "Can you get ControlLogix to run

 

Simulink_PLC_Coder_from_The_MathWorks

Simulink PLC Coder from The MathWorks lets users create model-based designs in Simulink (left) that become IEC 61131-3 structured text at the touch of a button (center). RSLogix takes that text and produces executables for machines controlled by Rockwell Automation PLCs.

 

C code?" Separately-and successfully-Matlab and Simulink software from The MathWorks Inc. was generating C, C++, VHDL and Verilog code from models, which would be run on PC-based control systems. Such model-based design reduces programming errors and speeds development time by allowing code to be quickly tested and changed.

Following a few months of integration and negotiation, The MathWorks developed a tool to transform its model-based designs into code for programmable logic controllers (PLCs) called Simulink PLC Coder .

Tom Erkkinen, Simulink PLC Coder product manager for The MathWorks, and Jason Weber, strategic alliance manager for Rockwell Automation, sat down with Control Engineering to talk about the partnership, and the product's advantages for machine builders, system integrators, and end-users of PLCs.

The partnership made a lot of sense from both perspectives. "Matlab owns the wind turbine space," said Weber, "but their software only ran on PC-based hardware." Erkkinen said, "We learned that if The MathWorks wants to support industrial automation as a whole, we have to support PLCs. I cannot go to industrial customers and not do this."

The MathWorks software is used to design, simulate, test and validate complex mechatronic systems built on PC-based controls. Development involves creating models that capture electrical, mechanical, controls and process parameters in a block diagrams and algorithms that show the interrelationships. As the models are run, the software creates plots and captures data that generates code for algorithms, and also generates code for test cases. This lets machine builders test and validate system design before generating executable code for a specific hardware platform, such as microcontrol units (MCUs) and field programmable gate arrays (FPGAs).

The MathWorks doesn't handle the executable code portion of the process. "We don't produce compilers," said Erkkinen. "so we needed Rockwell to get us to the hardware. PLCs are a unique animal, but given our software architecture, it was fairly easy to leverage our coder for a new language. That means it's not a version 1 coder. Its roots go back to 1992."

The hardware, in this case, is ControlLogix PACs using RSLogix 5000 software. Simulink PLC Coder takes the Matlab or Simulink algorithms and generates IEC 61131 structured text (ST). RSLogix 5000 takes ST and produces an executable for the PLC. "It also produces‘hooks' that link back to the algorithms, which show that the model matches the executable code generated, as well as [produces] code for test cases," said Weber. "Once in RSLogix, I can compare test case results. Now I know that what I implemented matches my model."

Such model-based design has many benefits:


•kkinen and Weber.






•ior, according to an Aberdeen study, "System Design: New Product Development for Mechatronics," cited by Erkkinen.

Weber added, "Simulink PLC Coder software from The MathWorks makes Rockwell Automation products more valuable. By bi-directionally synchronizing software tools, our customers will be able to make changes very quickly and improve communications among those involved."

The MathWorks is the latest in a series of Rockwell Automation software supplier partnerships. Other partnership companies include Dassault Systemes and ePlan .

Also see from Control Engineering :
- The MathWorks releases version 2010a of Matlab, Simulink products

- Information control channel.

- The MathWorks targets PLCs/PACs with new Simulink PLC Coder .

- Mark T. Hoske, editor in chief, and Renee Robbins, senior editor, Control Engineering



No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Hannover Messe 2016: Taking hold of the future - Partner Country status spotlights U.S. manufacturing; Honoring manufacturing excellence: The 2015 Product of the Year Winners
Inside IIoT: How technology, strategy can improve your operation; Dry media or web scrubber?; Six steps to design a PM program
World-class manufacturing: A recipe for success: Finding the right mix for a salad dressing line; 2015 Salary Survey: Manufacturing slump dims enthusiasm
Getting to the bottom of subsea repairs: Older pipelines need more attention, and operators need a repair strategy; OTC preview; Offshore production difficult - and crucial
Digital oilfields: Integrated HMI/SCADA systems enable smarter data acquisition; Real-world impact of simulation; Electric actuator technology prospers in production fields
Special report: U.S. natural gas; LNG transport technologies evolve to meet market demand; Understanding new methane regulations; Predictive maintenance for gas pipeline compressors
Warehouse winter comfort: The HTHV solution; Cooling with natural gas; Plastics industry booming
Managing automation upgrades, retrofits; Making technical, business sense; Ensuring network cyber security
Designing generator systems; Using online commissioning tools; Selective coordination best practices

Annual Salary Survey

Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.

There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.

But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.

Read more: 2015 Salary Survey

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.
This article collection contains several articles on the vital role that compressed air plays in manufacturing plants.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.
click me