PC-Based Control Software Runs on Schedule

One of the advantages that programmable logic controllers (PLCs) have traditionally offered for the purposes of real-time control has been deterministic operations. That is, they have the ability to apply their control efforts at precisely timed intervals. This feature allows a PLC to work with sampled data, knowing that each sample represents a uniform period of process activity.

01/01/1998


One of the advantages that programmable logic controllers (PLCs) have traditionally offered for the purposes of real-time control has been deterministic operations. That is, they have the ability to apply their control efforts at precisely timed intervals. This feature allows a PLC to work with sampled data, knowing that each sample represents a uniform period of process activity.

Personal computers with conventional operating systems, on the other hand, were not originally intended to operate in real time. Most PCs respond to keyboard inputs whenever they occur and take as much time as necessary to update the screen, access the disk drives, and run programs. A PC has no means of scheduling these operations and no means of timing a series of control efforts accurately.

Several PC software vendors, including Intellution (Norwood, Mass.), have addressed this shortcoming by modifying the PC's operating system to provide deterministic operations. Intellution's PC-based control software, Paradym-31, (from the acquisition of Wizdom Controls) adapts Microsoft Windows NT to give priority to operations that must occur on schedule. Lower priority support functions are relegated to the time remaining between scans (which can be as little as 100 msec). If the user-specified scan interval turns out to be too short to allow the entire program to run, Paradym-31 automatically increases it at start-up.

Paradym-31 is based on the IEC 1131 standard. It allows users to program real-time control operations using relay ladder logic, sequential function charts, and function block diagrams. User-defined function blocks are also available for creating custom control programs in C.

Programming is accomplished graphically with all three languages. Users place graphical elements on screen to represent the operations to be performed, then connect the graphics with lines indicating the required flow of data among operations. Function-block diagrams are built from function-block graphics that represent mathematical operations, PID loops, and other continuous calculations. These are generally used to specify continuous operations where data flow from block to block non-stop.

Sequential-function charts, on the other hand, are generally used for applications where the functions represented by each block are executed periodically in a prescribed sequence. The only data that flows between the blocks is a conditional START signal that indicates when the next block in the sequence is to be executed. For relay ladder logic diagrams, the graphics depict the traditional contacts, coils, and embedded function blocks familiar to PLC users. Data flowing through the rungs of a relay ladder are the results of Boolean calculations performed by the relays.

Of the three options, I find the relay ladder logic to be the least useful, particularly for programming continuous or batch operations. Function blocks and sequential function charts are much easier to construct, debug, and maintain. In general, I find that a relay ladder program with more than a hundred rungs or so becomes virtually unintelligible to anyone but the original programmer.

In addition to real-time control, Paradym-31 offers off-line simulation. After completing a control program, users can test their logic without applying it to a real process. Simulated I/O is used instead. The simulation can be run in real time or in an accelerated time base.

Paradym-31 version 4.0 is available in three editions that offer varying degrees of functionality. All three are available with development, runtime, and execute-only licenses. A basic development package starts at $1,995. System requirements include Windows NT, a 133 MHz Pentium processor (166 MHz is recommended), 32 MByte of RAM, about 1 GByte of hard-disk space, and a hardware key. Drivers for a variety of industrial I/O products are included with the software.

For more information on Paradym-31 visit www.controleng.com/info .


Author Information

Consulting Editor, Vance J. VanDoren, Ph.D., P.E., is president of VanDoren Industries, West Lafayette, Ind.




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.
Intelligent, efficient PLC programming: Cost-saving programming languages are available now; Automation system upgrades; Help from the cloud; Improving flow control; System integration tips
Smarter machines require smarter systems; Fixing PID, part 3; Process safety; Hardware and software integration; Legalities: Integrated lean project delivery
Choosing controllers: PLCs, PACs, IPCs, DCS? What's best for your application?; Wireless trends; Design, integration; Manufacturing Day; Product Exclusive
PLCs, robots, and the quest for a single controller; how OEE is key to automation solutions.
This article collection contains several articles on improving the use of PID.
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!

Special report: U.S. natural gas; LNG transport technologies evolve to meet market demand; Understanding new methane regulations; Predictive maintenance for gas pipeline compressors
Cyber security cost-efficient for industrial control systems; Extracting full value from operational data; Managing cyber security risks
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