Course is focused fundamental possibilities of automatization of machine tools and automatization of...

92
Automation of machine tools programming Ing. Jan Tomíček

Transcript of Course is focused fundamental possibilities of automatization of machine tools and automatization of...

Page 1: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Automation of machine tools programming

Ing. Jan Tomíček

Page 2: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Course description

Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

1+2, CA – classified assessment - 3 credits

Presentations Exercises

› common tasks› individual work

Page 3: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Presentations

1+2, 1 hour of presentation, 2 of exercise => 13 + 13 weeks (13+26) => 4 + 9 approx.

(12+27)presentation explain the work on exercise =>

presentation will be together on the beginning

and then you will have time to make the task and individual work!

Page 4: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Lesson 1 – Automation overview

longer presentationno exercise or task

Page 5: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Introduction

Work on conventional machines is replaced by automated work on automatic machines. These machines are working without human control with higher speed, precision, safer and more productivly than humans.

But where did it start?

Page 6: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Automation of machining

Is connected with the rising demands of society and industry development.

Is the way to intensification of manufacturing – increasing productivity, improving quality and lowering costs

Is the way to improvements in manufacturing technology, spreading the technological possibilities and way to make the inovation cycle faster.

Page 7: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

What we need to automate?

Tool management Tool change Tool movements Spindle start, devices start Material loading Finished piece remove

Page 8: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

AUTOMATION OF MACHINING

Machine tools: general-purpose, manually operated

(conventional);

- The leading power is the worker

Page 9: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

AUTOMATION OF MACHINING

Machine tools: automated:

a) fixed automation – mechanisms: cams,gear wheels, links, levers, arms; mechanical stops, limit switches, etc.b) flexible automation – program control, numerical control

Page 10: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Fixed automation elements

Page 11: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Cam

Is a disc or cylinder with a curve shaped path. A boss in support is in the path and as the cam turns the support moves. Cam are connected together to provide complex movement of support, feed, rotation and other.

Page 12: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Cylindrical cam use – automatic lathe carriage

Page 13: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.
Page 14: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Fixed automation machine tools

automatic general-purpose machinee.g. a semiautomatic or an automatic lathe

single-purpose machine (usually unit-built)workpiece oriented function design

transfer lineintegrated workpiece transport system

Page 15: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Unit-built machine

Page 16: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Modular units design

Page 17: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Single purpose machine

Just one operation, of op. Step is done. Sometimes a batch of operation steps Special machine designed to maximize

the production:› Multiple spindles› High feed drives› Multiple clamping› Automatic part in feed› Special tooling usage

Page 18: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Single-purpose machine efficiency

Page 19: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Transfer line – a concept

Page 20: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Transfer line – a schema

Page 21: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Block machining transfer line

Video – Transfer line

Page 22: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Transfer line station – an example

Page 23: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

2) Flexible automation

(soft, programable automation) is aimed at piece and small batch production due to easy reprogramming.

Two basic forms Program sequence control Numerical control

Page 24: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Program sequence control

The sequence of motions and switchings is controlled by relays, timers, switches, perforated tape, programable cylinders, plugboards and other controllers.

Easier reprogramming, limited program options, almost no adjustments

Page 25: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Perforated tapeEach line presents a different movement or switch. It has to be printed correctly, no error control.

FYI:8 line perforated paper tape can contain one byte of information in one column of holes. Normal pitch of columns is 2,54 mm. That means you need 2,6 m of tape to store 1kB of data. A dual-layer DVD is then approx. 22100 km of perforated tape.

Page 26: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Numerical control

The most important type of automation. Almost all of new machines are numerically controlled.

Priciple:Machine and all of its movements are controlled by a program. Program is a list of instructions written is specific syntax and having specific format.

Page 27: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Mechanical vs. numerical

Limitations – speed, length of program, possible motions on cams.

Page 28: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

FLEXIBLE AUTOMATION1. Conventional machine tool

