The flowchart is the program

Right now in my top desk drawer along with pencils, staples, and a big bottle of antacid tablets is a large green plastic rectangle with outlines of various shapes cut from it. Protecting it is the original paper envelope which explains the meaning of those oddly shaped cutouts. Block letters proclaim: "IBM Flowchart Template.


Right now in my top desk drawer along with pencils, staples, and a big bottle of antacid tablets is a large green plastic rectangle with outlines of various shapes cut from it. Protecting it is the original paper envelope which explains the meaning of those oddly shaped cutouts. Block letters proclaim: "IBM Flowchart Template." The simple device with no moving parts has everything I need to design a complex numerical algorithm or real-time control application—processing blocks, conditional branches, control transfer points, input, output and storage functions, and a straight edge to draw lines connecting them.

NemaSoft (Ann Arbor, Mich.) offers a software version of that flowchart template in a product called OpenControl. One important difference is that when I'm finished drawing the program flowchart with OpenControl (in what its designers call Visual Flowchart Language or VFL), I'm also finished writing the program and have a ready-to-run application.

I must admit I was led off track by references in NemaSoft's web site to the IEC 61131 standard. OpenControl's VFL is not one of the five dialects specifically defined under IEC 61131 part 3. VFL fits under the ISO 5807 flowchart specification (as does my big green plastic template) and compiles into IEC 1131 Structured Text (ST) for actual execution in the Hyperkernel runtime engine. Addressing and naming conventions are faithful to IEC 1131 definitions for inputs, outputs, and memory representations for variables used in the program.

Designing a program with VFL really is as straightforward and sensible as drawing the flowchart on paper, and a lot less prone to error. I simply pull down and drop shapes from a menu to build the flowchart in a chart window. Those elements include rectangular process blocks for evaluating numerical expressions, oval-shaped program termination blocks, and diamond-shaped decision blocks for program branches and "while" or "until" loops. Filling in the content of those blocks is just about foolproof. First, I choose a verb from a long picklist (such as "Turn On," "Turn Off," "Increment," "Start," or "Stop"). There are sets of command actions for timers, string handling, motion control, serial port operations and diagnostics as well. Next, I furnish the noun by way of a tag browser and expression builder to fill in variables or expressions to be operated upon. My first attempt at writing a VFL program without reading a manual or a help file of any sort passed validation, compiled and ran with no errors or warnings; I can't remember that ever happening to me before.

Behind the graphical front end is a runtime engine called Hyperkernel. That engine seems to have done well in some demanding automotive applications. It runs under Microsoft Windows NT but actually takes over basic realtime scheduling from NT. Hyperkernel is designed to have the final say in what gets a slice of CPU time, rather than NT.

OpenControl supports a number of important field device protocols including Allen-Bradley remote I/O, DeviceNet, Honeywell SDS, Interbus-S, Modbus, Opto 22, and Profibus.

OpenControl and Hyperkernel run under Microsoft Windows NT 3.51 or 4.0 with service packs 1, 2 and 3. The company recommends at least a Pentium 100 MHz processor with 32MB RAM. An individual 256-tag run time license starts at $995; a full professional development system with unlimited tags, the full set of I/O drivers and full factory support goes for around $10,000.

For more information on OpenControl, visit .

Author Information

Contributing 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...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
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.
Go deep: Automation tackles offshore oil challenges; Ethernet advice; Wireless robotics; Product exclusives; Digital edition exclusives
Lost in the gray scale? How to get effective HMIs; Best practices: Integrate old and new wireless systems; Smart software, networks; Service provider certifications
Fixing PID: Part 2: Tweaking controller strategy; Machine safety networks; Salary survey and career advice; Smart I/O architecture; Product exclusives
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Look at the basics of industrial wireless technologies, wireless concepts, wireless standards, and wireless best practices with Daniel E. Capano of Diversified Technical Services Inc.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.

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

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control 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.