2
Application Note: WinMax NC Programming © 2007 Hurco Companies, Inc. 1 of 2 www.hurco.com ANWNCPR000207 FANUC is a registered trademark of FANUC LTD. Application Note: WinMax NC Programming Introduction Hurco controls support Industry Standard NC (ISNC) programming and also have options to enhance the Hurco NC dialect. This application note lists the G-Codes and M-Codes supported by the Hurco NC dialect and ISNC programming options. The ISNC option enhances the standard Hurco NC dialect with a more powerful NC programming dialect and provides compatability with FANUC ® part programs. Additionally, the NC programming facilities were designed to allow the operator to use as much of the WinMax (or legacy UltiMax) conversational programming system as possible to ensure a smooth transition between NC and conversational. The NC Productivity Package (NCPP) option provides features that enhance productivity and aid in producing smaller, more powerful, and easier to maintain NC programs. NCPP features include variables, subprogram calls, macros, user-defined codes, mathematical equations, address expressions, and M99 jump statements. To use NCPP, the control must have the ISNC option. ISNC Feature G-Codes Supported NC Productivity Package G00 Positioning (Rapid Traverse) G01 Linear Interpolation G02 Circular CW Interpolation G02.4 3D Circular CW Interpolation G03 Circular CCW Interpolation G03.4 3D Circular CCW Interpolation G04 Dwell G05.3 Surface Finish Quality G9 Exact Stop G10 Data Setting G11 Data Setting Mode Cancel G15 Polar Coordinate Cancel G16 Polar Coordinate G17 XY Plane Selection G18 ZX Plane Selection G19 YZ Plane Selection G20 Inch Conversion G21 Metric Conversion G28 Automatic Return to Reference Point G29 Automatic Return from Reference Point G31 Probe Skip Function G40 Cutter Comp Cancel G41 Cutter Comp Radius Left G42 Cutter Comp Radius Right G43 Positive Tool Length Offset G44 Negative Tool Length Offset G45 Tool Radius Offset Increase G46 Tool Radius Offset Decrease G47 Tool Radius Offset Double Increase G48 Tool Radius Offset Double Decrease G49 Tool Length Compensation Cancel G50 Cancel Scaling G51 Scaling Enable G50.1 Programmable Mirror Image Cancel G51.1 Programmable Mirror Image Enable G52 Selection of Local Coordinate System G53 Selection of Machine Coordinate System G54 Select Work Coordinate System 1 G55 Select Work Coordinate System 2 G56 Select Work Coordinate System 3 G57 Select Work Coordinate System 4 G58 Select Work Coordinate System 5 G59 Select Work Coordinate System 6 G61 Precision Cornering G64 Cancel Precision Cornering G65 Macro Subprogram Call G66 Modal Macro Subprogram Call G67 Cancel Modal Macro Subprogram Call G68 Coordinate System Rotation G69 Coordinate System Rotation Cancel G73 Peck Drilling Cycle G74 Left Handed Tapping Cycle G76 Fine Boring (Bore Orient) Cycle G80 Canned Cycle Cancel G81 Drilling Cycle, Spot Boring G82 Drilling Cycle, Counter Boring G83 Peck Drilling Cycle G84 Tapping Cycle G84.2 Right Hand Rigid Tap CW G84.3 Left Hand Rigid Tap CCW G85 Boring Cycle G86 Bore Rapid Out Cycle G87 Back Boring Cycle G88 Bore Cycle With Manual Feed Out Dwell G89 Bore with Dwell Cycle G90 Absolute Dimensions G91 Incremental Dimensions G92 Preset Zero Point G93 Inverse Time G94 Feed Per Minute G98 Return to Initial Point in Canned Cycle G99 Return to R Plane in Canned Cycle

kodovi

Embed Size (px)

DESCRIPTION

ztrf

Citation preview

Page 1: kodovi

Application Note: WinMax NC Programming

© 2007 Hurco Companies, Inc. 1 of 2 www.hurco.comANWNCPR000207FANUC is a registered trademark of FANUC LTD.

Application Note: WinM

ax NC Programm

ing

Introduction Hurco controls support Industry Standard NC (ISNC) programming and also have options to enhance the Hurco NC dialect. This application note lists the G-Codes and M-Codes supported by the Hurco NC dialect and ISNC programming options.

The ISNC option enhances the standard Hurco NC dialect with a more powerful NC programming dialect and provides compatability with FANUC® part programs. Additionally, the NC programming facilities were designed to allow the operator to use as much of the WinMax (or legacy UltiMax) conversational programming system as possible to ensure a smooth transition between NC and conversational.

The NC Productivity Package (NCPP) option provides features that enhance productivity and aid in producing smaller, more powerful, and easier to maintain NC programs. NCPP features include variables, subprogram calls, macros, user-defi ned codes, mathematical equations, address expressions, and M99 jump statements. To use NCPP, the control must have the ISNC option.

ISNC Feature

G-Codes Supported

NC ProductivityPackage

G00 Positioning (Rapid Traverse)G01 Linear Interpolation G02 Circular CW Interpolation G02.4 3D Circular CW Interpolation G03 Circular CCW Interpolation G03.4 3D Circular CCW Interpolation G04 Dwell G05.3 Surface Finish Quality G9 Exact StopG10 Data Setting G11 Data Setting Mode Cancel G15 Polar Coordinate Cancel G16 Polar Coordinate G17 XY Plane Selection G18 ZX Plane Selection G19 YZ Plane Selection G20 Inch Conversion G21 Metric Conversion G28 Automatic Return to Reference Point G29 Automatic Return from Reference Point G31 Probe Skip Function G40 Cutter Comp Cancel G41 Cutter Comp Radius Left G42 Cutter Comp Radius Right G43 Positive Tool Length Offset G44 Negative Tool Length Offset G45 Tool Radius Offset Increase G46 Tool Radius Offset Decrease G47 Tool Radius Offset Double Increase G48 Tool Radius Offset Double Decrease G49 Tool Length Compensation Cancel G50 Cancel ScalingG51 Scaling Enable G50.1 Programmable Mirror Image Cancel G51.1 Programmable Mirror Image EnableG52 Selection of Local Coordinate System