Page 29: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

FLEXIBLE AUTOMATION2. NC machine tool (stand-alone)

Page 30: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

FLEXIBLE AUTOMATION3. NC machine tool with tool magazine

Page 31: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

FLEXIBLE AUTOMATION4. CNC machine tool

Page 32: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Mechanization vs. automation

Mechanization – human power is replaced by machines, drives, hydraulic or mechanic devices

Automation – human control is replaced by sequentional machine, cams, computer, PLC controller

Page 33: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Automation degree

Semiautomatic run – tools are changed automatically, blank or finished workpiece is renowed by operator

Automatic run – both the tool and pieces are placed and removed automatically by robot (line, tables)

Page 34: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

What we need to automate?

Tool management Tool change Tool movements Spindle start, devices start Material loading Finished piece remove

Sem

iau

tom

at

ic

Au

tom

ati

c

Page 35: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

NC / CNC definition

Originaly only NC control was used. Program was stored on tape or disc and read one line after another. Influence of rapid development of computers resulted to CNC control (Computer numerical control). Now the program is loaded into computers memory and executed from here.

Page 36: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

CNC advantagesOption NC control CNC control

Program length Limited by data storage capacity (tape)

Unlimited (limited by data storage capacity – HDD drives over 1TB)

Program sequence One line after another Allows jump forward, backward, subprograms.

Jump to other programs N/A Yes

Canned cycles N/A Yes

Coordinates correction Manually only Yes, automatically

Tool length compensation Manually only Yes, programable

Tool diameter compensation

N/A Yes, programable

Reading in advance N/A Yes, continual mode

Start after breakdown N/A Yes

Page 37: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Basic principles of CNC machines

NC/CNC machine consist of 3 basic elements.List of instructions – NC code – a mix of alphabecial and

numerical information. Contaion information about movements, feed, speed, tool change and other machine functions (cooling, measuring)

Control unit - control system – converts the program into signal for machine and send them to machine (PLC controller)

Control unit

(system)

MachineNC

code

Sensing device

Drive motor

Page 38: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Basic principles of CNC machines

NC/CNC machine consist of 3 basic elements.Machine tool – fitted with drive motor to operate

slides, support and spindle. Also with switches to start/stop specific functions

Sensing device – optional(closed circuit)- sensing device control if a specific demand was fullfilled. Support feed, Table position etc.

Control unit

(system)

MachineNC

code

Sensing device

Drive motor

Page 39: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

CNC machine tool

Page 40: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Motions

Three types of motion1) point-to-point motion – tool is moved to

specific location, path or speed of move between location is not controlled. (drilling)

2) Linear control – movement along one of the axes of the machine.

3) Contouring control – movement can be made in two or more axes simultaneously.

Page 41: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

MotionsPoint-to-point control Linear control Contouring control (continual)

drilling milling machines, lathes machining c.(milling, turning)

Page 42: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

CNC machining centre(MC)

MC combine a number of different machining processes in one operation

Page 43: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Modular tool set

Page 44: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Modular tool set – tooling system

All manufacturers around the worldBasic concept:1) Holder with standadized conecting

part – ISO, BSK cone, CAPTO system etc.

2) Extension bar – active (vibration elimination) adujstable and balanced

3) Quick change tooltip/insert

Page 45: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

SECO - Combimaster

Page 46: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Tool exchange

Page 47: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Tool exchange

Page 48: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Flexible cell – a concept

Page 49: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Flexible manufacturing system

Page 50: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Conveyors

Device used for transportation of blank and semiproduct in production

Types:Belt conveyorPulley(rolls) conveyorCradle conveyor

Page 51: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Conveyors – Belt conveyor

Used for small parts and loose material Endless belt made of rubber, plastic

particles, short boards (grids)

Page 52: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Conveyors – pulley(roller) conveyor

