The advantages of PC-based control systems
Stephen Hayes, Managing Director of Hayes Control Systems, discusses the development of PC software systems for PLC and NC motion control.
Stephen Hayes, Managing Director of Hayes Control Systems, discusses the development of PC software systems for PLC and NC motion control.
The days of the PC being used just for visualisation and production data acquisition in control and automation applications is rapidly becoming a thing of the past.
The PC is now increasingly recognised as an open and powerful hardware platform, which can provide effective and reliable control, with no requirement for additional processors or complex hardware additions.
This recognition is being brought about by the successful development and implementation of powerful software based control solutions, designed to run on dedicated industrial PCs, with particular advantages being apparent in areas such as PLC and NC motion control.
Traditional automation and control systems typically comprise a number of hardware and software elements; a PC for process visualisation, hard PLCs with coprocessor cards, coprocessor PLCs, I/O via field bus, motion control via parallel cabling and a selection of software operating systems and programming languages.
The disadvantages of this approach being high hardware and software costs, complexity of system design and build plus, in many applications, limited functionality.
Control is now changing with the introduction of reliable and effective PC based solutions, faster processors and Windows NT 32-bit functionality.
A good illustration of the latest PC based control software is the TwinCAT system from Beckhoff, which is designed to organise task processing for position control, PLC and Windows NT simultaneously.
TwinCAT offers PLC control with real-time functionality, I/O via standard field bus, motion control synchronous with machine cycle times and open programming under the IEC 61131-3 standard.
Advantages over traditional control configurations include a centralised structure, reduced hardware costs, fewer interfaces, easy upgrade paths, full integration and high reliability.
With some PC control solutions running under Windows NT, problems can be experienced as NT is not capable of real time operation.
It is designed for optimised performance and not for control purposes, with control tasks being interrupted by events such as network operation, hard disk access and mouse movements.
Beckhoff has developed an effective solution, by working with Microsoft as a system partner, to develop the architecture of TwinCAT as an independent real time extension for Windows NT, in the form of a kernel mode driver.
With this kernel extension, TwinCAT operates on an exact time basis which executes programs with maximum priority and independently of other processor tasks that NT may be running.
This approach is particularly advantageous, as it means that NT is not modified, (patched), which occurs with some other PC based packages.
Control system engineers and developers worldwide can purchase Windows NT from any Microsoft sales channel and construct an effective and completely integrated, management, production and automation control solution on the PC.
A PC based 'soft' PLC encompasses a programming system, one or several run time environments and an I/O link that is established by a field bus.
Typically, a user interface is realised with visualisation programs, SCADA or with Visual Basic/Visual C programs.
The performance of software solutions for the PLC exceed the performance of hardware based systems, with measured speeds improving in line with the increasing capabilities of processor technology.
On an AMD K6/200 system, for example, only 17ms is needed to execute 1000 PLC commands.
In addition, operating parameters such as program size, flag memory and process image size are virtually unrestricted.
For example, the TwinCAT system, running on the latest 32-bit PC technology, enables 32 Mbytes PLC programs, with 4 Mbytes flag memory, combined with 64,000 I/O's to be easily achieved.
A conventional PLC processes programs cyclically, with inputs and outputs alternating with the processing of programs.
Execution of programs in a software based PLC, such as TwinCAT, is basically the same; i.e accurately timed, deterministic cycles of equal length, with the user interface being executed in the cycle pauses, for which computing capacity is reserved.
The performance characteristics of modern industrial PCs means that it is possible to move drives simultaneously to the PLC task, at speeds of less than 25ms per axis, enabling the positioning of dozens of axes at the same time.
PC based NC control encompasses a positioning capability (setpoint generation, position controller), an integrated PLC with NC interface, operator control programs for commissioning and a field bus established I/O link to all axes.
Data for motion control is exchanged via the field bus to the drives and from the measuring systems.
As with the PLC on the PC, a user interface is realised with visualisation applications, SCADA or with Visual Basic/Visual C programs.
With TwinCAT, PLC, NC and operating system tasks are operated simultaneously, by overlaying the tasks with a multi-tasking system.
Each task for a specific purpose operates with its own cycle time and priority Existing field bus systems can be linked quickly and easily to TwinCAT by means of a master card in the PC, with the system supporting all major protocols, including Profibus, InterBus, Lightbus, CANopen, DeviceNet and ControlNet.
The boundaries of performance for PC control are constantly expanding.
Software products such as TwinCAT offer a complete application solution for the editing, analysis and execution of control programs in real time, without the need to be an operating systems expert.
The focus being very much on the practical application of PC technology in control and automation solutions, with all the benefits it brings it terms of both costs and performance.
Not what you're looking for? Search the site.
Articles by product category
- Consultancy and Services (903)
- Machine Building (4,517)
-
Engineering Design Software (6,179)
- Engineering Design Software (12)
- 2D CAD software (200)
- 3D CAD software (1,157)
- FEA and structural analysis software (369)
- Fluid, thermal, noise, vibration software (334)
- Simulation, modelling, validation software (914)
- Rendering, visualisation, styling software (196)
- Materials design and moulding design software (151)
- Process, instrumentation, automation software (258)
- Electrical design software (164)
- Publishing and documentation software (229)
- Maths, charting, statistics, QA software (317)
- Data, document management software (310)
- CAM, CNC, production management software (568)
- File conversion software, data capture (351)
- PLM and collaboration software (649)
-
Drives, Motors and Controls (3,361)
- Drives, Motors and Controls (1)
- Precision Motors and Gears (411)
- Industrial Drives/Controls (1,276)
- Linear Drives and Motors (114)
- Industrial Motors (497)
- Stepper and Servo Drives, Motors, Controls (1,060)
- Small Mechanical Components, Joining, Tools (1,975)
-
Control and Instrumentation (5,028)
- Plantwide control (1,324)
- Plant- and Machine-Wide Communications (1,174)
- Smaller-Sized PLCs (387)
- CNC and Motion Controllers (184)
- Mid-range and Large PLCs (201)
- Power Supplies, Uninterruptible Power (562)
- HMIs/Operator Interfaces (294)
- Logic Controllers, Timers and Relays (96)
- Cabling, Conduit, Signal Conditioning (806)
-
Monitoring, Measurement and Quality (5,459)
- Monitoring, Measurement and Quality (1)
- Data acquisition Software and Communications (494)
- Data Acquisition Hardware and PC I/O Boards (472)
- Electrical and Electronic Testing, PAT Equipment (630)
- Form/co-ordinate, optical, vision instruments (703)
- Gauges, Indicators and Instruments (440)
- Data loggers (422)
- Materials testing equipment (421)
- Telecomms/network test equipment, software etc (154)
- Testing and Calibration Services and Information (500)
- Testing, analysing and monitoring equipment (1,222)
-
Electrical and Electronic Equipment Design (4,160)
- Batteries, chargers and circuit protection (555)
- Connectors, Terminals, Busbars, Slip Rings (679)
- Enclosures and Equipment Cooling Fans (709)
- Knobs, Handles and Enclosure Hardware (420)
- PCs and Embedded Systems (798)
- Electrical and Electronic Subassemblies (369)
- Electrical and Electronic Components (630)
-
Materials and Processing (2,963)
- Materials and Processing (5)
- Materials and components (2,215)
- Rapid Prototyping (458)
- Materials processing and testing (285)
-
Engineering Industry News, Resources (6,093)
- Engineering Industry News, Resources (4)
- Engineering Business News, Views (388)
- Engineering Exhibitions, Events (562)
- Engineering Conferences (425)
- Engineering Seminars (400)
- Engineering Industry Developments, Awards (633)
- Engineering Guides, Newsletters (349)
- Engineering Recruitment, Employment (219)
- Engineering Training Courses (433)
- Engineering Education, Resources, Standards (838)
- Engineering Industry Reports, Surveys (597)
- Electronic Resources for Engineers (278)
- Health and Safety Legislation (402)
- Health and Safety Strategy, Risk Assessment (113)
- Health and Safety Consultancy, Software (175)
- Health and Safety Events, Training, News (277)
-
Powertrain Design (3,598)
- Powertrain Design (2)
- Bearings (939)
- Chains and belts (326)
- Gears, brakes, couplings and engines (1,441)
- Hydraulic Components (471)
- Lubricants (418)
-
Capital Equipment (3,387)
- Capital Equipment (1)
- Manufacturing Machinery and Plant Equipment (468)
- Production line blowers and fans (62)
- Compressors and Air Treatment (510)
- Electronics Manufacturing, Tools, Instruments (192)
- Electrical hardware (131)
- Machinery and Production Equipment (1,093)
- Robotics, Handling and Storage (930)
-
Sensors (7,080)
- Sensors (8)
- Accelerometers and Vibration Sensors (427)
- Loadcells, Force Sensors, Torque Sensors (699)
- Pressure sensors (621)
- Flowmeters and Flow Sensors (618)
- Level Sensors and Leak Detectors (527)
- Linear Position Sensors (399)
- Rotary Position, Tilt and Angular Sensors (546)
- Proximity Sensors (700)
- Gas, Chemical, Radiation, Magnetic Sensors (284)
- Humidity and Environmental Sensors (152)
- Temperature sensors (612)
- Vision and Colour Sensors (1,384)
- Barcode Sensors (103)
- Valves, Pumps, Process Hardware (3,623)
