0% found this document useful (0 votes)
67 views

DIN 66025 NC Programming Codes

Uploaded by

DDAC UVM
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views

DIN 66025 NC Programming Codes

Uploaded by

DDAC UVM
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

DIN 66025 NC Programming Codes

DIN stands for “Deutsches Institut für Normung”, meaning “German institute for standardisation”.

CNC related DIN standards

o DIN 66025-1 Numerical control of machines, format; general requirements


o DIN 66025-2 Industrial automation; numerical control of machines; format, preparatory and
miscellaneous functions

Din 66025 NC Programming Codes

RS-274-D – A version of the G-code computer numerical control language, standardized by EIA.
Or
RS-274D is the standard for numerically controlled machines developed by the Electronic Industry
Association

Contents
 NC Programming as per ISO (DIN 66025) and RS274
o Din 66025 G-Codes
o M codes
NC Programming as per ISO (DIN 66025) and RS274
Din 66025 G-Codes
o G00 Rapid traverse
o G01 Linear interpolation with feedrate
o G02 Circular interpolation (clockwise)
o G03 Circular interpolation (counter clockwise)
o G2/G3 Helical interpolation
o G04 Dwell time in milliseconds
o G05 Spline definition
o G06 Spline interpolation
o G07 Tangential circular interpolation / Helix interpolation / Polygon interpolation / Feedrate
interpolation
o G08 Ramping function at block transition / Look ahead “off”
o G09 No ramping function at block transition / Look ahead “on”
o G10 Stop dynamic block preprocessing
o G11 Stop interpolation during block preprocessing
o G12 Circular interpolation (cw) with radius
o G13 Circular interpolation (ccw) with radius
o G14 Polar coordinate programming, absolute
o G15 Polar coordinate programming, relative
o G16 Definition of the pole point of the polar coordinate system
o G17 Selection of the X, Y plane
o G18 Selection of the Z, X plane
o G19 Selection of the Y, Z plane
o G20 Selection of a freely definable plane
o G21 Parallel axes “on”
o G22 Parallel axes “off”
o G24 Safe zone programming; lower limit values
o G25 Safe zone programming; upper limit values
o G26 Safe zone programming “off”
o G27 Safe zone programming “on”
o G33 Thread cutting with constant pitch
o G34 Thread cutting with dynamic pitch
o G35 Oscillation configuration
o G38 Mirror imaging “on”
o G39 Mirror imaging “off”
o G40 Path compensations “off”
o G41 Path compensation left of the work piece contour
o G42 Path compensation right of the work piece contour
o G43 Path compensation left of the work piece contour with altered approach
o G44 Path compensation right of the work piece contour with altered approach
o G50 Scaling
o G51 Part rotation; programming in degrees
o G52 Part rotation; programming in radians
o G53 Zero offset off
o G54 Zero offset #1
o G55 Zero offset #2
o G56 Zero offset #3
o G57 Zero offset #4
o G58 Zero offset #5
o G59 Zero offset #6
o G63 Feed / spindle override not active
o G66 Feed / spindle override active
o G70 Inch format active
o G71 Metric format active
o G72 Interpolation with precision stop “off”
o G73 Interpolation with precision stop “on”
o G74 Move to home position
o G75 Curvature function activation
o G76 Curvature acceleration limit
o G78 Normalcy function “on” (rotational axis orientation)
o G79 Normalcy function “off”
o G80 – G89 for milling applications:
o G80 Canned cycle “off”
o G81 Drilling to final depth canned cycle
o G82 Spot facing with dwell time canned cycle
o G83 Deep hole drilling canned cycle
o G84 Tapping or Thread cutting with balanced chuck canned cycle
o G85 Reaming canned cycle
o G86 Boring canned cycle
o G87 Reaming with measuring stop canned cycle
o G88 Boring with spindle stop canned cycle
o G89 Boring with intermediate stop canned cycle
o G81 – G88 for cylindrical grinding applications:
o G81 Reciprocation without plunge
o G82 Incremental face grinding
o G83 Incremental plunge grinding
o G84 Multi-pass face grinding
o G85 Multi-pass diameter grinding
o G86 Shoulder grinding
o G87 Shoulder grinding with face plunge
o G88 Shoulder grinding with diameter plunge
o G90 Absolute programming
o G91 Incremental programming
o G92 Position preset
o G93 Constant tool circumference velocity “on” (grinding wheel)
o G94 Feed in mm / min (or inch / min)
o G95 Feed per revolution (mm / rev or inch / rev)
o G96 Constant cutting speed “on”
o G97 Constant cutting speed “off”
o G98 Positioning axis signal to PLC
o G99 Axis offset
o G100 Polar transformation “off”
o G101 Polar transformation “on”
o G102 Cylinder barrel transformation “on”; cartesian coordinate system
o G103 Cylinder barrel transformation “on,” with real-time-radius compensation (RRC)
o G104 Cylinder barrel transformation with center line migration (CLM) and RRC
o G105 Polar transformation “on” with polar axis selections
o G106 Cylinder barrel transformation “on” polar-/cylinder-coordinates
o G107 Cylinder barrel transformation “on” polar-/cylinder-coordinates with RRC
o G108 Cylinder barrel transformation polar-/cylinder-coordinates with CLM and RRC
o G109 Axis transformation programming of the tool depth
o G110 Power control axis selection/channel 1
o G111 Power control pre-selection V1, F1, T1/channel 1 (Voltage, Frequency, Time)
o G112 Power control pre-selection V2, F2, T2/channel 1
o G113 Power control pre-selection V3, F3, T3/channel 1
o G114 Power control pre-selection T4/channel 1
o G115 Power control pre-selection T5/channel 1
o G116 Power control pre-selection T6/pulsing output
o G117 Power control pre-selection T7/pulsing output
o G120 Axis transformation; orientation changing of the linear interpolation rotary axis
o G121 Axis transformation; orientation change in a plane
o G125 Electronic gear box; plain teeth
o G126 Electronic gear box; helical gearing, axial
o G127 Electronic gear box; helical gearing, tangential
o G128 Electronic gear box; helical gearing, diagonal
o G130 Axis transformation; programming of the type of the orientation change
o G131 Axis transformation; programming of the type of the orientation change
o G132 Axis transformation; programming of the type of the orientation change
o G133 Zero lag thread cutting “on”
o G134 Zero lag thread cutting “off”
o G140 Axis transformation; orientation designation work piece fixed coordinates
o G141 Axis transformation; orientation designation active coordinates
o G160 ART activation
o G161 ART learning function for velocity factors “on”
o G162 ART learning function deactivation
o G163 ART learning function for acceleration factors
o G164 ART learning function for acceleration changing
o G165 Command filter “on”
o G166 Command filter “off”
o G170 Digital measuring signals; block transfer with hard stop
o G171 Digital measuring signals; block transfer without hard stop
o G172 Digital measuring signals; block transfer with smooth stop
o G175 SERCOS-identification number “write”
o G176 SERCOS-identification number “read”
o G180 Axis transformation “off”
o G181 Axis transformation “on” with not rotated coordinate system
o G182 Axis transformation “on” with rotated / displaced coordinate system
o G183 Axis transformation; definition of the coordinate system
o G184 Axis transformation; programming tool dimensions
o G186 Look ahead; corner acceleration; circle tolerance
o G188 Activation of the positioning axes
o G190 Diameter programming deactivation
o G191 Diameter programming “on” and display of the contact point
o G192 Diameter programming; only display contact point diameter
o G193 Diameter programming; only display contact point actual axes center point
o G200 Corner smoothing “off”
o G201 Corner smoothing “on” with defined radius
o G202 Corner smoothing “on” with defined corner tolerance
o G203 Corner smoothing with defined radius up to maximum tolerance
o G210 Power control axis selection/Channel 2
o G211 Power control pre-selection V1, F1, T1/Channel 2
o G212 Power control pre-selection V2, F2, T2/Channel 2
o G213 Power control pre-selection V3, F3, T3/Channel 2
o G214 Power control pre-selection T4/Channel 2
o G215 Power control pre-selection T5/Channel 2
o G216 Power control pre-selection T6/pulsing output/Channel 2
o G217 Power control pre-selection T7/pulsing output/Channel 2
o G220 Angled wheel transformation “off”
o G221 Angled wheel transformation “on”
o G222 Angled wheel transformation “on” but angled wheel moves before others
o G223 Angled wheel transformation “on” but angled wheel moves after others
o G265 Distance regulation – axis selection
o G270 Turning finishing cycle
o G271 Stock removal in turning
o G272 Stock removal in facing
o G274 Peck finishing cycle
o G275 Outer diameter / internal diameter turning cycle
o G276 Multiple pass threading cycle
o G310 Power control axes selection /channel 3
o G311 Power control pre-selection V1, F1, T1/channel 3
o G312 Power control pre-selection V2, F2, T2/channel 3
o G313 Power control pre-selection V3, F3, T3/channel 3
o G314 Power control pre-selection T4/channel 3
o G315 Power control pre-selection T5/channel 3
o G316 Power control pre-selection T6/pulsing output/Channel 3
o G317 Power control pre-selection T7/pulsing output/Channel 3