For large solid parts and products Low force needed (gravity slide ways) Use of pallets

Video – conveyor

Page 53: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

PalletBoard used for

transportationEquiped with jigs and

other positioning elements

Together with pallete changer is used for automatic blank material loading and parts unloading

Page 54: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Pallet changeraka Switch table2-4 pallets in one machine

Page 55: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Loading of blank/semiproducts

- Manual- Accumulation conveyor

- Accumulating pieces to balance production- Robot loading

- For single standing, large production usage (common machine tools)

- Line(conveyor) loading- For FMS and large batch production

(special machine tools)

Page 56: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Loading

Page 57: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Flexible manufacturing system

Flexible manufacturing system for 4 types of automobile cylinder heads

(GM 3801 – 3811)

BZ 400 BZ 500 Other Reserve

Flexible to suit various part variants

9 Flexible transfer machines (some incorporating BZ 400 machining centers),

and 16 high-dynamic BZ 500 machining centers

Completely automated

Approximately 500,000 parts p.a.

Page 58: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Process automation and integration levels

Page 59: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

AUTOMATION OF MACHINING

Page 60: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Effects of automation- Cost reducing

(per piece)- Higher

investments- Speed

improvement- Productivity

improvement- Repeatability

improvementC

on

ven

tion

al to

ols

CN

C t

ools

FMS

Cam

‘s

Mach

inin

g

cost

s (K

c/p

ce)

Productivity (pcs/hour)

Flexibility

Page 61: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

next part…

Programming of machine tools

Page 62: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Programming of machines

Machining on CNC machines is controled by a NC code.

NC code is a list of instructions for the machine and also for the operator. Instruction are executed in time order.

NC code must have a specific format so that the control system of machine is able to read it.

Page 63: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systems

The tool in machine is moving in workspace.

The position of the tool is given by coordinates.

We are using different coordinate systems.

If we set some coordinates in NC code, the machine moves the tool to the specified place.

Page 64: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systems Basic is orthogonal system

X

Y

Z

Page 65: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systems - millsZ axis is usually axis of spindle a X axis is

the working axis, or the longest!

XY

Z

Page 66: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systems - latheZ axis is usually axis of spindle a X axis is

the working axis – diameter!!!

X

Z

Page 67: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systems - multiaxis

To set the position we can add rotation along the axes.

X

Y

Z

A

B

C

Second set of coordinatesU,V,W resp. P,Q,R etc.

Page 68: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systém - origin

Refernce point – a specific point on machine with given coordinates. Not always in the workspace of machine.

A special commang G98

Page 69: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Coordinate systems

Ways how to define a movementa) Absolute programing – position is in all

point expressed as a distance from zero-point

b) Incremental programing – position is expressed as a change from last postion

Page 70: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

AbsolutG90 X0 Y0 Z50G0 X15 Y70 Z50G1 X15 Y70 Z0G1 X25 Y70 Z0G0 X25 Y70 Z50G0 X0 Y0 Z50

IncrementalG91G0 X15 Y70 Z0G1 X0 Y0 Z-50G1 X25 Y0 Z0G1 X0 Y0 Z50G1 X-45 Y-70 Z0

1.

2.

3.

2.

3.

1.

Page 71: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

NC code form

Structure and form of NC code is standardized by international standard - ISO 6983 – Numeric control programs formating

Differences between different control system manufacturers and differences between versions.

Page 72: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

NC code structure

Lines (blocks)WordsWord has a meaning and value part

S 1500

Page 73: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

ISO nc code and the others

ISO is standardized code (G – code)Some manufacturers devoloped their own

standard for NC code – native standard

Mazak – MazatrolHeidenhein – iTNCSiemens - Sinumeric

Page 74: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

NC code structure II.

Heading linesDefinition of relation between coordinate

system of CNC machine and program, type of programing, work mode, working conditions

Program bodyCutting and non-cuting moves, main program

