05 Numerical Control 1 - Structure, Programming, CAM Flashcards
Components of Control Systems
- Supervisory Control and Data Acquisition Layer (SCADA)
- Human Machine Interface Layer
- I/O Layer
- Drive Layer
Components of Control Systems: SCADA Layer
a. Manufacturing Execution System (MES) distributes manufacturing orders and corresponding data, incl. NC programs and cutting tool lists/tables
b. Network communication by e.g. Industrial Ethernet or PROFINET
Components of Control Systems: Human Machine Interface Layer
a. PC-based console with standard operating system allowing for a simplified exchange of data via internal network
b. Local interface for the machine operator
Components of Control Systems: I/O Layer
a. For communication at the sensor and actor layer standards like PROFIBUS-DP are utilized
b. NC and Programmable Logic Control (PLC) are physically separated, but synchronized and share tasks
Components of Control Systems: Drive Layer
Use of internationally normed (open or proprietary) protocols for high dynamics and precision at servo level
Core Task of Numerical Control
Generation of relative motion between the cutting tool and the (raw) workpiece
- NC programs can be edited directly using the NC panel at the machine
Process of the execution of an NC program
NC interpreter decodes the information and splits it into geometry and technology data as well as switching commands
Geometry Data: Comprised of all information describing the tool path to be moved in order to create the geometry of the finished workpiece.
Technology Data: Used to set e.g. spindle speeds and feed rates
Structure of a Numerical Control
(NC Program, PLC, NC-Interpolator)
- NC programs can be edited directly using the NC panel at the machine. However, many NC programs are created externally and then transferred to the machine
- PLC is used to map machine-independent NC functions to trigger machine-specific hardware components
- NC interpolator computes the sequence of synchronized movements of the feed drive axes -> needed to create the workpiece contour
o It outputs the setpoint values for the position control loops for feed drives
o The slowest axis (e.g. due to weight) sets the standard/maximum for the velocity parameters
Task distribution between NC and PLC in Machine Tools: Tasks of NC
- Geometrical path information
- Technical instructions
- Identification of switching commands inside the NC program
Task distribution between NC and PLC in Machine Tools: Tasks of PLC
- Link between switching controls and feedback from the machine
- Conversion of control commands for switching units
NC-internal Information Flow: NC-Interpreter
o Functions as a syntax analyzer (parser) translates different NC program formats and input data into a consistent internal form (kept in random access memory)
o NC interpreter sends commanded boundary coordinates, the interpolation mode and the feed rate for each NC sentence to the Geometry Data Preparation module
o Switching commands are transferred to the PLC -> Still have to be synchronized
NC-internal Information Flow: Geometry Data Preparation
o NC computes several geometric transformation (e.g. zero point offset, tool corrections) -> Tool Path offset is continuously calculated based on the current tool geometry
o Velocities and accelerations for speed profile preparation are adapted to the boundary conditions of the machine
o Look-Ahead functionality: Analyzes multiple NC sentences ahead of the movement
NC-internal Information Flow: Interpolator
o Computes intermediate points along the path, defined by the NC sentence -> Aggregated path movement is divided into its partial contributions of all single axes
o Linear, circular and spline segments are discretized by a set of interpolated points -> Distribution is equidistand in time (IPO cycle time), depends on the pre-processed speed profiles
The more points are calculated, the closer the approximation is to the real shape (-> also depends on the clock time of the processor)
o Integration of compensation functionality and compensation tables
NC-internal Information Flow: Axis Control
Feed drives are provided with cyclically transferred setpoint values
-> All steps from interpolation until output of axis setpoint are performed within NC channels. -> Each channel may contain multiple axes and spindles (synchronously or asynchronously controlled)
Instructions for Numerical Controls -> What needs to be described in the program?
Description of tool path
Indirectly: Workpiece geometry
Directly: Tool center point (TCP) trajectory including (position) compensations
Technology Information:
E.g. number of revolutions or feed rate
Switching commands
Spindle on (clockwise/counter-clockwise)
Tool changes
Synchronization (Different tools on the same workpiece)
Wait commands for multi-slide machining
Control commands for switching tables, loading systems etc.
NC-Programming Approaches
- Textual -> Drawing
- Shopfloor-oriented -> Drawing/CAD File
- CAx-based -> CAD file
NC-Programming Approaches: Textual
o Worker separates the final workpiece into manufacturing features based on a technical drawing (usually paper-based) -> Largest amount of work is consumed by the description of the tool path
Sampling points not depicted in the drawing have to be calculated manually by the programmer
o Tables, Experiences, Computations
o Programming of geometry
o Programming of technology
NC-Programming Approaches: Shopfloor-oriented (SFP)
Programmer gets to set up a sequence of manufacturing operations which he can parameterize with the help of graphical templates -> Corresponding NC code is automatically generated
o Simulation features
o Graphically-interactive, problem-oriented programming of a machine tool:
Predefined programming interfaces
Query and suggestions for parameters
Could allow programming without explicit knowledge of NC code
Textual and SFP yield a machine-dependent NC program output -> Direct transfer of NC programs onto other machines is usually not feasible
Changes done by machine operator are normally not fed back into planning department
NC-Cycles
Bundle specific commands and manufacturing operations (e.g. tap machining)
Sub-program-like structure
Contain a set of multiple NC lines that can be parameterized via input parameters
NC-Programming Approaches: CAx-Based
o Main idea: Utilizing the CAD model received from product design and augmenting it with manufacturing information and commands
o Advantage: High level of automation that can be realized by using existing models and connecting the CAM software with different databases
o Translation of CAM program into NC program is done via a processor and a subsequent post-processor
NC program (G-Code)
- NC code is organized in modal groups -> A code or variable stays in effect until replaced or cancelled by another permitted code
- A NC program consists of a series of information blocks, which correspond to a particular step in the working process
- The NC program contains all movements and switching operations which have to be executed in order to move the tool and the workpiece while machining the part -> Part’s geometry is simplified to single linear and circular movements
- In addition to the standard commands there are special commands, defined and provided by control vendors or developed by machine tool users (for special requirements) -> Cannot be exchanged and executed on different machine tools
NC in the production process: Development&Design
Definition of product shape
–> Workpiece Geometry
–> Workpiece Surface
–> Tolerances
–> Material