
| |
|
| |
NCT104 CNC control | |
|
|
G code lathe/milling: |
|
G00 Positioning G01 Linear interpolation G02 Circular, helical interpolation, clockwise G03 Circular, helical interpolation, counter-clockwise G04 Dwell G05.1 Multi-buffer mode on G07.1 Cylindrical interpolation G09 Exact stop in the given block G10 Programmed data setting G11 Programmed data setting cancel G12.1 Polar coordinate interpolation on G13.1 Polarc coordinate interpolation off G15 Polar coordinate command cancel G16 Polar coordinate command G17 Selection of XpYp plane G18 Selection of ZpXp plane G19 Selection of YpZp plane G20 Inch input G21 Metric input G22 Programable stroke check function on G23 Programable stroke check function off G25 Spindle speed fluctuation detection off G26 Spindle speed fluctuation detection on G28 Programmed reference-point return G29 Return from reference point G30 Return to the 1st, 2nd, 3rd and 4th reference point G31 Skip function G33 Thread cutting G37 Automatic tool-length measurement |
G37 Automatic tool-length measurement G38 Cutter compensation vector hold G39 Cutter compensation corner arc G40 Cutter radius/3 dimensional tool compensation cancel G41 Cutter radius compensation left/3 dimensional tool compensation G42 Cutter radius compensation right G43 Tool length compensation + G44 Tool length compensation – G45 Tool offset increase G46 Tool offset decrease G47 Tool offset double increase G48 Tool offset double decrease G49 Tool length compensation cancel G50 Scaling cancel G51 Scaling G50.1 Programable mirror image cancel G51.1 Programable mirror image G52 Local coordinate system setting G53 Positioning in the machine coordinate system G54 Work coordinate system 1 selection G55 Work coordinate system 2 selection G56 Work coordinate system 3 selection G57 Work coordinate system 4 selection G58 Work coordinate system 5 selection G59 Work coordinate system 6 selection G61 Exact stop mode G62 Automatic corner override mode G63 Override inhibit G64 Continuous cutting |
G65 Simple macro call G66 Macro modal call (A) in every motion command G66.1 Macro modal (B) call from each block G67 Macro modal call (A/B) cancel G68 Coordinate system rotation G69 Coordinate system rotation cancel G73 High Speed Peck Drilling Cycle G74 Counter tapping cycle G76 Fine boring cycle G80 Canned cycle cancel G81 Drilling, spot boring cycle G82 Drilling, counter boring cycle G83 Peck drilling cycle G84 Tapping cycle G84.2 Rigid tap cycle G84.3 Rigid counter tap cycle G85 Boring cycle G86 Boring Cycle Tool Retraction with Rapid Traverse G87 Boring Cycle/Back Boring Cycle G88 Boring Cycle (Manual Operation on the Bottom Point) G89 Boring Cycle (Dwell on the Bottom Point, Retraction with Feed) G90 Absolute command G91 Incremental command G92 Work coordinates change/maximum spindle speed setting G94 Feed per minute G95 Feed per revolution G96 Constant surface speed control G97 Constant surface speed control cancel G98 Canned cycle initial level return G99 Canned cycle R point level return |
|
Macro instruction |
|
Arithmetic operations Single-operand minus: #i = – #j Arithmetic negation: #i = NOT #j Addition: #i = #j + #k Subtraction: #i = #j – #k Logical sum, or: #i = #j OR #k Exclusive or: #i = #j XOR #k Multiplication: #i = #j * #k Division: #i = #j / #k Remainder: #i = #j MOD #k Logical And: i# = #j AND #k Unconditional Divergence: GOTOn Conditional Divergence: IF[]GOTOn Conditional Instruction: IF[]THEN Iteration: WHILE[]DO[]...END[] |
Logical Operations equal to: #i EQ #j not equal to: #i NE #j greater than: #i GT #j less than: #i LT #j greater than or equal to: #i GE #j less than or equal to: #i LE #j Data Output Commands Opening a peripheral: POPENn Binary data output: BPRNT[...] Decimal data output: DPRNT[...] Closing a peripheral: PCLOSn |
Functions Square root: #i = SQRT #j Sine: #i = SIN #j Cosine: #i = COS #j Tangent: #i = TAN #j Arc sine: #i = ASIN #j Arc cosine: #i = ACOS #j Arc tangent: #i = ATAN #j Exponent with base e: #i = EXP #j Logarithm natural: #i = LN #j Absolute value: #i = ABS #j Conversion from BIN into BCD: #i = BCD #j Conversion from BCD into BIN: #i = BIN #j Discard fract. less than 1: #i = FIX #j Add 1 for fract. less than 1: #i = FUP #j |
![]() |