Function Block-Enabled Integration

Function Block-Enabled Integration

Xun Xu (University of Auckland, NZ)
DOI: 10.4018/978-1-59904-714-0.ch012
OnDemand PDF Download:
$37.50

Abstract

Function blocks are an IEC (International Electro-technical Commission) standard for distributed industrial processes and control systems (IEC 61499, 2005). It is based on an explicit event driven model and provides for data flow and finite state automata-based control. Based on previous research, function blocks can be used as the enabler to encapsulate process plans, integrate with a third-party dynamic scheduling system, monitor process plan during execution, and control machining jobs under normal and abnormal conditions. They are also considered to be suitable for machine-level monitoring, shop-floor execution control, and CNC control. Combination of STEP-NC and Function Blocks can be seen as a “natural marriage”. This is because the former provides an informationally complete data model but with no functionality, whereas the latter can embed intelligence and provide functionality in the data model for a more capable CNC regime. This chapter introduces the function block architecture which has been implemented in two types of integrations. The first brings together CAD, CAPP, and CAM. The key is to embed machining information in a function block system that is based on the concept of machining features. The second integration connects CAM with CNC. This is in fact an open CNC architecture that is function block driven, instead of G-code driven.
Chapter Preview
Top

Function Block Structure

Being an atomic distributable and executable control function unit, a function block instance can encapsulate a part of machining process data (e.g. slot roughing, pocket finishing, and hole drilling, etc.) for a given machining feature. It comprises of an individual, named copy of the data structure specified by its function block type, which persists from one invocation of the function block to the next. Figure 1 illustrates both the basic (left) and composite (right) function blocks.

Figure 1.

Function block structure ©2006, IEEE used with permission

A function block, especially the basic function block, can have multiple outputs with internal state information hidden. This means a function block can generate different outputs even if the same inputs are applied. This characteristic is of vital importance for automatic cutting condition generation/modification, after an NC program has been downloaded to a CNC controller, by changing the internal state of a function block (a machining process). For example, an NC program for the same pocket roughing can be used by two different milling machines with different cutting conditions, simply by adjusting the internal state variable of the function block instances. Similar to object-oriented definitions, a function block type can be considered as a class, and a particular function block is the instance of that class. For example, a pocket milling function block can be used for either roughing or finishing depending on the message received. However, different from the object-oriented approach, the behaviour of a function block is controlled internally by a state machine whose operation can be represented by an execution control chart (ECC). Each basic function block is an atomic unit for execution. Composite function blocks may require a multi-threaded concurrent execution model due to the complex event flow. The event flow determines the scheduling and execution of machining operations specified by the algorithms (methods) in basic function blocks. It can also provide signals to maintain or change the internal state variables. In terms of machining process encapsulation, basic function blocks encapsulate both the data and functions of machining process, whereas composite function blocks only encapsulate basic function blocks.

