Function Blocks Make Motion Easier
The PLCopen Motion Control Specification harmonizes the access of motion-control functionality across platforms, explains Eelco van der Wal, managing director of PLCopen (www.plcopen.org), Zaltbommel, The Netherlands. âIn this way, the generated application program is much more hardware independent and reusable across different architecturesâfor instance, from centralized to distributed or integrated to networked control.â He adds that the integration of motion control and logic on one platform helps users to add motion-control functionality much more easily.
Noting that the specification provides a programming standard widely supported by industry, with around 30 platforms certified, van der Wal says his organization designed the specification for more than one application. âIt will serve as a basic layer for ongoing definitions in different areas. As such, it is open to existing and future technologies.â
Through its Technical Committee 2âTask Force Motion Control, PLCopen defines common libraries of function blocks for specific applications such as safety and motion control. âThis standardization integrates safety aspects and/or motion control with industrial control. As such, it provides a common look-and-feel to the usersâthe programmers as well as installation and maintenance people,â van der Wal states. With multiple implementations of this library, reusability of software and scaling of the control system are much easier, even across different architectures and/or controller brands, he explains.
One of PLCopenâs core activities focuses around the International Electrotechnical Commissionâs IEC 61131-3 standard for programmable logic controllers. âIt harmonizes the way people design and operate industrial controls by standardizing the programming interface,â van der Wal explains. That standard defines the Sequential Function Chart (SFC) language, used to structure the internal organization of a program, as well as four interoperable programming languages: Instruction List, Ladder Diagram, Function Block Diagram and Structured Text.
âThe SFC is like a file cabinet specifically designed with enough pockets to hold the modular [software] code that describes a particular machine,â notes Tom Jensen, technical evangelist for Schaumburg, Ill.-headquartered Elau Inc. (www.elau.com). âIf Iâm troubleshooting, with ladder logic or Structured Text, I may have to read 1,000 lines of code before I understand how the machine operates,â he explains.
Provide program structure
But with SFCâwhich Jensen emphasizes is structure, not languageâthe end-user has a better alternative to get to a problemâs source. If, in the scenario above, which could be for a servo motor, the jump from the main ladder was to a subroutine with even more logic, the superior choice would be a Function Chart with those hundreds of lines of ladder logic in its subroutine, he asserts. âThat subroutine would be a Function Block. Then, within the Sequential Function Chart, the Function Block becomes a unique file.â
Those PLCopen Function Blocks offer many advantages, emphasizes Rami Al-Ashqar, product manager, electric drives and controls, Bosch Rexroth Corp. (www.boschrexroth-us.com), Hoffman Estates, Ill. One major advantage is simplicityâor ease-of-useâfor the motion-controllerâs programmer and also the machineâs inheritors. Efficiency is another major advantage. âA ladder-logic program will be a lot more efficient if it is used in conjunction with PLCopen Motion Function Blocks,â Al-Ashqar asserts. Too, he says thereâs more consistency because the PLCopen Motion Function Blocks conform to IEC 61131-3.
PLCopen continues to work on its motion-control Function Blocks. Van der Wal expects Version 0.99 of Part 4, Interpolation, to be released in late November, around the time of the SPS/IPC/Drives 2006 show in Nuremberg, Germany. âInterpolation brings the work in motion control to a new level,â he notes. âPart 4 is focused on the coordinated multi-axes motion in three-dimensional space.â
C. Kenna Amos,[email protected], is an Automation World Contributing Editor.