G53 Selection of Machine Coordinate SystemG54 Select Work Coordinate System 1G55 Select Work Coordinate System 2G56 Select Work Coordinate System 3G57 Select Work Coordinate System 4G58 Select Work Coordinate System 5G59 Select Work Coordinate System 6G61 Precision CorneringG64 Cancel Precision CorneringG65 Macro Subprogram CallG66 Modal Macro Subprogram CallG67 Cancel Modal Macro Subprogram CallG68 Coordinate System RotationG69 Coordinate System Rotation CancelG73 Peck Drilling CycleG74 Left Handed Tapping CycleG76 Fine Boring (Bore Orient) CycleG80 Canned Cycle CancelG81 Drilling Cycle, Spot BoringG82 Drilling Cycle, Counter BoringG83 Peck Drilling CycleG84 Tapping CycleG84.2 Right Hand Rigid Tap CWG84.3 Left Hand Rigid Tap CCWG85 Boring CycleG86 Bore Rapid Out CycleG87 Back Boring CycleG88 Bore Cycle With Manual Feed Out DwellG89 Bore with Dwell CycleG90 Absolute DimensionsG91 Incremental DimensionsG92 Preset Zero PointG93 Inverse TimeG94 Feed Per MinuteG98 Return to Initial Point in Canned CycleG99 Return to R Plane in Canned Cycle

Page 2: kodovi

Application Note: WinMax NC Programming

© 2007 Hurco Companies, Inc. 2 of 2 www.hurco.comANWNCPR000207

Application Note: WinM

ax NC Programm

ing

EXP Exponential FIX Discard Fractions < 1 FUP Add 1 for Fractions < 1 HSIN Hyperbolic SineHCOS Hyperbolic CosineINVERSE Binary InverseLN Natural LogarithmicLOG Logarithmic

M00 Program Stop M41 Single Touch Skip FunctionM01 Optional Program stop M42 Double Touch Skip FunctionM02 End Program (Spindle Off, Coolant Off) M43 Increases the Barrier Air (Tool Laser Probe)M03 Spindle CW M44 Reduces the Barrier Air (Tool Laser Probe)M04 Spindle CCW M45 Opens Tool Laser Probe ShutterM05 Spindle Stop M46 Closes Tool Laser Probe ShutterM06 Tool Change M47 Tool Laser Probe Emitter OnM07 Secondary Coolant On M48 Tool Laser Probe Emitter OffM08 Primary Coolant On M49 Tool Laser Probe Receiver OnM09 Coolant Off M50 Tool Laser Probe Receiver OffM10 Switches on Both Primary and Secondary Coolant M52 Enables Auxiliary Output 1M12 Clamp Rotary C Axis M53 Enables Auxiliary Output 2M13 Unclamp Rotary C Axis M54 Enables Auxiliary Output 3M20 Advance Indexer One Position M55 Enables Auxiliary Output 4M25 Retract Z Axis to Home Position M62 Disables Auxiliary Output 1M26 Select Part Probe Signal M63 Disables Auxiliary Output 2M27 Select Tool Probe Signal M64 Disables Auxiliary Output 3M29 Enable Rigid Tapping M65 Disables Auxiliary Output 4M30 Program End Rewind M76 Normal A Axis Operation (Default)M31 Rotary Encoder Reset M77 Reverses A Axis OperationM32 Clamp A Axis M78 Normal B Axis Operation (Default)M33 Unclamp A Axis M79 Reverses B Axis Operation)M34 Clamp B Axis M80 C Axis is Right-Handed (Default)M35 Unclamp B Axis M81 C Axis is Left-HandedM36 Switch Off Servos M98 Subprogram Call (Supports Nesting 15 Deep)M38 Reads And Places the State of the Tool M99 End Subprogram Laser Probe OK Signal M128 Tool Center Point ManagementM39 Reads And Places the State of the Tool M129 Tool Center Point Management Cancel Laser Probe Static SignalM40 Reads And Places the State of the Tool Laser Probe Dynamic Signal

G65 Subprogram Call Command WHILE Loops G66 Modal Macro or Subprogram DO LoopsG67 Cancel Modal Macro Call IF StatementsUser Defi ned G Codes / Subprogram Call Unconditional GOTO StatementsUser Defi ned M Codes / Subprogram Call Computed GOTO StatementsUser Defi ned S Codes / Subprogram Call Positive / Negative GOTO StatementsUser Defi ned B Codes / Subprogram Call Address / Token ExpressionsUser Defi ned T Codes / Subprogram Call Equations#3000 Alarm Messages Math Functions in Expressions and Equations, i.e. +, -, *, ^, /Indirect Variable References System Variables Supported

M-Codes Supported

Macro Mode B Codes Supported

ABS Absolute Value ACOS Arc Cosine AND Logical AND ASIN Arc or Inverse Sine ATAN Arc Tangent (Degrees) BCD Convert BCD to Binary BIN Binary to BCD to Binary COS Cosine (Degrees)DEGREES Convert Radians to Deg.

MOD ModulusOR Logical ORRADIANS Convert Degrees to RadiansROUND Round OffSIN Sine (Degrees)SQRT Square RootTAN Tangent (Degrees)XOR Logical XOR

Additional Functions