Choosing a Machine Control Architecture
Overview
This document describes machine control applications and discusses some of the factors to consider when building a LabVIEW-based machine control system.
Table of Contents
Machine Control Applications
Machine control systems typically combine a human-machine interface (HMI) and a real-time control system. Real-time controllers provide reliable, predictable machine behavior, while HMIs provide the machine operator with a graphical user interface (GUI) for monitoring the machine's state and setting its operating parameters.
In a typical machine control system, the control system is implemented using a PLC- or PAC-based controller. Baseline controller functionality includes:
-
Analog and digital I/O
-
A current value table for sharing variable (tag) values
-
A sequencing engine that defines the machine behavior
-
An output forcing option for debugging the machine hardware
In addition to these PLC-class capabilities, PACs support more sophisticated functionality such as
-
High-speed data acquisition and analysis
-
Motion control
-
Vision/inspection
-
Custom I/O behavior
-
Touchscreen operation
-
A paged display system with navigation controls
-
Data entry objects (buttons, keypads, etc.)
-
Alarm/event displays and logs
Control System Configurations
The simplest machine control system consists of a single controller running in a "headless" configuration.
Figure 1. A headless controller
This configuration is used in applications where an HMI is not needed except for maintenance or diagnostic purposes.
The next level of system capability and complexity adds an HMI or additional controller nodes.
Figure 2. A local machine control system
This configuration is typical for machines that are controlled by a local operator.
Complex machine control applications may involve many controllers and HMIs. They often involve a high-end server that acts as a data logging and forwarding engine.
Figure 3. A distributed machine control system
This system configuration supports physically large or complex machines. It can allow an operator to interact with the machine from various locations or it can be used to distribute specific monitoring and control responsibilities among a group of operators.
Using LabVIEW in a Machine Control Application
-
LabVIEW Shared Variables: Tag value sharing between processes and across the network
-
LabVIEW Touch Panel module: HMI support for Windows CE targets
-
LabVIEW Real-Time module: Deterministic control behavior
-
NI-DAQmx: Off-the-shelf I/O for PCs and PXI systems
-
NI-FP: Off-the-shelf I/O for Compact Fieldpoint
-
LabVIEW FPGA module: Customizable I/O for PC-, PXI- or cRIO-based controllers
-
LabVIEW Datalogging and Supervisory Control (DSC) module: Data logging, alarming, security, and scaling for Shared Variables
Considerations in Choosing Target Hardware
Low Cost
-
cFP and cRIO embedded are the lowest cost options for machine controllers
-
WindowsCE-base touch panel computers are the lower cost option for HMIs
Ruggedness
-
cRIO embedded is the smallest and most rugged form factor for machine controllers. cFP is a close second
-
Touch panel computers are designed for NEMA-style enclosures
Features/Performance
-
Multi-core/higher speed processors are available in the PC and PXI form factor
-
RIO and cRIO-based I/O provide more options for signal conditioning and customizable I/O behavior
Channel count
-
PXI- and PC-based controllers provide better processors and more I/O slots for higher channel count applications
Software
-
PC or PXI targets running MS Windows XP or VISTA support a broader variety of software options such as LabVIEW DSC and a fuller set of features for building HMIs
Where to Go From Here
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
