Sunteți pe pagina 1din 7

adp›

’h"

G and M Code

iTNC 530
NC Software
340 490-03
340 491-03
340 492-03
340 493-03
340 494-03

English (en)
8/2006
Table of Miscellaneous Functions
M Effect Effective at block... Start End Page
M00 Stop program/Spindle STOP/Coolant OFF „ Page 251

M01 Optional program STOP „ Page 575

M02 Stop program/Spindle STOP/Coolant OFF/Clear status display „ Page 251


(depending on machine parameter)/Go to block 1

M03 Spindle ON clockwise „ Page 251


M04 Spindle ON counterclockwise „
M05 Spindle STOP „

M06 Tool change/Stop program run (depending on machine parameter)/Spindle STOP „ Page 251

M08 Coolant ON „ Page 251


M09 Coolant OFF „

M13 Spindle ON clockwise/Coolant ON „ Page 251


M14 Spindle ON counterclockwise/Coolant ON „

M30 Same function as M02 „ Page 251

M89 Vacant miscellaneous function or „ Page 285


Cycle call, modally effective (depending on machine parameter) „

M90 Only in lag mode: Constant contouring speed at corners „ Page 255

M91 Within the positioning block: Coordinates are referenced to machine datum „ Page 252

M92 Within the positioning block: Coordinates are referenced to position defined by machine „ Page 252
tool builder, such as tool change position

M94 Reduce display of rotary axis to value under 360° „ Page 272

M97 Machine small contour steps „ Page 257

M98 Machine open contours completely „ Page 259

M99 Blockwise cycle call „ Page 285

M101 Automatic tool change with replacement tool if maximum tool life has expired „ Page 195
M102 Cancel M101 „

M103 Reduce feed rate during plunging to factor F (percentage) „ Page 260

M104 Reactivate the datum as last defined „ Page 254

M105 Machining with second kv factor „ Page 640


M106 Machining with first kv factor „

M107 Suppress error message for replacement tools „ Page 194


M108 Cancel M107 „
M Effect Effective at block... Start End Page
M109 Constant contouring speed at tool cutting edge „ Page 262
(increase and decrease feed rate)
M110 Constant contouring speed at tool cutting edge „
(feed rate decrease only)
M111 Cancel M109/M110 „

M114 Automatic compensation of machine geometry when working with tilted axes „ Page 273
M115 Reset M114 „

M116 Feed rate for angular axes in mm/minn „ Page 270


M117 Cancel M116 „

M118 Superimpose handwheel positioning during program run „ Page 264

M120 Pre-calculate radius-compensated contour (LOOK AHEAD) „ Page 262

M124 Do not include points when executing non-compensated line blocks „ Page 256

M126 Shortest-path traverse of rotary axes „ Page 271


M127 Cancel M126 „

M128 Maintain the position of the tool tip when positioning with tilted axes (TCPM) „ Page 274
M129 Cancel M128 „

M130 Moving to position in an untilted coordinate system with a tilted working plane „ Page 254

M134 Exact stop at nontangential contour transitions when positioning with rotary axes „ Page 276
M135 Reset M134 „

M136 Feed rate F in millimeters per spindle revolution „ Page 261


M137 Reset M136 „

M138 Select tilting axes „ Page 276

M140 Retraction from the contour in the tool-axis direction „ Page 265

M141 Suppress touch probe monitoring „ Page 266

M142 Delete modal program information „ Page 267

M143 Delete basic rotation „ Page 267

M144 Compensating the machine’s kinematic configuration for ACTUAL/NOMINAL positions at „ Page 277
end of block
M145 Cancel M144 „

M148 Automatically retract tool from the contour at an NC stop „ Page 268
M149 Cancel M148 „

M150 Suppress limit switch message (function effective blockwise) „ Page 269

M200 Laser cutting: Output programmed voltage directly „ Page 278


M201 Laser cutting: Output voltage as a function of distance „
M202 Laser cutting: Output voltage as a function of speed „
M203 Laser cutting: Output voltage as a function of time (ramp) „
M204 Laser cutting: Output voltage as a function of time (pulse) „
ISO Function Overview of the
iTNC 530
M Functions M Functions
M00 Stop program run/spindle STOP/coolant OFF M114 Automatic compensation of machine geometry when
M01 Optional program STOP working with tilted axes
M02 Stop program run/Spindle STOP/Coolant OFF/Clear M115 Cancel M114
status display (depending on machine parameter)/Go
to block 1 M116 Feed rate for angular axes in mm/min
M117 Cancel M116
M03 Spindle ON clockwise
M118 Superimpose handwheel positioning during program
M04 Spindle ON counterclockwise
M05 Spindle STOP run
M120 Pre-calculate radius-compensated contour
M06 Tool change/Stop program run (depending on
(LOOK AHEAD)
machine parameter)/Spindle STOP
M124 Do not include points when executing non-
M08 Coolant ON
compensated line blocks
M09 Coolant OFF
M126 Shortest-path traverse of rotary axes
M13 Spindle ON clockwise/coolant ON
M127 Cancel M126
M14 Spindle ON counterclockwise/Coolant ON
M128 Maintain the position of the tool tip when positioning
M30 Same function as M02
with tilted axes (TCPM)
M89 Vacant miscellaneous function or M129 Cancel M128
Cycle call, modally effective (depending on machine
M130 Moving to position in an untilted coordinate system
parameter)
with a tilted working plane
M90 Only in lag mode: Constant contouring speed at
M134 Exact stop at nontangential contour transitions when
corners
positioning with rotary axes
M99 Blockwise cycle call M135 Cancel M134