and subprograms, tool changes Ending linesTool return to home point, change to first tool,

coordinates reconstruction

Page 75: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Program sequenceSubprograms A link to another then

the following line is entered into main programm.

This subprogram is executed.

After finishing this program we return to main program a we contiue until end of main program(M30)

Page 76: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Ways of programing

Manual/Hand programing Shopfloor programming Automated programing

Page 77: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Manual programing Editors are used. Program is written

manually (by hand) line after line. Used for simple parts (but complex too) Toolpath is exactly

defined Program can be adjusted

to save time Can use canned cyles Can be parametrized Used in mass production

Page 78: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Manual programingWe need to know the functions: (many more function exist)

Movement functions:G00 rapid movementG01 linear interpolation/movementG02/03 circular interpolation

G40 diameter compensation offG41 diameter compensation on /right handedG42 diameter compensation on /left handed

Support and help functions:M06 tool changeM03/04 spindle start CW/CCWM05 program stopM30 program end

Page 79: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Manual programming

Specilzed editorsPredator G-code editor

G Wizard

Mikronex

Page 80: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Shopfloor programing Somewhere in between manual and

automated Uses cycles with parameters We have to edit these

parameters manually But the NC code

is generated automatically

No postprocessing

Page 81: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Shopfloor programming

Control system use – programming on machine

- No costs (together with machine)- Fast use (macros)- Time waste (program x work)- Comfort (on machine x in office with

PC)- Shape limitations

Heidenhein

Page 82: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Automated programming

Work with the „sequential NC code preparation“

Uses CAM (Computer Aided Manufacturing) software

For all parts including complex shapes We dont need to compute the toolpath We need correct postprocessor

Page 83: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Sequential NC code preparation

Partprogram – workpiece, material, cutting conditions, tools…

Procesor – according to technology

CL data – virtual toolpaths on virtual machine

Postprocesor – „translator“ for the specific CAM-control systém-machine combination

NC code – toolpaths of a real tool on a real machine

Partprogram

Procesor

Postprocesor

CL-data

NC-kód

Page 84: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

CAM software

is Computer Aided Manufacturing (machining)

From simple 2-axis turning up to multiaxis machining

Feature or technologically oriented Special types of CAM for special purpose

Live presentation

Page 85: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

xD software

2D – just in two axis - turning2,5D – two axis, but in layers – not

simultaneously3D – three axes simultaneouslymultiaxis4D – four axis - one rotary axis (rotary

table)5D – five axis - maching (two rotary axes)

Page 86: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Tool movement programming

CAM software uses „Strategies“Strategy – is a general plan how to

move the tool durign machining

Continual developmentRoughing – offset, raster (Zig-Zag

method) plunging Finishing strategies – pencil milling,

streaming, rest material maching

Page 87: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

CAM software developers

NX (Siemens PLM software) Catia (Dassault systémes) – both 10% market share

PowerMill, FeatureCAM, ArtCAM (Delcam company) ,InventorCAM (Autodesk) Wildfire – Pro/Ingineer (PTC) – 5%

EdgeCAM, SurfCAM, SolidCAM, MasterCAM, OneCNC, ESPRIT, GibbsCAM

Page 88: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Simulaton and verification

Simulation is used to control generated toolpaths for following reasons:- Colisions- Undercuts (or rest material)- Postprocesing check

Page 89: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Verification

NX

Page 90: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Automated programing - review

We can do complex shapes, no need to calculate control points

We can use simulation and verification We can change the tool easilyBut We need postprocessor Expensive (SW, computer, learning…) Program is always longer (again

expensive)

Page 91: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

What software we will use? ArtCAM

FeatureCAM

Page 92: Course is focused fundamental possibilities of automatization of machine tools and automatization of programme preparation for CNC machine tools.

Course

Projects- Common – same tasks for all- Individual – own selection of part and

individual work on it. Evaluated.

Test – from theory of automation and programming