Not only can function blocks encapsulate machining processes, they can also provide support for their communications. The ECC for the state machine of a function block can be used to control their internal algorithms. Figure 2 shows a typical example of an ECC for pocket roughing (Xu, Wang & Rong, 2006). Being a (representation of a) finite state machine, an ECC is made up of EC (Execution control) states, EC transitions, and EC actions. The initial EC state, START in this example, cannot have any EC actions associated with it. The occurrence of an event input, such as PI_Init and PI_Cut, causes the ECC to be invoked and the input variables (tool#, key_para, etc.) to be mapped. The EC transitions use a Boolean combination of conditions that may be comprised of event inputs, input variables, output variables, and internal variables. A triggered EC transition causes a change of EC state and this leads to the execution of an associated EC action, Init or Cut in this case. The EC action then sends out an event, PO_Init or PO_Cut, upon completion.

Figure 2.

Execution control mechanism

It is anticipated that in the future CNC controllers may have function blocks as part of their device firmware or provide function block libraries from which function blocks can be selected and downloaded. However, to better utilize the legacy machine tools, vendor or user extensions to the standard G-codes could be encapsulated by function blocks and distributed to end-users to be directly utilized by their machining applications.

Complete Chapter List

Search this Book:
Reset
Dedication
Table of Contents
Foreword
A.Y.C. Nee
Acknowledgment
Xun Xu
Chapter 1
Xun Xu
One of the key activities in any product design process is to develop a geometric model of the product from the conceptual ideas, which can then be... Sample PDF
Geometric Modelling and Computer-Aided Design
$37.50
Chapter 2
Xun Xu
Today, more companies than ever before are involved in manufacturing various parts of their end products using different subcontractors, many of... Sample PDF
CAD Data Exhange and CAD Standards
$37.50
Chapter 3
Xun Xu
Products and their components are designed to perform certain functions. Design specifi- cations ensure the functionality aspects. The task in... Sample PDF
Computer-Aided Process Planning and Manufacturing
$37.50
Chapter 4
Feature Technology  (pages 75-89)
Xun Xu
Throughout the course of the development of CAD, CAPP, and CAM systems, unambiguous representation of a design’s geometry and topology remain an... Sample PDF
Feature Technology
$37.50
Chapter 5
Feature Recognition  (pages 90-108)
Xun Xu
Conventional CAD models only provide pure geometry and topology for mechanical designs such as vertices, edges, faces, simple primitives, and the... Sample PDF
Feature Recognition
$37.50
Chapter 6
Feature Interactions  (pages 109-125)
Xun Xu
Feature interaction tends to have a wide range of consequences and effects on a feature model and its applications. While these may often be... Sample PDF
Feature Interactions
$37.50
Chapter 7
Xun Xu
Integrated feature technology promotes a closer connection between design and manufacturing through features. When machining features are... Sample PDF
Integrated Feature Technolog
$37.50
Chapter 8
CNC Machine Tools  (pages 165-187)
Xun Xu
The introduction of CNC machines has radically changed the manufacturing industry. Curves are as easy to cut as straight lines, complex 3-D... Sample PDF
CNC Machine Tools
$37.50
Chapter 9
Program CNCs  (pages 188-229)
Xun Xu
A CNC machine can be programmed in different ways to machine a workpiece. In addition to creating the cutting program, many other factors also need... Sample PDF
Program CNCs
$37.50
Chapter 10
Xun Xu
Technologies concerning computer-aided design, process planning, manufacturing and numerical control, have matured to a point that commercialized... Sample PDF
Integration of CAD/CAPP/CAM/CNC
$37.50
Chapter 11
Xun Xu
The integration model (Model B) as discussed in the previous chapter makes use of exchangeable neutral data formats such as IGES (1980). Neutral... Sample PDF
Integration Based on STEP Standards
$37.50
Chapter 12
Xun Xu
Function blocks are an IEC (International Electro-technical Commission) standard for distributed industrial processes and control systems (IEC... Sample PDF
Function Block-Enabled Integration
$37.50
Chapter 13
Xun Xu
In order to prepare manufacturing companies to face increasingly frequent and unpredictable market changes with confidence, there is a recognized... Sample PDF
Development of an Integrated, Adaptable CNC System
$37.50
Chapter 14
Xun Xu
A logical step after CNC machining is inspection. With inspections, Closed-Loop Machining (CLM) can be realized to maximize the efficiency of a... Sample PDF
Integrating CAD/CAPP/CAM/CNC with Inspections
$37.50
Chapter 15
Xun Xu
Today, companies often have operations distributed around the world, and production facilities and designers are often in different locations.... Sample PDF
Internet-Based Integration
$37.50
Chapter 16
Xun Xu
Companies that have been practicing CAD, CAPP, CAM, and CNC integration have now realized that there is a need to operate in a much broader scope... Sample PDF
From CAD/CAPP/CAM/CNC to PDM, PLM and Beyond
$37.50
Chapter 17
Key Enabling Technologies  (pages 354-393)
Xun Xu
While computers have proven to be instrumental in the advancement of product design and manufacturing processes, the role that various technologies... Sample PDF
Key Enabling Technologies
$37.50
About the Author