num 1020T, 1040T, 1060 T Programming Manual

NUM
1020/1040/1060T
PROGRAMMING
MANUAL
VOLUME 1
0101938820/5
06-97 en-938820/5
The physical, technical and functional characteristics of the hardware and software products and the services described in this document are subject to modification and cannot under any circumstances be regarded as contractual.
The programming examples described in this manual are intended for guidance only. They must be specially adapted before they can be used in programs with an industrial application, according to the automated system used and the safety levels required.
© Copyright NUM 1997. All rights reserved. No part of this manual may be copied or reproduced in any form or by any means whatsoever, including photographic or magnetic processes. The transcription on an electronic machine of all or part of the contents is forbidden.
© Copyright NUM 1997 software NUM 1000 family. This software is the property of NUM. Each memorized copy of this software sold confers upon the purchaser a non-exclusive licence strictly limited to the use of the said copy. No copy or other form of duplication of this product is authorized.
2 en-938820/5
Table of Contents
Table of Contents
1 Review 1 - 1
1.1 System Overview 1 - 3
1.2 Machine Overview 1 - 5
2 Structure of a Programme 2 - 1
2.1 Word Format 2 - 4
2.2 Block Format 2 - 7
2.3 General Structure of a Programme 2 - 9
2.4 Classification of Preparatory G Functions and Miscellaneous M Functions 2 - 18
3 Axis Programming 3 - 1
3.1 General 3 - 3
3.2 Programming the Independent Secondary Axes 3 - 4
3.3 Programming Carrier/Carried Parallel Axis Pairs 3 - 5
3.4 Programming of Rotary Axes Modulo 360 Degrees 3 - 6
3.5 Programming of Slaved Rotary Axes with Limited Travel 3 - 7
3.6 Programming of Axes A, B or C Declared as Nonrotary 3 - 7
3.7 Features of Front Turret, Rear Turret 3 - 8
4 ISO Programming 4 - 1
4.1 Choice of the Programming System 4 - 5
4.2 Programming with Reference to Diameter or Radius 4 - 9
4.3 Spindle Commands 4 - 11
4.4 Rapid Positioning 4 - 29
4.5 Programming of Movements 4 - 32
4.6 Path Sequencing Conditions 4 - 59
4.7 Feed Rate 4 - 61
4.8 Programming of Tools 4 - 70
4.9 Basic Cycles 4 - 91
4.10 Other Machining Cycles 4 - 128
4.11 Breaks in Sequence 4 - 165
4.12 Movement Origin Selection 4 - 203
4.13 Spline Curve Interpolation 4 - 216
4.14 Coordinates Systems with C Axis 4 - 226
4.15 Other Functions 4 - 238
4.16 «Inclined Axis» or «Inclined Wheel» State on a Grinder 4 - 267
4.17 Special Programming for Multiple Axis Groups 4 - 273
en-938820/5 3
4.18 Special Programming of PLC Axes 4 - 283
4.19 Message Transmission 4 - 288
4.20 Spindle Synchronisation 4 - 293
5 Profile Geometry Programming 5 - 1
5.1 Profile Geometry Programming (PGP) 5 - 3
5.2 Profil Function 5 - 22
6 Parametric Programming 6 - 1
6.1 Programme L Variables 6 - 3
6.2 External E Parameters 6 - 16
6.3 Address Equivalences 6 - 54
6.4 Transfer of the Current Values of L Variables and E Parameters into the Part Programme 6 - 55
6.5 Message Display with Wait for an Operator Response 6 - 57
6.6 Display of Messages with Parametric Value 6 - 59
6.7 Reading the Programme Status Access Symbols 6 - 60
6.8 General Diagrams of Parametric Programming 6 - 64
7 Programme Stack - L Variables and Symbolic Variables 7 - 1
7.1 Programme Stack 7 - 3
7.2 Saving and Restoring L Variables 7 - 4
7.3 Symbolic Variables 7 - 7
8 Programming of Error Numbers and Messages 8 - 1
8.1 General 8 - 3
8.2 Creating Error Messages 8 - 3
Appendix A Function Summary Tables A - 1
A.1 G Function Summary Table A - 3 A.2 M Function Summary Table A - 17 A.3 Additional Function Summary Table A - 22
Appendix B External Parameter E Summary Tables B - 1
B.1 Parameters in the PLC Memory B - 3 B.2 Parameters in the NC Memory B - 3
Appendix C Word Format Summary Table C - 1
4 en-938820/5
Table of Contents
Appendix D List of Errors D - 1
D.1 Miscellaneous Errors and Machine Errors D - 3 D.2 Parametric Programming Errors D - 5 D.3 Profile Geometry Programming (PGP)
Errors D - 6
D.4 Miscellaneous Errors D - 7 D.5 Request for Movements Outside the
Machine Travel Limits D - 8
D.6 Structured Programming Errors D - 8 D.7 Axis Errors D - 8 D.8 Errors in Pocket Cycles D - 9 D.9 Axes Not Identified on the Bus D - 10 D.10 Dynamic Operators in C D - 10 D.11 Spline Curve Interpolation Errors D - 10 D.12 Errors in Numaform D - 11 D.13 Cycle Programming Errors D - 12
en-938820/5 5
6 en-938820/5
Record of Revisions
DOCUMENT REVISIONS
Date Revision Reason for revisions
04-92 0 Document creation (conforming to software index B) 11-93 1 Update to conform to software index D
Manual revisions:
- Classification of G preparatory functions and M miscellaneous functions.
- Processing of blocks and programmed G and M functions (with G997 to G999).
- Programming of error numbers and messages.
- Counterboring, boring and tapping cycles.
- The sections on structured programming and the use of table of variables are transferred from this manual to the supplementary programming manual.
Table of Contents
Taking into account of upgrades Software index C:
- Special programming of PLC axes.
- Creation of external parameter E41004. Software index D:
- Spline curve interpolation.
- Rigid tapping.
- Creation of external parameters E42000 to E42127, E79003, E79004, E41005, E941xx, E960xx, E961xx, E962xx, E963xx.
09-94 2 Update to conform to software index F
Manual revisions:
- Circular interpolation defined by three points (G23)
- Block sequencing without stopping movement, with sequence interruption and feed rate limiting after interrupt by EF (changes to G10)
- Temporary suspension of next block preparation (G79+/-)
- Automatic homing subroutine branch
- Subroutine branch on reset
- Message transmission by $0 to $6 (formerly in Chapter 3, moved to the end of Chapter 4)
- Added a paragraph concerning access to the Profil function (see Sec. 5.2)
- Unconditional call to a sequence by G77N..
en-938820/5 7
Added changes Software at index E:
- Polar programming
- Feed rate in fillets EB+ and chamfers EB-
- Movements parallel to inclined axes (G05 and G07)
- Extension of parameter E21000
- External parameters E49001 to E49128, E931xx, E932xx, E933xx, E7x100, E934xx, E951xx, E952xx, E41102, E33xyz, E43xyz, E34xxy, E44xxy, E20100 to E20111, E9030x, E9031x, E9032x, E9033x, E970xx, E971xx, E972xx, E11014, E11016 and E32001
- Acquisition of variables in the stack of another axis group by function VAR H.. N.. N..
- Adressing by function [.RG80]
- Conversion of the internal unit to the programming unit by function U for linear axes.
02-95 3 Update to conform to software index G
Manual revisions:
- Spindle synchronisation
- External parameters E11013, E41006, E935xx, E980xx
05-96 4 Update to conform to software index J
Manual revisions:
- transmission of a message from CNC to PC ($9)
- call of a subroutine return block (G77 -i)
- tool number T defined by 8 digits
- inclined wheel p, grinding machine
- external parameters E32002, E32003, E32004, E32005, E69002, E9034x, E9035x, E7x101, E913xx, E942xx, E973xx, E982xx and E983xx
8 en-938820/5
Inclusion of changes Software index H
- external parameters E11008, E936xx
DOCUMENT REVISIONS
Date Revision Reason for revisions
06-97 5 Update to conform to software index L
Manual revisions:
- ISO programme or block creation/deletion (G76+/-)
- Conversion of the internal unit to the programming unit by function M for rotary axes
Added changes: Software index J and K
Table of Contents
en-938820/5 9
10 en-938820/5
Structure of the NUM 1020/1040/1060 Documentation
User Documents
These documents are designed for the operator of the numerical control.
Foreword
Foreword
NUM
M/W
OPERATOR’S
MANUAL
938821
OEM Documents
NUM 1060
INSTALLATION
AND
COMMISSIONING
MANUAL
938816
NUM
T
OPERATOR’S
MANUAL
938822
These documents are designed for the OEM integrating the numerical control on a machine.
NUM
1020/1040
INSTALLATION
AND
COMMISSIONING
MANUAL
938938
NUM
M
PROGRAMMING
MANUAL
V
OLUME OLUME
938819
NUM
MANUAL
938818
1 2
V
PARAMETER
NUM
T
PROGRAMMING
MANUAL
V
OLUME OLUME
938820
NUM
MANUAL LADDER
938846
1 2
V
AUTOMATIC
CONTROL
FUNCTION
PROGRAMMING
LANGUAGE
NUM
G
CYLINDRICAL
GRINDING
PROGRAMMING
MANUAL
938930
NUM
DYNAMIC
OPERATORS
938871
NUM
PROCAM
DESCRIPTION
MANUAL
938904
NUM
G
CYLINDRICAL
GRINDING
COMMISSIONING
MANUAL
938929
NUM
H/HG
GEAR
CUTTING AND
GRINDING
MANUAL
938932
NUM
TWO-SPINDLE
SYNCHRONISATION
MANUAL
938854
NUM
GS
SURFACE
GRINDING
MANUAL
938945
en-938820/5 11
OEM Documents (cont’d)
These documents are designed for the OEM integrating the numerical control on a machine.
NUM
SETTOOL
PARAMETER
INTEGRATION
TOOL
938924
NUM
PLCTOOL LADDER
LANGUAGE
PROGRAMMING
TOOL
938859
Special Programming Documents
These documents concern special numerical control programming applications.
NUM
SUPPLEMENTARY
PROGRAMMING
MANUAL
NUM
M
PROCAM MILL
INTERACTIVE
PROGRAMMING
MANUAL
NUM
MMITOOL
MAN/MACHINE
INTERFACE
CUSTOMISATION
TOOL
938946
NUM
T
PROCAM TURN
INTERACTIVE
PROGRAMMING
NUM
DUPLICATED
AND
SYNCHRONISED
AXES
NUM
PROFIL
FUNCTION
USER’S
MANUAL
938872
NUM
G
PROCAM GRIND
INTERACTIVE
PROGRAMMING
938931
12 en-938820/5
938873
NUM
POLYGON
CUTTING
MANUAL
938952
938874
NUM
GS
PROCAM GRIND
INTERACTIVE
PROGRAMMING
938953
938875
NUM
T
PROCAM
TURN
TECHNOLOGICAL
DATA
938959
938937
NUM
M
PROCAM
MILL
TECHNOLOGICAL
DATA
938958
Programming Manual
CHAPTER 1
REVIEW
Foreword
General description of the NC and its use with the machine tool. Review of the rules and standards related to the NC/machine-tool combination.
CHAPTER 2
STRUCTURE
OF A
PROGRAMME
CHAPTER 3
AXIS
PROGRAMMING
Rules for writing a part programme by assembling characters into words, words into blocks and blocks into a complete programme.
Description of the features related to axis programming.
Detailed description of functions related to ISO programming.
CHAPTER 4
ISO
PROGRAMMING
en-938820/5 13
CHAPTER 5
PROFILE
GEOMETRY
PROGRAMMING
CHAPTER 6
PARAMETRIC
PROGRAMMING
Detailed description of profile geometry programming (PGP). Description of access to the Profil function and the contour call created by Profil. PGP and Profil are used to define contours as a sequence of geometric elements,
with computation of intermediate points. PGP and Profil are extensions of ISO programming.
Gives the possibility of assigning variables to NC functions. The values of the variables can be obtained by computation or by reading machine data.
Possibility of saving or restoring a chain of L variables in a single instruction.
CHAPTER 7
PROGRAMME
STACK-
L VARIABLES
AND SYMBOLIC
VARIABLES
CHAPTER 8
PROGRAMMING
OF ERROR
NUMBERS AND
MESSAGES
14 en-938820/5
Possibility of naming the variables used in a part programme to make the programme easier to read.
Gives the possibility of programming and displaying error numbers and messages.
APPENDIX A
FUNCTION SUMMARY
TABLES
Foreword
Tables given as lists of:
- G preparatory functions,
- M miscellaneous functions,
- other functions.
APPENDIX B
EXTERNAL
PARAMETER E
SUMMARY
TABLES
APPENDIX C
WORD
FORMAT
SUMMARY
TABLE
Tables given as lists of:
- exchange parameters with the PLC,
- parameters stored in the NC memory.
Table given as a list of words with their associated formats.
List of NC error numbers and definitions.
APPENDIX D
LIST OF
ERRORS
en-938820/5 15
Use of this Programming Manual
(
)
Function Syntax Entry Conventions
The lines (blocks) of a part programme include several functions and arguments. Special syntax rules apply to each of the functions described herein. These syntax
rules specify how the programme blocks must be written. Certain syntax formats are given as a line. The following conventions simplify writing
the line:
- the function to which the syntax format is related is highlighted by boldface type,
- terms between square brackets «[..]» are optional functions or arguments in the block (or functions activated earlier, with values unchanged, etc.) (except Sec. 6.6 and Chapter 7),
- «/» indicates a choice between several terms (equivalent to «or») (except Sec. 6.6 and Chapter 7),
- «..» after a letter replaces a numerical value,
- «...» replaces a character string (for instance a message).
Examples
Syntax of function G12
NC Operating Modes
N.. [G01/G02/G03] G12 X.. Z.. [F..] [$0…]
Syntax in the form of a Conway diagram
+ –
1 to 3 digits
L
(
Certain NC operating modes are mentioned herein when they are directly related to the use of ISO functions. For additional information on these modes, refer to the Operator Manual.
=
)
E
L
Parameter
(
1 to 3 digits
Value
8 digits
(
5 digits
Variable
)
max
+ –
)
16 en-938820/5
Optional Functionalities
The use of certain functionalities described herein requires validating the associated options. The «OPTIONS» system page is used to check for the presence of these functionalities (for access to the «OPTIONS» page and the list of functionalities, see Chapter 2 of the Operator Manual).
List of G, M and Other Functions
The lists at the beginning of the manual indicate the pages where the G, M and other functions are found (yellow pages).
Foreword
Index
Agencies
Questionnaire
The index at the end of the manual facilitates access to information by keywords.
The list of NUM agencies is given at the end of the manual.
To help us improve the quality of our documentation, we kindly request you to return the questionnaire at the end of the manual.
en-938820/5 17
18 en-938820/5
G Functions
Lists of G, M and Other Functions
Lists of G, M and Other Functions
Code Description Page G00 High-speed linear interpolation 4 - 29
G01 Linear interpolation at programmed feed rate 4 - 32 G02 Clockwise circular interpolation at programmed feed rate 4 - 36 G03 Counterclockwise circular interpolation at programmed
feed rate 4 - 36 G04 Programmable dwell 4 - 238 G05 Movement on an inclined axis 4 - 269 G06 Spline curve execution command 4 - 216 G07 Initial tool positioning before machining on an inclined axis 4 - 268 G09 Accurate stop at end of block before going to next block 4 - 59 G10 Interruptible block 4 - 180 G12 Overspeed by handwheel 4 - 242 G16 Definition of tool axis orientation with addresses P, R 4 - 72 G20 Programming in polar coordinates (X, Z, C) 4 - 226 G21 Programming in cartesian coordinates (X, Y, Z) 4 - 229 G22 Programming in cylindrical coordinates (X, Y, Z) 4 - 234 G23 Circular interpolation defined by three points 4 - 44 G33 Constant lead thread cutting 4 - 92 G38 Sequenced thread cutting 4 - 99 G40 Tool radius offset (cutter compensation) cancel 4 - 80 G41 Left tool radius offset (cutter compensation) 4 - 79 G42 Right tool radius offset (cutter compensation) 4 - 79
en-938820/5 19
Code Description Page G48 Spline curve definition 4 - 216
G49 Spline curve deletion 4 - 216 G51 Mirroring 4 - 261 G52 Programming of movements in absoluted dimensions
with reference to the measurement origin 4 - 203 G53 DAT1 and DAT2 offset cancel 4 - 206 G54 DAT1 and DAT2 offset enable 4 - 206 G59 Programme origin offset 4 - 209 G63 Roughing cycle with groove 4 - 151 G64 Turn/Face roughing cycle 4 - 128 G65 Groove roughing cycle 4 - 140 G66 Plunging cycle 4 - 146 G70 Inch data input 4 - 244 G71 Metric data input 4 - 244 G73 Scaling factor cancel 4 - 259 G74 Scaling factor enable 4 - 259 G75 Emergency retraction subroutine declaration 4 - 189 G76 Transfer of the current values of «L» and «E» parameters
into the part programme 6 - 55 G76+/- ISO programme or block creation/deletion 4 - 198
G77 Unconditional branch to a subroutine or block sequence
with return 4 - 165 G77 -i Call of a subroutine return block 4-196
G78 Axis group synchronisation 4 - 279 G79 Conditional or unconditional jump to a sequence without
return 4 - 174 G79 +/- Temporary suspension of next block preparation in a
sequence with movements 4 - 187
20 en-938820/5
Lists of G, M and Other Functions
Code Description Page G80 Canned cycle cancel 4 - 91
G81 Centre drilling cycle 4 - 104 G82 Counterboring cycle 4 - 106 G83 Peck drilling cycle 4 - 108 G84 Tapping cycle 4 - 113
G84 Rigid tapping cycle 4 - 111 G85 Boring cycle 4 - 117 G87 Drilling cycle with chip breaking 4 - 119 G89 Boring cycle with dwell at hole bottom 4 - 122 G90 Programming in absolute dimensions with respect to the
programme origin 4 - 5 G91 Programming in incremental dimensions with respect to the
start of the block 4 - 5 G92 Programme origin preset 4 - 207
G92 R.. Programming of the tangential feed rate 4 - 66 G92 S.. Spindle speed limiting 4 - 27
G94 Feed rate expressed in millimetres, inches or degrees
per minute 4 - 61 G95 Feed rate expressed in millimetres or inches per revolution 4 - 64 G96 Constant surface speed expressed in metres per minute 4 - 15 G97 Spindle speed expressed in revolutions per minute 4 - 13 G98 Definition of the start X for interpolation on the C axis 4 - 228 G997 Enabling and execution of all the functions stored in
state G999 4 - 264 G998 Enabling of execution of the blocks and part of the functions
processed in state G999 4 - 264 G999 Suspension of execution and forcing of block concatenation 4 - 264
en-938820/5 21
M Fonctions
Code Description Page M00 Programme stop 4 - 248
M01 Optional stop 4 - 250 M02 End of programme 2 - 9 M03 Clockwise spindle rotation 4 - 11 M04 Counterclockwise spindle rotation 4 - 11 M05 Spindle stop 4 - 11 M06 Tool change 4 - 70 M07 Coolant 2 on 4 - 247 M08 Coolant 1 on 4 - 247 M09 Coolant off 4 - 247 M10 Clamp 4 - 246 M11 Unclamp 4 - 246 M12 Programmed feed stop 4 - 240 M19 Spindle index 4 - 21 M40 to M45 Spindle speed ranges 4 - 20 M48 Enable overrides 4 - 255 M49 Disable overrides 4 - 255 M61 Release of current spindle in the axis group 4 - 278 M62 to M65 Control of spindles 1 to 4 4 - 23 M66 to M69 Measurement of spindles 1 to 4 4 - 25 M997 Forced block sequencing 4 - 254 M998 Reactivation of edit (EDIT) and manual data input (MDI)
modes and subroutine calls by the automatic control function 4 - 252 M999 Programmed cancellation of the edit (EDIT) and manual data
input (MDI) modes and subroutine calls by the automatic
control function 4 - 252
22 en-938820/5
Other Functions
Lists of G, M and Other Functions
Code Description Page $0 Message transmission to the display 4 - 288
$1 to $6 Message transmission to the PLC function or a remote
server or a peripheral 4 - 290 / Block skip 4 - 256 D.. Call to tool correction 4 - 74 ED.. Programmed angular offset 4 - 215 EG.. Programmed acceleration modulation 4 - 258 T Tool number 4 - 70 M Conversion of the internal unit of rotary axes 6-6 and 6-19
U Conversion of the internal unit of linear axes 6-6 and 6-19
en-938820/5 23
24 en-938820/5
Review
1 Review
1.1 System Overview 1 - 3
1.1.1 Overview of Modes 1 - 3
1.1.2 Defining a Programme 1 - 3
1.1.3 Preparating a Programme 1 - 4
1.2 Machine Overview 1 - 5
1.2.1 Review of Axis Definition and Direction 1 - 5
1.2.2 Machine Overview 1 - 6
1.2.3 Definition of Travels and Origins 1 - 7
1.2.4 Offset Definitions 1 - 9
1.2.5 Definition of the Tool Dimensions 1 - 12
1.2.5.1 Definition of the Tool Dimensions 1 - 12
1.2.5.2 Definition of Tool Tip Radius and Orientation 1 - 13
1.2.6 Definition of Dynamic Tool Corrections 1 - 14
1
en-938820/5 1 - 1
1 - 2 en-938820/5
The aim of this chapter is to introduce concepts that will be detailed in the rest of the
MODE
manual, rather than to reflect the way an operator works on the machine. For instance, in Section 1.2.4 (Offset Definition), the aim is to define the offsets and
corresponding origins or zero points rather than give a method for measuring the offsets.
1.1 System Overview
1.1.1 Overview of Modes
The operator uses the numerical control (NC) in various operating modes acces­sible from the operator panel.
Review
1
Each mode corresponds to a particular use of the numerical control (continuous-machining, programme loading, tool setting, etc.).
1.1.2 Defining a Programme
A programme is a sequence of instructions written in a programming language specific to the numerical control (the most widely used is ISO code: International Standards Organization).
The numerical control interprets the programme to control actions on a machine-tool. The most widespread storage media for programmes are punched tape and
diskettes.
en-938820/5 1 - 3
1.1.3 Preparating a Programme
A part programme can be created by traditional programming or using a CAD/CAM system.
CAD/CAM
Part Programme
% 1 N10 N20 N30
Machining instructions
1 - 4 en-938820/5
1.2 Machine Overview
Z
C
B
A
X
0
Y
X
Y
Z
1.2.1 Review of Axis Definition and Direction
A coordinate system is used to identify the positions and movements of an object with respect to an origin or zero point.
A rectangular cartesian coordinate system is a direct three-axis system of three linear axes, X, Y and Z, with which are associated three rotary axes, A, B and C.
Review
1
The direction of axes X, Y and Z is easily remembered by the right-hand rule.
The positive direction of rotation of a rotary axis corresponds to the direction of screwing of a right-hand screw on the associated axis.
en-938820/5 1 - 5
1.2.2 Machine Overview
The manufacturer defines the coordinate system associated with the machine in accordance with standard ISO 841 (or NF Z68-020).
The X, Y and Z axes, parallel to the machine slideways, form a right-handed rectangular cartesian coordinate system.
The coordinate system measures tool movements with respect to the part to be machined, assumed fixed.
REMARK When it is the part that moves, it may be more convenient to identify its
movements. In this case, axes X’, Y’ and Z’, pointing in opposite directions from axes X, Y and Z, are used.
The direction of the axis of a machine depends on the type of machine and the layout of its components.
For a lathe:
- the Z axis is the same as the spindle axis,
- the X axis is perpendicular to the Z axis and corresponds to radial movement of
- the Y axis (generally a dummy axis) forms a right-handed coordinate system with
Positive movement along the Z or X axis increases the distance between the part and the tool.
Rotary axes A, B and C define rotations around axes parallel to X, Y and Z.
the tool-holder turret, the X and Z axes.
Secondary linear axes U, V and W may or may not be parallel to primary axes X, Y and Z.
For more details, refer to the above-mentioned standard.
+ C'
+ X
+ Z
1 - 6 en-938820/5
Loading...
+ 506 hidden pages