Note that some of the above G-codes are not standard. Specific control features, such as laser power
control, enable those optional codes.

M codes
o M00 Unconditional stop
o M01 Conditional stop
o M02 End of program
o M03 Spindle clockwise
o M04 Spindle counterclockwise
o M05 Spindle stop
o M06 Tool change (see Note below)
o M19 Spindle orientation
o M20 Start oscillation (configured by G35)
o M21 End oscillation
o M30 End of program
o M40 Automatic spindle gear range selection
o M41 Spindle gear transmission step 1
o M42 Spindle gear transmission step 2
o M43 Spindle gear transmission step 3
o M44 Spindle gear transmission step 4
o M45 Spindle gear transmission step 5
o M46 Spindle gear transmission step 6
o M70 Spline definition, beginning and end curve 0
o M71 Spline definition, beginning tangential, end curve 0
o M72 Spline definition, beginning curve 0, end tangential
o M73 Spline definition, beginning and end tangential
o M80 Delete rest of distance using probe function, from axis measuring input
o M81 Drive On application block (resynchronize axis position via PLC signal during the block)
o M101-M108 Turn off fast output byte bit 1 (to 8)
o M109 Turn off all (8) bits in the fast output byte
o M111-M118 Turn on fast output byte bit 1 (to 8)
o M121-M128 Pulsate (on/off) fast output byte bit 1 (to 8)
o M140 Distance regulation “on” (configured by G265)
o M141 Distance regulation “off”
o M150 Delete rest of distance using probe function, for a probe input (one of 16, M151-M168)
o M151-M158 Digital input byte 1 bit 1 (to bit 8) is the active probe input
o M159 PLC cannot define the bit mask for the probe inputs
o M160 PLC can define the bit mask for the probe inputs (up to 16)
o M161-M168 Digital input byte 2 bit 1 (to bit 8) is the active probe input
o M170 Continue the block processing look ahead of the part program (cancel the M171)
o M171 Stop the block processing look ahead of the probe input part program segment (like a
G10)
o M200 Activate the handwheel operation in the automatic mode (to introduce an offset in the
program)
o M201-M208 Select the axis (by number from 1 to 8) for the handwheel operation
o M209 Activate the handwheel operation in the automatic mode, with PLC control of the axis
selection
o M210 Deactivate the handwheel input while in the automatic mode
o M211 Deactivate this handwheel feature and also remove the handwheel offset (if any)
o M213 Spindle 2 clockwise
o M214 Spindle 2 counterclockwise
o M215 Spindle 2 stop
o M280 Switchable spindle/rotary axis, rotary axis on, first combination
o M281 Switchable spindle/rotary axis, rotary axis on, second combination
o M290 Switchable spindle/rotary axis, spindle enabled, first combination
o M291 Switchable spindle/rotary axis, spindle enabled, second combination

Note: Other machine functions, like tool change (usually M06) or coolant control, have their M-code value
specified by the PLC application not by the CNC software. Most of the M-code values in above list are
configurable.
Other M-codes (up to M699) can be handled by the PLC application based on the particular machine
requirements.
REFERENCE
Din 66025 NC Programming Codes. (2014, 7 marzo). Helman CNC. https://www.helmancnc.com/din-66025-nc-
programming-codes/

You might also like