Você está na página 1de 2

Application Note: WinMax NC Programming

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.

ISNC Feature

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.

NC Productivity
Package

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-dened codes, mathematical equations, address expressions,
and M99 jump statements. To use NCPP, the control must have the ISNC option.

G-Codes Supported
G00
G01
G02
G02.4
G03
G03.4
G04
G05.3
G9
G10
G11
G15
G16
G17
G18
G19
G20
G21
G28
G29
G31
G40
G41
G42
G43
G44
G45
G46
G47
G48
G49
G50
G51
G50.1
G51.1
G52

Positioning (Rapid Traverse)


Linear Interpolation
Circular CW Interpolation
3D Circular CW Interpolation
Circular CCW Interpolation
3D Circular CCW Interpolation
Dwell
Surface Finish Quality
Exact Stop
Data Setting
Data Setting Mode Cancel
Polar Coordinate Cancel
Polar Coordinate
XY Plane Selection
ZX Plane Selection
YZ Plane Selection
Inch Conversion
Metric Conversion
Automatic Return to Reference Point
Automatic Return from Reference Point
Probe Skip Function
Cutter Comp Cancel
Cutter Comp Radius Left
Cutter Comp Radius Right
Positive Tool Length Offset
Negative Tool Length Offset
Tool Radius Offset Increase
Tool Radius Offset Decrease
Tool Radius Offset Double Increase
Tool Radius Offset Double Decrease
Tool Length Compensation Cancel
Cancel Scaling
Scaling Enable
Programmable Mirror Image Cancel
Programmable Mirror Image Enable
Selection of Local Coordinate System

2007 Hurco Companies, Inc.


ANWNCPR000207
FANUC is a registered trademark of FANUC LTD.

G53
G54
G55
G56
G57
G58
G59
G61
G64
G65
G66
G67
G68
G69
G73
G74
G76
G80
G81
G82
G83
G84
G84.2
G84.3
G85
G86
G87
G88
G89
G90
G91
G92
G93
G94
G98
G99
1 of 2

Selection of Machine Coordinate System


Select Work Coordinate System 1
Select Work Coordinate System 2
Select Work Coordinate System 3
Select Work Coordinate System 4
Select Work Coordinate System 5
Select Work Coordinate System 6
Precision Cornering
Cancel Precision Cornering
Macro Subprogram Call
Modal Macro Subprogram Call
Cancel Modal Macro Subprogram Call
Coordinate System Rotation
Coordinate System Rotation Cancel
Peck Drilling Cycle
Left Handed Tapping Cycle
Fine Boring (Bore Orient) Cycle
Canned Cycle Cancel
Drilling Cycle, Spot Boring
Drilling Cycle, Counter Boring
Peck Drilling Cycle
Tapping Cycle
Right Hand Rigid Tap CW
Left Hand Rigid Tap CCW
Boring Cycle
Bore Rapid Out Cycle
Back Boring Cycle
Bore Cycle With Manual Feed Out Dwell
Bore with Dwell Cycle
Absolute Dimensions
Incremental Dimensions
Preset Zero Point
Inverse Time
Feed Per Minute
Return to Initial Point in Canned Cycle
Return to R Plane in Canned Cycle
www.hurco.com

Application Note: WinMax NC Programming

Introduction

Application Note: WinMax NC Programming


M-Codes Supported
Program Stop
Optional Program stop
End Program (Spindle Off, Coolant Off)
Spindle CW
Spindle CCW
Spindle Stop
Tool Change
Secondary Coolant On
Primary Coolant On
Coolant Off
Switches on Both Primary and Secondary Coolant
Clamp Rotary C Axis
Unclamp Rotary C Axis
Advance Indexer One Position
Retract Z Axis to Home Position
Select Part Probe Signal
Select Tool Probe Signal
Enable Rigid Tapping
Program End Rewind
Rotary Encoder Reset
Clamp A Axis
Unclamp A Axis
Clamp B Axis
Unclamp B Axis
Switch Off Servos
Reads And Places the State of the Tool
Laser Probe OK Signal
M39 Reads And Places the State of the Tool
Laser Probe Static Signal
M40 Reads And Places the State of the Tool
Laser Probe Dynamic Signal

Macro Mode B Codes Supported


G65 Subprogram Call Command
G66 Modal Macro or Subprogram
G67 Cancel Modal Macro Call
User Dened G Codes / Subprogram Call
User Dened M Codes / Subprogram Call
User Dened S Codes / Subprogram Call
User Dened B Codes / Subprogram Call
User Dened T Codes / Subprogram Call
#3000 Alarm Messages
Indirect Variable References

Additional Functions
ABS
ACOS
AND
ASIN
ATAN
BCD
BIN
COS
DEGREES

Absolute Value
Arc Cosine
Logical AND
Arc or Inverse Sine
Arc Tangent (Degrees)
Convert BCD to Binary
Binary to BCD to Binary
Cosine (Degrees)
Convert Radians to Deg.

2007 Hurco Companies, Inc.


ANWNCPR000207

EXP
FIX
FUP
HSIN
HCOS
INVERSE
LN
LOG

M41
M42
M43
M44
M45
M46
M47
M48
M49
M50
M52
M53
M54
M55
M62
M63
M64
M65
M76
M77
M78
M79
M80
M81
M98
M99
M128
M129

Single Touch Skip Function


Double Touch Skip Function
Increases the Barrier Air (Tool Laser Probe)
Reduces the Barrier Air (Tool Laser Probe)
Opens Tool Laser Probe Shutter
Closes Tool Laser Probe Shutter
Tool Laser Probe Emitter On
Tool Laser Probe Emitter Off
Tool Laser Probe Receiver On
Tool Laser Probe Receiver Off
Enables Auxiliary Output 1
Enables Auxiliary Output 2
Enables Auxiliary Output 3
Enables Auxiliary Output 4
Disables Auxiliary Output 1
Disables Auxiliary Output 2
Disables Auxiliary Output 3
Disables Auxiliary Output 4
Normal A Axis Operation (Default)
Reverses A Axis Operation
Normal B Axis Operation (Default)
Reverses B Axis Operation)
C Axis is Right-Handed (Default)
C Axis is Left-Handed
Subprogram Call (Supports Nesting 15 Deep)
End Subprogram
Tool Center Point Management
Tool Center Point Management Cancel

WHILE Loops
DO Loops
IF Statements
Unconditional GOTO Statements
Computed GOTO Statements
Positive / Negative GOTO Statements
Address / Token Expressions
Equations
Math Functions in Expressions and Equations, i.e. +, -, *, ^, /
System Variables Supported
Exponential
Discard Fractions < 1
Add 1 for Fractions < 1
Hyperbolic Sine
Hyperbolic Cosine
Binary Inverse
Natural Logarithmic
Logarithmic

2 of 2

MOD
OR
RADIANS
ROUND
SIN
SQRT
TAN
XOR

Modulus
Logical OR
Convert Degrees to Radians
Round Off
Sine (Degrees)
Square Root
Tangent (Degrees)
Logical XOR
www.hurco.com

Application Note: WinMax NC Programming

M00
M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M12
M13
M20
M25
M26
M27
M29
M30
M31
M32
M33
M34
M35
M36
M38

Você também pode gostar