M91 Within the positioning block: Coordinates are M136 Feed rate F in millimeters per spindle revolution
referenced to machine datum M137 Cancel M136
M92 Within the positioning block: Coordinates are
M138 Select tilting axes
referenced to position defined by machine tool
builder, such as tool change position M142 Delete modal program information
M94 Reduce display of rotary axis to value under 360° M143 Delete basic rotation
M97 Machine small contour steps M144 Compensating the machine's kinematic configuration
M98 Machine open contours completely for ACTUAL/NOMINAL positions at end of block
M145 Cancel M144
M101 Automatic tool change with replacement tool if
maximum tool life has expired M150 Suppress limit switch message
M102 Cancel M101
M200 Laser cutting: Output programmed voltage directly
M103 Reduce feed rate during plunging to factor F M201 Laser cutting: Output voltage as a function of
(percentage) distance
M202 Laser cutting: Output voltage as a function of speed
M104 Reactivate the datum as last defined
M203 Laser cutting: Output voltage as a function of time
M105 Machining with second kv factor (ramp)
M106 Machining with first kv factor M204 Laser cutting: Output voltage as a function of time
(pulse)
M107 Suppress error message for replacement tools
M108 Cancel M107
M109 Constant contouring speed at tool cutting edge
(increase and decrease feed rate)
M110 Constant contouring speed at tool cutting edge (feed
rate decrease only)
M111 Cancel M109/M110
G functions G functions
Tool Movements Cycles for Drilling, Tapping and Thread Milling

G00 Straight-line interpolation, Cartesian coordinates, G262 Thread milling


rapid traverse G263 Thread milling/countersinking
G01 Straight-line interpolation, Cartesian coordinates G264 Thread drilling/milling
G02 Circular interpolation, Cartesian coordinates, G265 Helical thread drilling/milling
clockwise G267 External thread milling
G03 Circular interpolation, Cartesian coordinates,
counterclockwise Cycles for milling pockets, studs and slots
G05 Circular interpolation, Cartesian coordinates, without
indication of direction G210 Slot milling with reciprocating plunge
G06 Circular interpolation, Cartesian coordinates, G211 Round slot with reciprocating plunge
tangential contour approach G212 Rectangular pocket finishing
G07* Paraxial positioning block G213 Rectangular stud finishing
G10 Straight-line interpolation, polar coordinates, rapid G214 Circular pocket finishing
traverse G215 Circular stud finishing
G11 Straight-line interpolation, polar coordinates G251 Rectangular pocket
G12 Circular interpolation, polar coordinates, clockwise G252 Circular pocket
G13 Circular interpolation, polar coordinates, G253 Slot
counterclockwise G254 Circular slot
G15 Circular interpolation, polar coordinates, without Cycles for creating point patterns
indication of direction
G16 Circular interpolation, polar coordinates, tangential G220 Circular point pattern
contour approach G221 Point patterns on lines
Chamfer/Rounding/Approach contour/Depart contour SL Cycles, group 2
G24* Chamfer with length R G37 Contour geometry, list of subcontour program numbers
G25* Corner rounding with radius R G120 Contour data (applies to G121 to G124)
G26* Tangential contour approach with radius R G121 Pilot drilling
G27* Tangential contour approach with radius R G122 Rough-out
G123 Floor finishing
Define the tool G124 Side finishing
G99* With tool number T, length L, radius R G125 Contour train (machining open contour)
G127 Cylinder surface
Tool radius compensation G128 Cylindrical surface slot

G40 No tool radius compensation Coordinate transformations


G41 Tool radius compensation, left of the contour
G42 Tool radius compensation, right of the contour G53 Datum shift in datum table
G43 Paraxial compensation for G07, lengthening G54 Datum shift in program
G44 Paraxial compensation for G07, shortening G28 Mirror image
G73 Rotation of the coordinate system
Blank form definition for graphics G72 Scaling factor (reduce or enlarge contour)
G80 Tilting the Working Plane
G30 (G17/G18/G19) min. point G247 Datum setting
G31 (G90/G91) max. point
Cycles for Multipass Milling
Cycles for Drilling, Tapping and Thread Milling
G60 3-D data
G240 Centering G230 Multipass milling of plane surfaces
G200 Drilling G231 Multipass milling of tilted surfaces
G201 Reaming
G202 Boring *) Non-modal function
G203 Universal drilling
G204 Back boring Touch probe cycles for measuring workpiece
G205 Universal pecking misalignment
G206 Tapping with a floating tap holder G400 Basic rotation using two points
G207 Rigid tapping G401 Basic rotation from two holes
G208 Bore milling G402 Basic rotation from two studs
G209 Tapping with chip breaking G403 Compensate a basic rotation via a rotary axis
G404 Set basic rotation
G405 Compensating misalignment with the C axis
G functions G functions
Touch probe cycles for datum setting Unit of measure

