Structured programming for Quantum PLCs

As a system integrator I suppose I should love relay ladder logic. It lets me write long strings of code with no apparent structure which only I can maintain and extend. There is no greater sense of job security than knowing that clients must call me back in any time something goes wrong with the code.

05/01/1998


As a system integrator I suppose I should love relay ladder logic. It lets me write long strings of code with no apparent structure which only I can maintain and extend. There is no greater sense of job security than knowing that clients must call me back in any time something goes wrong with the code.

The IEC 1131 standard, Part 3, may give those clients an alternative. Groupe Schneider (North Andover, Mass.), parent company of Telemecanique, Square D, and Modicon, now offers a programming package which adheres to the intent and detail of that standard. The package is called Concept, and it brings all five IEC 1131 dialects to the Quantum line of PLCs.

A Concept program is structured in "sections" according to language type. A user can still do everything in one language, in one large section, and live with the difficulty of debugging and maintaining such a thing. With this type of product, though, the control program can be broken down into sections of appropriate language types to match the major control functions in the process.

A structured text section can deal with massive data or numerical analysis, Function Block Diagram (FBD) sections can handle continuous control strategies, and complex logic decisions are left for ladder diagrams. Sequential Function Chart (SFC) is there for batch supervision, and for machine-level thinkers there is Instruction List . There is a separate configuration dialogue to set the execution order of those sections when the application is running.

In the SFC editors, I looked for some way to write simple decision code directly in the chart objects, but in Concept the SFC steps and transitions can act on and reference individual Booleans only. Action code to process those Booleans must be written in a separate section; care must be taken to use sensible, traceable tag name conventions.

The FBD editor is a fairly intuitive graphical design tool. Advanced analog control blocks such as filters, lead/lag compensators, and several forms of the PID algorithm are available in an optional extended function block library. Some blocks have an intimidating number of options to configure, but on-line help reveals the math, dynamics, and intent behind the options if you take the time to read it.

Concept's designers apparently devoted a lot of thought to the idea of hiding complexity: the ability to write a complex, detailed function, encapsulate it in block form, and then reuse it freely without constantly having to think about the insides of the "box." They provide a separate development environment for building those Derived Function Blocks (DFBs) . The DFB tool works and feels like the full program development environment, but its output is a neatly packaged user-defined function block. DFBs can then be used in a program just like factory library blocks.

Complexity in plant data can be managed by way of derived data types. Complex data arrays of mixed types can be bundled together under a single structure name. This is a good way to deal with complex recipes, report information, or standardize the data interface to a drive or motion controller.

Concept runs under Microsoft Windows 3.11 or Windows 95. It requires at least an 80386 processor with 4 MB of RAM, 15 to 30 MB of available hard disk space, a 1.44 MB floppy and, optionally, a CD-ROM drive. A VGA or better display is required. Connection to the Quantum PLC can be by way of a serial port or Modbus Plus adapter card.

For more information on Concept, visit www.controleng.com/info .


Author Information

Consulting Editor, Jay R. Jeffreys, P.E. is senior systems engineer at Industrial Systems Design, Johnson City, Tenn.




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...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
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.
Big Data and IIoT value; Monitoring Big Data; Robotics safety standards and programming; Learning about PID
Motor specification guidelines; Understanding multivariable control; Improving a safety instrumented system; 2017 Engineers' Choice Award Winners
Selecting the best controller from several viewpoints; System integrator advice for the IIoT; TSN and real-time Ethernet; Questions to ask when selecting a VFD; Action items for an aging PLC/DCS
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.

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

Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
click me