G408 Slot center reference point G70 Inches (set at start of program)
G409 Reference point at center of hole G71 Millimeters (set at start of program)
G410 Reference point from inside of rectangle
G411 Datum from outside of rectangle Other G functions
G412 Reference point from inside of circle
G413 Reference point from outside of circle G29 Transfer the last nominal position value as a pole
G414 Reference point in outside corner (circle center)
G415 Reference point in inside corner G38 Program run STOP
G416 Reference point circle center G51* Next tool number (with central tool file)
G417 Reference point in touch probe axis G79* Cycle call
G418 Reference point in center of 4 holes G98* Set label number
G419 Reference point in selectable axis
*) Non-modal function
Touch Probe Cycles for Automatic Tool Measurement
Addresses
G55 Measure any coordinate
G420 Measure any angle % Start of program
G421 Measure hole % Program call
G422 Measure cylindrical stud
G423 Measure rectangular pocket # Datum number with G53
G424 Measure rectangular stud
G425 Measure slot A Rotation about X axis
G426 Measure ridge B Rotation about Y axis
G427 Measure any coordinate C Rotation about Z axis
G430 Measure circle center D Q-parameter definitions
G431 Measure any plane
DL Length wear compensation with T
Touch Probe Cycles for Automatic Tool Measurement DR Radius wear compensation with T
G480 Calibrate the TT E Tolerance with M112 and M124
G481 Measure tool length
G482 Measure tool radius F Feed rate
G483 Measure tool length and tool radius F Dwell time with G04
F Scaling factor with G72
Special Cycles F Factor for feed-rate reduction F with M103
G04* Dwell time with F seconds G G functions
G36 Oriented spindle stop
G39* Program call H Polar coordinate angle
G62 Tolerance deviation for fast contour milling H Rotation angle with G73
G440 Measure axis shift H Tolerance angle with M112
G441 Fast probing
I Z coordinate of the circle center/pole
Define machining plane
J Y coordinate of the circle center/pole
G17 Working plane X/Y, tool axis Z
G18 Working plane: Z/X; tool axis: Y K Z coordinate of the circle center/pole
G19 Working plane: Y/Z; tool axis: X
G20 Tool axis IV L Setting a label number with G98
L Jump to a label number
Dimensions L Tool length with G99

G90 Absolute dimensions M M Functions


G91 Incremental dimensions
N Block number

P Cycle parameters in machining cycles


P Value or Q parameter in Q-parameter definition

Q Q parameter
Addresses Coordinate transformations
R Polar coordinate radius Coordinate
R Circular radius with G02/G03/G05 Activate Cancel
transformation
R Rounding radius with G25/G26/G27
R Tool radius with G99 Datum G54 X+20 Y+30 G54 X0 Y0 Z0
shift Z+10
S Spindle speed
S Oriented spindle stop with G36 Mirror image G28 X G28

T Tool definition with G99 Rotation G73 H+45 G73 H+0


T Tool call
T Next tool with G51 Scaling factor G72 F 0.8 G72 F1

U Axis parallel to X axis Machining plane G80 A+10 B+10 G80


V Axis parallel to Y axis C+15
W Axis parallel to Z axis Machining plane PLANE ... RESET PLANE
X X axis
Y Y axis Q-parameter definitions
Z Z axis
D Function
* End of block
00 Assign
Contour cycles 01 Addition
02 Subtraction
Sequence of program steps for machining 03 Multiplication
with several tools 04 Division
05 Root
List of subcontour programs G37 P01 ... 06 Sine
07 Cosine
Define contour data G120 Q1 ... 08 Root sum of squares c = √ a2+b2
Define/Call drill 09 If equal, go to label number
Contour cycle: pilot drilling G121 Q10 ... 10 If not equal, go to label number
Cycle call 11 If greater than, go to label number
12 If less than, go to label number
Define/Call roughing mill 13 Angle from c sin a and c cos a
Contour cycle: rough-out G122 Q10 ... 14 Error number
Cycle call 15 Print
19 Assignment PLC
Define/Call finishing mill
Contour cycle: floor finishing G123 Q11 ...
Cycle call

Define/Call finishing mill


Contour cycle: side finishing G124 Q11 ...
Cycle call

End of main program, return M02

Contour subprograms G98 ...


G98 L0

Radius compensation of the contour subprograms

Radius
Contour Programming sequence
Radius
of the contour elements
compens.
Inside Clockwise (CW) G42 (RR)
(pocket) Counterclockwise (CCW) G41 (RL)

Outside Clockwise (CW) G41 (RL)


(island) Counterclockwise (CCW) G42 (RR)

S-ar putea să vă placă și