Page 1
ATHE NC P ROGRAMMING Dual-screen and Max Consoles for Hurco Turning Centers 704-0115-307 October 2012 Revision A...
Page 2
MS-DOS, Microsoft, and Windows are registered trademarks of Microsoft Corporation. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Hurco has listed here all trademarks of which it is aware. For more information about Hurco products and services, contact: Hurco Companies, Inc.
Softkeys are located on the side of the screen. You can set the softkeys to appear on either the right or left side of the screen. Refer to the Getting Started with WinMax for information about making this selection. Softkeys may change upon field entries or other softkey selection.
Page 16
Manual key appears as the Manual console key in text. Refer to the Getting Started with WinMax manual for information about console buttons and keys, in addition to other information about using softkeys and the pop-up text entry...
Page 17
Troubleshooting Steps that can be taken to solve potential problems. Hints and Tricks Useful suggestions that show creative uses of the WinMax features. Where can we go from here? Lists several possible options the operator can take. Table of Contents To assist with onscreen PDF viewing, this icon is located on the cover page.
PERATION NFORMATION Hurco provides documentation for using WinMax software on a control or desktop in two formats: on-screen Help and PDF. The information contained in both formats is identical. On-screen Help contains information about the current screen. If Help is not available for a screen, a Welcome screen appears with access to the Table of Contents, Index, or Search functions.
Printing the Programming Manuals The WinMax On-screen Help is also provided in PDF format for easy printing. The information contained in the PDF files is identical to the on-screen Help. The PDF files may be copied to a floppy disk or USB memory device to be transferred to a PC for printing.
Page 20
704-0115-307 xx - Programming and Operation Information WinMax Lathe NC Programming...
Conversational programs, nor can NC programs be converted automatically to any other NC format. Please refer to Getting Started with WinMax Lathe, NC Settings, on page 2 - 17 for information about default NC Settings. NC Part Program Components ........1 - Off-line Part Program Formats .
In the following sample screen, the S [% indicates the beginning of the program and the E] % line indicates the end of the program. Both characters appear automatically when beginning a new NC program. Figure 1–1. NC Editor Screen 704-0115-307 1 - 2 Overview WinMax Lathe NC Programming...
G02 and G03 program circular moves). X-axis Center/Offset coordinate for programming geometric information needed to determine the endpont of a motion command. Z-axis Center/Offset coordinate for programming geometric information needed to determine the endpoint of a motion command. 704-0115-307 Overview 1-3 WinMax Lathe NC Programming...
Primary Y Motion Dimension coordinate for programming geometric information needed to determine the endpoint of a motion command. Table 1–1. Address Characters 704-0115-307 1 - 4 Overview WinMax Lathe NC Programming...
When a different tool is needed in a program, a new data block must be created to describe the actions of that tool. 704-0115-307 Overview 1-5 WinMax Lathe NC Programming...
Synchronization or ISNC Block Skip Sync (ISNC M200) so it can be activated when the tool is off the part. Using this code when in a cutting mode may cause the tool to leave dwell marks. 704-0115-307 1 - 6 Overview WinMax Lathe NC Programming...
Tool motion does not occur unless axis motion is programmed in the block containing the T Code, or until motion is programmed in a following block. T0303 M03 S1200 T00 cancels tool offsets. 704-0115-307 Overview 1-7 WinMax Lathe NC Programming...
Page 28
Enter G09. 13. Spindle Stop Enter M5 to stop spindle motion. 14. End of Block System M Codes Choose among M0, M1, M2, and M30. Table 1–2. Order of Block Code Processing 704-0115-307 1 - 8 Overview WinMax Lathe NC Programming...
(3) represents the number of places to the left and the number on the right (4) of the decimal represents the number of places to the right of the decimal. 3.4 = nnn.nnnn 704-0115-307 Overview 1-9 WinMax Lathe NC Programming...
Delete key. The entire word is removed since numeric data is not allowed in an NC program without an address character to introduce it. 704-0115-307 1 - 10 Overview WinMax Lathe NC Programming...
Ctrl + G—opens a Goto window. Enter a block number to navigate to that block. • Ctrl + H—opens a Find and Replace window. • Ctrl + V—paste the copied or cut text 704-0115-307 Overview 1-11 WinMax Lathe NC Programming...
SKIP On indicates Block Skip is turned on; SKIP OFF indicates Block Skip is turned off. Refer to NC Editor Menus, on page 1 - 17 for information about the NC Editor softkey menus. 704-0115-307 1 - 12 Overview WinMax Lathe NC Programming...
When there is no NC program loaded in memory, the system automatically assigns the filename NONAME#, where the # represents a sequential number from 0 to 99. The file extension is set in User Preferences. Refer to Getting Started with WinMax Lathe, Project Manager, on page 3 - 1.
Page 34
Include a Z parameter to permit the system to draw the part on the graphics screen. An absolute Z command must occur after a tool change before making another move command. 704-0115-307 1 - 14 Overview WinMax Lathe NC Programming...
Program Editing Features Several editing features are available with the WinMax Lathe Max control. Keyboard and software features provide you with the editing capabilities to create and update part programs. Please refer to Getting Started with WinMax Lathe, Consoles, on page 1 - 5 for additional information about the console.
With the optional AT-keyboard, you can use Ctrl + select (using the pointing device for selecting) to select non-consecutive data blocks. 704-0115-307 1 - 16 Overview WinMax Lathe NC Programming...
NC Editor Menus Hurco's NC system provides many levels of program editing, as well as editing tools, to simplify the task. Press the MORE F7 softkey on each menu to move to the next menu selection. The menus appear in a circular loop; every time you press the MORE ...
Page 38
Edit Functions—invokes Edit Functions menu • More —displays the next menu. • Exit Editor—exits the NC Editor and moves to the Input screen. Select Part Programming to return to the NC Editor screen. 704-0115-307 1 - 18 Overview WinMax Lathe NC Programming...
Jump To End—moves the cursor to the beginning of the last program block in memory. If the keyboard is available, Ctrl + End combination will result in the same action. • Exit—returns to the previous menu. 704-0115-307 Overview 1-19 WinMax Lathe NC Programming...
Replace Next button again. • The Replace All screen button finds and replaces all instances of the search term. • Exit—invokes the Jump and Search menu. 704-0115-307 1 - 20 Overview WinMax Lathe NC Programming...
Ctrl + V keys. • Redo—redoes the editing operation(s) previously undone by the Undo softkey. If the keyboard is available, Ctrl + Y combination will result in the same action. 704-0115-307 Overview 1-21 WinMax Lathe NC Programming...
Page 42
Find and Replace—activates a popup box where search text and replacement text are entered. NC editor finds occurrences of the search text and replaces it with the replacement text. • Exit—loads the Basic Programming menu. 704-0115-307 1 - 22 Overview WinMax Lathe NC Programming...
1 - 25. • More —invokes Program Execution menu. • Exit Editor—exits the NC Editor and moves to the Input screen. Select Part Programming to return to the NC Editor screen. 704-0115-307 Overview 1-23 WinMax Lathe NC Programming...
Shift key and using the up/down/left/right arrow keys to select text. Then select the softkey and specify the renumbering interval. The selected blocks are renumbered. • Exit—invokes the Renumbering and Tagging menu. 704-0115-307 1 - 24 Overview WinMax Lathe NC Programming...
Jump to Selected Tag—goes to the selected tag in the program. • Clear Tag—deletes the selected tag. • Clear All Tags—deletes all tags in the list. • Exit—invokes the Renumbering and Tagging menu. 704-0115-307 Overview 1-25 WinMax Lathe NC Programming...
The defaults are at the beginning and end of the program. • More —invokes NC Editor Settings menu. • Exit Editor—exits the NC Editor and moves to the Input screen. Select Part Programming to return to the NC Editor screen. 704-0115-307 1 - 26 Overview WinMax Lathe NC Programming...
Settings, on page 1 - 28. • More —invokes Basic Programming menu. • Exit Editor—exits the NC Editor and moves to the Input screen. Select Part Programming to return to the NC Editor screen. 704-0115-307 Overview 1-27 WinMax Lathe NC Programming...
Select Cancel to close the window without saving changes. The OK screen button is inactive if a font size other than a pre- defined size selected from the list is entered. 704-0115-307 1 - 28 Overview WinMax Lathe NC Programming...
Specifying a Group 01 (Interpolation) G code in a canned cycle automatically enters the G80 condition (Cancel Drill Cycle). Conversely, a group 01 G code is not affected by the canned cycle G codes. 704-0115-307 2 - 2 Basic NC G Codes WinMax Lathe NC Programming...
N7 G91 G08 G02 X1.6 Z-0.6 I0 K-0.6 (G91 = Incremental; G08 = Diameter) Start point End point IK arc center coordinate Figure 2–3. Arc with Endpoint and Center Coordinates 704-0115-307 Basic NC G Codes 2-7 WinMax Lathe NC Programming...
Remaining Motion programmed after a high torque detection is deleted from memory. Please refer to M186 - Activate Torque Monitoring for W, on page 3 - 15 for details. 704-0115-307 Basic NC G Codes 2-9 WinMax Lathe NC Programming...
Table 2–4. Effects of Using G07 Programming Display Mode G07 does not affect the Programming Display Mode. The correct units are interpreted from the part program. 704-0115-307 2 - 10 Basic NC G Codes WinMax Lathe NC Programming...
Table 2–5. Effects of Using G07 and G08 Programming Display Mode G08 does not affect the Programming Display Mode. The correct units are interpreted from the part program. 704-0115-307 Basic NC G Codes 2-11 WinMax Lathe NC Programming...
Figure 2–6. G08 Diameter Programming The arc center dimension (K) stays the same for both commands, but the X-axis dimension (X) changes.The program may switch between G07 Radius and G08 Diameter at any time. 704-0115-307 Basic NC G Codes 2-13 WinMax Lathe NC Programming...
Unit Display Mode G20 does not affect the Unit Display Mode as viewed in the position or offset screens. The correct units are interpreted from the part program. 704-0115-307 2 - 14 Basic NC G Codes WinMax Lathe NC Programming...
Millimeter Mode formats Unit Display Mode G21 does not affect the Unit Display Mode as viewed in the position or offset screens. The correct units are interpreted from the part program. 704-0115-307 Basic NC G Codes 2-15 WinMax Lathe NC Programming...
The thread start angle is specified by a P value in a G33 block, such as: G0 X3.5 Z4 (Position for thread) G33 Z1 K0.2 P180 (Cut thread using 180° thread start angle) G1 X3.6 (Pullout of thread) 704-0115-307 2 - 16 Basic NC G Codes WinMax Lathe NC Programming...
Otherwise, when the program ends in the offset mode, positioning cannot be made to the terminal point of the program, and the tool position will be separated from the terminal position by the vector value. 704-0115-307 Basic NC G Codes 2-17 WinMax Lathe NC Programming...
The offset will be to the right side of the part profile. Refer to Examples—Cutter Compensation, on page 2 - 19 for programming examples. Default—No Modal—Yes Cancels G40, G41 704-0115-307 2 - 18 Basic NC G Codes WinMax Lathe NC Programming...
Figure 2–7. Cutter Compensation Right Turned Off (G40) Cutter Compensation Right Turned On (G42) The following figure illustrates the tool path with G42 programmed. Figure 2–8. Cutter Compensation Turned On (G42 704-0115-307 2 - 20 Basic NC G Codes WinMax Lathe NC Programming...
• Absolute mode (G90) must be active. G59 - Cancel Work Coordinate Offsets (default) This code cancels any active offset set by G92 Work Coordinate Offsets. Default—Yes Modal—Yes Cancels G92 704-0115-307 Basic NC G Codes 2-21 WinMax Lathe NC Programming...
4. If G94 is active, the axis will dwell for P seconds; if G95 is active, the axis will dwell for P revolutions. 5. Tool feeds to R plane. 6. Spindle reverses direction (CW). Figure 2–10. G74 Left Hand Tapping 704-0115-307 Basic NC G Codes 2-23 WinMax Lathe NC Programming...
Sample Thread Part Programs ........2 - 704-0115-307 2 - 24 Basic NC G Codes WinMax Lathe NC Programming...
Page 73
Number of spring passes at 0 depth per pass. A spring pass is a repetition made by the finish tool at the final finish depth. Face The X end position at Z Start Depth. 704-0115-307 Basic NC G Codes 2-25 WinMax Lathe NC Programming...
X Clearance (T + Z = K). 1. The interpretation of this parameter is not affected by the Radius/Diameter Mode state (G07 or G08). Table 2–8. Thread Parameters 704-0115-307 2 - 26 Basic NC G Codes WinMax Lathe NC Programming...
Exactly one of the three thread arguments (Z, H, or T for turn thread, X, S, or T for face thread) must be programmed for the given type of thread cycle (turn or face). 704-0115-307 Basic NC G Codes 2-27 WinMax Lathe NC Programming...
Example—OD Thread with Offsets U and W The following figure illustrates the use of U (X return clearance) and W (Z clearance) parameters: Figure 2–12. OD Thread with Offsets U and W Example 704-0115-307 2 - 28 Basic NC G Codes WinMax Lathe NC Programming...
The following figure illustrates the use of A (lead in angle) and C (lead out angle) parameters: ° ° Figure 2–13. OD Thread with Chase in (A) and Chase out (C) Example 704-0115-307 Basic NC G Codes 2-29 WinMax Lathe NC Programming...
Only the start rough depth (D) and final rough depth (E) are programmed. The tool moves progressively deeper from D to E through a number of control-calculated passes. G78 X1.05 J.45 D.1 E.05 Figure 2–17. No Programmed Finish Pass Example 704-0115-307 Basic NC G Codes 2-31 WinMax Lathe NC Programming...
This example shows a straight thread cut with: • Variable depth per pass. • Two finish passes of .02" per finish pass (P, L). • Three spring passes (R). 704-0115-307 2 - 32 Basic NC G Codes WinMax Lathe NC Programming...
4. If G94 is active, the axis will dwell for P seconds; if G95 is active, the axis will dwell for P revolutions. 5. Tool feeds to R plane. 6. Spindle reverses direction (CCW). Figure 2–26. G84 Right Hand Tapping 704-0115-307 2 - 40 Basic NC G Codes WinMax Lathe NC Programming...
G90 Absolute mode and G91 Incremental mode at any time. Absolute dimensions are measured from part zero. The figure shows the path that the tool center will follow. Figure 2–27. Absolute Dimensions 704-0115-307 Basic NC G Codes 2-41 WinMax Lathe NC Programming...
Incremental dimensions specify the distance that the tool must move during each block (i.e. the distance from the start of the move to the end of the move). Figure 2–28. Incremental Dimensions 704-0115-307 Basic NC G Codes 2-43 WinMax Lathe NC Programming...
(G20) or millimeter/revolution (G21) units. Any dwell command that is programmed while G95 is active will be interpreted as number of spindle revolutions to dwell. Default—No Modal—Yes Cancels G94 704-0115-307 Basic NC G Codes 2-45 WinMax Lathe NC Programming...
(radius) G08 Diameter twice the distance from the tool tip to the spindle centerline Programming (diameter) Table 2–10. R Values and G96 Programming 704-0115-307 2 - 46 Basic NC G Codes WinMax Lathe NC Programming...
If the initial Z coordinate is changed for subsequent cycles, the Z coordinate for the first cycle after G80 is used as the reference plane. Figure 2–29. G98 Drill Cycle Initial Level Return (default) 704-0115-307 Basic NC G Codes 2-47 WinMax Lathe NC Programming...
Page 101
M234 - Release “C3” Axis Clamp ....... . 3 - M241 - Allow Sub-spindle Chuck to Open while Spindle is Running for Part Transfer 3 - 704-0115-307 Basic NC M Codes 3-3 WinMax Lathe NC Programming...
M04 - Spindle Counterclockwise M04 is the same as M03 except it commands the spindle to rotate in the counterclockwise direction. Execute after T and S codes, but before motion. 704-0115-307 3 - 4 Basic NC M Codes WinMax Lathe NC Programming...
M10 command sets the chucking pressure to high. M11 - Set Chucking Pressure to Low M11 command sets the chucking pressure to low. M12 - Turret Index Reverse M12 is used to reverse the turret. 704-0115-307 Basic NC M Codes 3-5 WinMax Lathe NC Programming...
M18 turns on the main chuck coolant. M19 - Spindle Orient M19 orients all spindles to 0°. M20 - Chuck Open for Bar Feeder Start M20 is used with the optional Bar Feeder. 704-0115-307 3 - 6 Basic NC M Codes WinMax Lathe NC Programming...
M30 stops program execution and moves the part program pointer to the top of the part program. M30 commands the spindle to turn off. Execute after tool change or motion (system M codes). 704-0115-307 Basic NC M Codes 3-7 WinMax Lathe NC Programming...
Rest and Tailstock colliding. If the safety switch is tripped, the machine will enter the Emergency Stop mode. This optional device is used with turning centers to hold long pieces of stock in the center while cutting. 704-0115-307 3 - 8 Basic NC M Codes WinMax Lathe NC Programming...
Minimum RPM = 15 Maximum RPM = 1600 M48 - Use Feedrate Override M48 uses the value specified by the Feedrate Override dial (FPM %). Execute before tool change or motion. 704-0115-307 Basic NC M Codes 3-9 WinMax Lathe NC Programming...
M55 is used to turn on auxiliary equipment or a unique machine function. M57 - Use Part Catcher with Bar End Eject M57 is used to advance the optional Part Catcher with bar end eject. 704-0115-307 3 - 10 Basic NC M Codes WinMax Lathe NC Programming...
M64 is used to turn off auxiliary equipment or a unique machine function. M65 - Auxiliary Output 4 Off M65 is used to turn off auxiliary equipment or a unique machine function. 704-0115-307 Basic NC M Codes 3-11 WinMax Lathe NC Programming...
M86 is used to close the optional Auto Door. M91 - Single Block Inactive M91 is used for inactivating a single block. M92 - Single Block Active M92 is used for activating a single block. 704-0115-307 3 - 12 Basic NC M Codes WinMax Lathe NC Programming...
Tailstock. The Tailstock can then move with the Z-axis to the specified Z location. M129 - Z-axis Unhitch from Tailstock M129 is used to unhitch the Z-axis from the Tailstock. The Z-axis can then move freely from the tailstock. 704-0115-307 Basic NC M Codes 3-13 WinMax Lathe NC Programming...
Execute before tool change or motion. Refer to Block Skip Code, on page 1 - 6 for information about Block Skip. 704-0115-307 Basic NC M Codes 3-15 WinMax Lathe NC Programming...
Spindle is Running for Part Transfer M241 allows the sub-spindle chuck to open while the sub-spindle is running. This interlock bypass is cancelled automatically when M115 (Close Sub-Spindle Chuck) is executed. 704-0115-307 3 - 16 Basic NC M Codes WinMax Lathe NC Programming...
G codes. G Code Table The following table lists the G codes, identifies the defaults in bold text, identifies groups, lists Modal or Non-modal types, and describes the G code functions. 704-0115-307 ISNC G Codes 4-3 WinMax Lathe NC Programming...
Page 118
Stock Removal with Repeat Pattern Z Direction Grooving X Direction Grooving Modal Multiple Thread Cutting Stock Removal in Turning Cycle G78 or G92 Threading Cycle Stock Removal in Facing Cycle 704-0115-307 4 - 4 ISNC G Codes WinMax Lathe NC Programming...
Feed per Minute (default) Feed per Revolution Modal Constant Surface Speed (CSS) Direct Spindle Speed (default) Modal Return to Initial Level (default) Return to R Point Level Table 4–2. G Codes 704-0115-307 ISNC G Codes 4-5 WinMax Lathe NC Programming...
Y indicates Absolute Y and (v) indicates Incremental Y. • Z indicates Absolute Z and (w) indicates Incremental Z. • C indicates Absolute C and (h) indicates Incremental C. 704-0115-307 4 - 6 ISNC G Codes WinMax Lathe NC Programming...
I— X-axis Center/Offset coordinate for programming geometric information needed to determine the endpont of a motion command. • K—Z-axis Center/Offset coordinate for programming geometric information needed to determine the endpoint of a motion command. • R—radius 704-0115-307 4 - 8 ISNC G Codes WinMax Lathe NC Programming...
If G08 - Diameter Programming (default) is active the arc endpoint (X) must be programmed as a diameter value, but the arc center (I) must be programmed as a radius value. 704-0115-307 ISNC G Codes 4-9 WinMax Lathe NC Programming...
For example, the block G04 X10 pauses for 10 page 4 - 90 for information about G95. spindle revolutions before it executes the next block of code. Table 4–3. G04 Dwell Examples 704-0115-307 4 - 12 ISNC G Codes WinMax Lathe NC Programming...
Format G07 X ____ (X is interpreted as a radius value.) Example Please refer to G07/G08 Radius/Diameter Programming Examples, on page 4 - 14 for examples of radius programming. 704-0115-307 ISNC G Codes 4-13 WinMax Lathe NC Programming...
• K—Z -axis Center/Offset coordinate for programming geometric information needed to determine the endpoint of a motion command. • R—radius. 704-0115-307 4 - 14 ISNC G Codes WinMax Lathe NC Programming...
Figure 4–6. G07 Radius Programming and G08 Diameter Programming The arc center dimension (K) stays the same for both commands, but the X-axis dimension (X) changes. The program may switch between G07 Radius and G08 Diameter at any time. 704-0115-307 ISNC G Codes 4-15 WinMax Lathe NC Programming...
(U, V, W) are added to the current work offset values. Format—Work Offset G10 L2 P0 or P1-6 X ____ Y ____ Z ____ G10 L2 P1-6 U ____ V ____ W ____ 704-0115-307 4 - 16 ISNC G Codes WinMax Lathe NC Programming...
P—program with a number 10001 to 10099 for the tool geometry offset value. G11 - Data Setting Cancel (default) Default—Yes Modal—Yes Cancels—G10 - Data Setting (Work Offsets, Tool Offsets, or Tool Geometry) 704-0115-307 ISNC G Codes 4-17 WinMax Lathe NC Programming...
The X, Y, Z, I, and J words are valid in circular interpolation blocks. • K words are invalid. • If a Z word is programmed in the circular interpolation block, a helix is generated in the XY plane. 704-0115-307 4 - 18 ISNC G Codes WinMax Lathe NC Programming...
In G17, the arc end point is defined by the X and Y words in the block. The arc center point is defined by the I and J words in the block. Example The diagram below illustrates XY plane selection: Figure 4–8. XY Plane Selection 704-0115-307 ISNC G Codes 4-19 WinMax Lathe NC Programming...
In G18, the arc end point is defined by the X and Z words in the block. The arc center point is defined by the I and K words in the block. Example The diagram below illustrates XZ plane selection: Figure 4–9. G18 XZ Plane Selection 704-0115-307 4 - 20 ISNC G Codes WinMax Lathe NC Programming...
J and K words in the block. Format The format of the YZ plane selection command is as follows: G19 Y____ Z____ Example The diagram below illustrates YZ plane selection: Figure 4–10. G19 YZ Plane Selection 704-0115-307 ISNC G Codes 4-21 WinMax Lathe NC Programming...
Unit Display Mode G20 does not affect the Unit Display Mode as viewed in the position or offset screens. The correct units are interpreted from the part program. 704-0115-307 4 - 22 ISNC G Codes WinMax Lathe NC Programming...
3.5 represents 3 places to the left of the decimal point and 5 places to the right. Unit Display Mode G21 does not affect the Unit Display Mode as viewed in the position or offset screens. The correct units are interpreted from the part program. 704-0115-307 ISNC G Codes 4-23 WinMax Lathe NC Programming...
The combination of G91 and a value of zero for the Z axis causes the Z axis to move directly to the home (reference) point without moving through an intermediate point. G91 G28 Z0 704-0115-307 4 - 24 ISNC G Codes WinMax Lathe NC Programming...
Z indicates Absolute Z and (w) indicates Incremental Z. Parameters • X(u)—X end point • Z(u)—Z end point; only used for tapered threading. • F or E—pitch • Q—thread starting angle 704-0115-307 ISNC G Codes 4-25 WinMax Lathe NC Programming...
If you are programming a tapered thread (both X and Z axes move), program the lead (I or K) for the axis with the longest move. G00 X3.5 Z4 (Position for thread) G33 Z1 K0.2 (Cut thread) G01 X3.6 (Pullout of thread) 704-0115-307 ISNC G Codes 4-27 WinMax Lathe NC Programming...
Page 142
The thread start angle is specified by a P value in a G33 block, such as: G00 X3.5 Z4 (Position for thread) G33 Z1 K0.2 P180 (Cut thread using 180° thread start angle) G01 X3.6 (Pullout of thread) 704-0115-307 4 - 28 ISNC G Codes WinMax Lathe NC Programming...
Figure 4–14. G42 Cutter Compensation Right Beginning point of programmed direction (clockwise tool movement from point A to point B) Ending point of programmed direction (clockwise tool movement from point A to point B) 704-0115-307 ISNC G Codes 4-29 WinMax Lathe NC Programming...
Either G00 - Rapid Traverse (default), G01 - Linear Interpolation, or G02/G03 - Clockwise/Counterclockwise Arc must be active. Examples Please refer to Examples—Cutter Compensation, on page 4 - 31. 704-0115-307 4 - 30 ISNC G Codes WinMax Lathe NC Programming...
G97 - Direct Spindle Speed (default) must be active. Set Max RPM Format G50 S ____ Set Max RPM Parameters • S—spindle speed (for Max RPM) Set Max RPM Example G50 S1000 704-0115-307 ISNC G Codes 4-33 WinMax Lathe NC Programming...
N10 G90 G00 Z0 X0 (Absolute Mode) N30 G53 Z2 X1 (Move to X1 Z2) When the N30 block is finished, the machine will return to the G90 - Absolute Programming (default) mode. 704-0115-307 4 - 34 ISNC G Codes WinMax Lathe NC Programming...
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) 704-0115-307 ISNC G Codes 4-35 WinMax Lathe NC Programming...
Zero X, Z, C, W, and Y. Editing G54 work offsets for multiple coordinate systems updates the part setup for X, Z, C, W, and Y on the Part Setup screen. 704-0115-307 4 - 36 ISNC G Codes WinMax Lathe NC Programming...
To update work offset values, use data setting G code G10 Pn to set the Auxiliary work offsets values. For example, to update work offset 46, G10 P46 X12.5 Y3.0 Z-0.5 704-0115-307 ISNC G Codes 4-37 WinMax Lathe NC Programming...
The value which follows A is copied to the local variable #1 in the subprogram. Table 4– 7.Macro Mode B Local Variables and Subprogram Arguments, on page 4 - 39 shows the relationships between the subprogram arguments and the local variables in the subprograms. 704-0115-307 4 - 38 ISNC G Codes WinMax Lathe NC Programming...
Up to four digits can be used to specify iterations for a maximum of 9999 iterations. Leading zeros are not required when specifying iterations; however, leading zeros are required with a subprogram number that is less than 1000. 704-0115-307 4 - 40 ISNC G Codes WinMax Lathe NC Programming...
Page 155
WHILE [#2GT0] DO250 G91 G#500 G#11 Z#26 Q#17 R[#5003-#18] F#9 G00 X#24 Y#25 #2 = #2-1 END250 View the part using the Verify console key to verify that the part is programmed correctly. 704-0115-307 ISNC G Codes 4-41 WinMax Lathe NC Programming...
Q4.56 R#110. And use IF [#150 EQ #160] GOTO 100 instead of G65 H81 P100 Q#150 R#160. These commands can be used in either Macro A or B mode. 704-0115-307 4 - 42 ISNC G Codes WinMax Lathe NC Programming...
If Statement, Greater Than/Equals IF #b >= #c, GOTO a If Statement, Less Than/Equals IF #b <= #c, GO TO a Table 4–8. H Code Descriptions and Instruction Functions for G65 Macro Instructions 704-0115-307 ISNC G Codes 4-43 WinMax Lathe NC Programming...
A Modal user defined G code In a G66 Modal subprogram call, the subprogram is repeatedly executed after each Move command until the G67 - Modal Subprogram Call Cancel (default) command is performed. 704-0115-307 ISNC G Codes 4-45 WinMax Lathe NC Programming...
Page 160
X0 G66 P6010 I3.J1. :6010 (THIS SUBPROGRAM CREATES A SIMPLE BOX SHAPE.) X-#4 Y-#5 View the part using the Verify console key to verify that the part is programmed correctly. 704-0115-307 4 - 46 ISNC G Codes WinMax Lathe NC Programming...
G70 P ____ Q ____ F ____ S ____ T ____ Parameters • P—first sequence number of Profile • Q—last sequence number of Profile • F—cutting feedrate • S—spindle speed • T—tool 704-0115-307 ISNC G Codes 4-47 WinMax Lathe NC Programming...
U—second line with U is X stock finish (or finish tolerance) • W—Z stock finish (or finish tolerance) • F—cutting feedrate for roughing • S—roughing speed • T—tool with offset xxxx 704-0115-307 ISNC G Codes 4-49 WinMax Lathe NC Programming...
Cutting depth Retract distance Finish tolerance in X Finish tolerance in Z Figure 4–19. G71 Stock Removal in Turning 704-0115-307 ISNC G Codes 4-51 WinMax Lathe NC Programming...
U—second line with U is finish allowance in X/2 • W—second line with W is finish allowance in Z • F—cutting feedrate for roughing • S—spindle speed • T—tool with offset xxxx 704-0115-307 4 - 54 ISNC G Codes WinMax Lathe NC Programming...
X Cut Depth Z Cut Depth X Cut Depth + X Finish Allowance/2 Z Cut Depth + Z Finish Allowance X Finish Allowance/2 Z Finish Allowance Figure 4–21. G73 Pattern Repeating 704-0115-307 ISNC G Codes 4-55 WinMax Lathe NC Programming...
If P or Q are integers (no decimal point), the values will be divided by 10000. For example, P10000 becomes P1.0. Example The following sample program and figure illustrate G74: O1000 G21 G54 T1313 G97 S1700 M3 G0 X90.0 Z3.0 704-0115-307 4 - 56 ISNC G Codes WinMax Lathe NC Programming...
G74 Z-6. X40.0 P3 Q4 F200 X Total X distance x/2 Z Total Z depth R Retract distance R Relief distance for retract move Figure 4–22. G74 End Face Peck Drilling 704-0115-307 ISNC G Codes 4-57 WinMax Lathe NC Programming...
If P or Q are integers (no decimal point), the values will be divided by 10000. For example, P10000 becomes P1.0. Example The following sample program and figure illustrate G75: O1000 G21 G54 G90 T0202 G97 S1700 M3 704-0115-307 4 - 58 ISNC G Codes WinMax Lathe NC Programming...
G75 X97.75 Z-35.0 P2 Q3 F200 G28 U0 X Total X Distance X/2 Z Total Z Depth R Retract Distance R Relief Distance for Retract Move Figure 4–23. G75 Outer Diameter/Inner Diameter Drilling 704-0115-307 ISNC G Codes 4-59 WinMax Lathe NC Programming...
The last two digits represent the angle of the tool tip. For example 2 finish passes, a chamfer of 1.5F using a tool tip angle of 55 would be expressed as: P021555 • Q—minimum depth of cut. 704-0115-307 4 - 60 ISNC G Codes WinMax Lathe NC Programming...
Page 175
Chamfer distance along Z axis for lead-out move Z end of thread R start thread radius minus end thread radius P thread height Q depth of cut for first pass Figure 4–24. G76 - Multiple Threading Cycle 704-0115-307 ISNC G Codes 4-61 WinMax Lathe NC Programming...
The sign of U and R determines the angle of the taper for canned cycles. In general, the value of R is added to the start point of the cycle. Figure 4–25. Sign of U and R determines the angle of the taper for canned cycles 704-0115-307 4 - 62 ISNC G Codes WinMax Lathe NC Programming...
Z(w)—Z end position • R—start radius minus end radius • F—cutting feedrate Example The following figure illustrates G77: R: start radius minus end radius Figure 4–26. G77 External Diameter/Internal Diameter Cutting Cycle 704-0115-307 ISNC G Codes 4-63 WinMax Lathe NC Programming...
R is positive if the X Start position is larger than the X End position. • R is negative if the X Start position is smaller than the X End position. • F—pitch 704-0115-307 4 - 64 ISNC G Codes WinMax Lathe NC Programming...
R—amount of taper, if any. Example G79 is modal so stock removal can be done as follows: G79 X ____ Z ____ R ____ U ____ U ____ W ____ W ____ 704-0115-307 ISNC G Codes 4-65 WinMax Lathe NC Programming...
G87 - Side Drilling with Pecks/Dwell • G88 - Side CW Tapping • G89 - Side Boring Cycle G00 - Rapid Traverse (default) cannot be programmed in the same block. 704-0115-307 4 - 66 ISNC G Codes WinMax Lathe NC Programming...
• S—Spindle speed The tool motion for the drill cycle is shown below. 1. Position to XZ 2. Rapid to reference plane 3. Feed to depth 4. Rapid to reference plane 704-0115-307 ISNC G Codes 4-67 WinMax Lathe NC Programming...
G87 - Side Drilling with Pecks/Dwell • G88 - Side CW Tapping • G89 - Side Boring Cycle Format G82 X ____ Z ____ P ____ F ____ S ____ 704-0115-307 4 - 68 ISNC G Codes WinMax Lathe NC Programming...
Q—Distance for feed • F—Feedrate • S—Spindle speed If P or Q are integers (no decimal point), the values will be divided by 10000. For example, P10000 becomes P1.0. 704-0115-307 4 - 70 ISNC G Codes WinMax Lathe NC Programming...
Q—Distance for feed • F—Feedrate • S—Spindle speed If P or Q are integers (no decimal point), the values will be divided by 10000. For example, P10000 becomes P1.0. 704-0115-307 4 - 72 ISNC G Codes WinMax Lathe NC Programming...
P—Seconds to dwell at bottom of hole • Q—Distance for feed • F—Feedrate • S—Spindle speed If Q is an integer (no decimal point), the value will be divided by 10000. For example, Q10000 becomes Q1.0. 704-0115-307 ISNC G Codes 4-73 WinMax Lathe NC Programming...
4. If G94 is active, the axis will dwell for P seconds; if G95 is active, the axis will dwell for P revolutions. 5. Tool feeds to R plane. 6. Spindle reverses direction (CCW). Figure 4–30. G84 Face CW Tapping 704-0115-307 4 - 74 ISNC G Codes WinMax Lathe NC Programming...
P—Seconds to dwell at bottom of hole • Q—Distance for feed • F—Feedrate • S—Spindle speed If P or Q are integers (no decimal point), the values will be divided by 10000. For example, P10000 becomes P1.0. 704-0115-307 ISNC G Codes 4-75 WinMax Lathe NC Programming...
3. At the G85, the spindle feeds to Z Bottom as specified. 4. At Z Bottom, the spindle feeds to the Z Start position. It is possible to have an XY position move with the G85 code. 704-0115-307 4 - 76 ISNC G Codes WinMax Lathe NC Programming...
Example The diagram below illustrates tool movement for the Boring cycle (G85): Stock Z Start; Return Point Z Bottom Figure 4–31. G85 Tool Movement for the Boring Cycle 704-0115-307 ISNC G Codes 4-77 WinMax Lathe NC Programming...
2. The spindle bores down to Z Bottom at the specified feedrate. 3. The spindle turns off. 4. The spindle moves up to Z Start at the rapid speed. 5. The spindle turns on. 704-0115-307 4 - 78 ISNC G Codes WinMax Lathe NC Programming...
This diagram illustrates tool movement for the Bore Rapid Out cycle: Stock Z Start (Basic); Return Point (Industry standard) Z Bottom Spindle Stop Figure 4–32. G86 Tool Movement for the Bore Rapid Out Cycle 704-0115-307 ISNC G Codes 4-79 WinMax Lathe NC Programming...
Q—Distance for feed • F—Feedrate • S—Spindle speed If P or Q are integers (no decimal point), the values will be divided by 10000. For example, P10000 becomes P1.0. 704-0115-307 4 - 80 ISNC G Codes WinMax Lathe NC Programming...
P—Seconds to dwell at bottom of hole • F—Feedrate • S—Spindle speed If P is an integer (no decimal point), the value will be divided by 10000. For example, P10000 becomes P1.0. 704-0115-307 ISNC G Codes 4-81 WinMax Lathe NC Programming...
• G87 - Side Drilling with Pecks/Dwell • G88 - Side CW Tapping Format G89 X ____ Z ____ F ____ S ____ Parameters • F—Feedrate • S—Spindle speed 704-0115-307 4 - 82 ISNC G Codes WinMax Lathe NC Programming...
G90 Absolute mode and G91 Incremental mode at any time. Absolute dimensions are measured from part zero. The figure shows the path that the tool center will follow. Figure 4–33. G90 Absolute Dimensions (Mode B) 704-0115-307 ISNC G Codes 4-83 WinMax Lathe NC Programming...
Page 198
N200 Z0 (turn) N230 G00 G40 X2.5 (cutter compensation off, rapid to X, skip if block del on) N240 Z3 (rapid to Z) N900 M30 (end of program, rewind) 704-0115-307 4 - 84 ISNC G Codes WinMax Lathe NC Programming...
Incremental dimensions specify the distance that the tool must move during each block (i.e. the distance from the start of the move to the end of the move). Figure 4–34. G91 Incremental Dimensions (Mode B) 704-0115-307 ISNC G Codes 4-85 WinMax Lathe NC Programming...
Page 200
N200 Z-.3 (turn) N230 G00 G40 X.6 (cutter compensation off, rapid to X, skip if block del on) N240 Z3 (rapid to Z) N900 M30 (end of program, rewind) 704-0115-307 4 - 86 ISNC G Codes WinMax Lathe NC Programming...
G92 Spindle Max Speed cannot include X and Z coordinates. Spindle Max Speed Format G92 S____ Spindle Max Speed Parameters • S—spindle speed Spindle Max Speed Example G92 S5000 (prevent the spindle from exceeding 5000 rpm) 704-0115-307 ISNC G Codes 4-87 WinMax Lathe NC Programming...
The following figure illustrates G92 Multiple Thread Cutting Cycle: Lead is based on commanded spindle RPM and F: cutting feedrate R or I Thread radius start minus thread radius end Figure 4–35. G92 Multiple Thread Cutting—Tapered Thread 704-0115-307 4 - 88 ISNC G Codes WinMax Lathe NC Programming...
G93 G1 X5.0 F10.0 Y7.0 F10.0 Time is 1/10.0min = 0.1min Actual Feedrate for first line is 5.0in/0.1 min = 50 ipm. Actual Feedrate for second line is 7.0in/0.1 min = 70 ipm. 704-0115-307 ISNC G Codes 4-89 WinMax Lathe NC Programming...
G95 is active will be interpreted as number of spindle revolutions to dwell. Default—No Modal—Yes Cancels: • G93 - Inverse Time Feedrate • G94 - Feed per Minute (default) Format G95 X____ Z____ F____ Parameters • F—feedrate in inch/revolution or millimeter/evolution 704-0115-307 4 - 90 ISNC G Codes WinMax Lathe NC Programming...
G97 sets direct RPM as the modal spindle command mode. When G97 is active, the programmed S value is revolutions per minute. Default—Yes Modal—Yes Cancels G96 - Constant Surface Speed (CSS) 704-0115-307 ISNC G Codes 4-91 WinMax Lathe NC Programming...
Cancels G98 - Return to Initial Level (default) Example The tool returns to the R Reference Plane. N005 G99 N020 G81 Z5 (feed to Z5, rapid to R) Figure 4–37. G99 General Drill Cycle Tool Motion 704-0115-307 ISNC G Codes 4-93 WinMax Lathe NC Programming...
The ISNC option provides M Code translation, allowing you to customize M Codes from existing programs and controls for use on the WinMax Lathe Max Control. Many M Codes are named by the machine builder and vary from one machine to another. These M Codes can be converted to a default set of codes, or the codes can be customized and translated to the M Code that the WinMax Lathe Max control uses.
There are 3 of these Translation screens, accessed from Page 1 by selecting the PREVIOUS M CODE SCREEN F1 or NEXT M CODE SCREEN F2 softkey. Figure 5–3. ISNC M Code Translation List Page 2 screen 704-0115-307 ISNC M Codes 5-3 WinMax Lathe NC Programming...
The last of the ISNC M Code Translation List screens, Page 4, contains a listing of codes which can be ignored because the program contains M Codes for functions that the WinMax Lathe Max Control does not support. Enter these codes on this screen and the M Codes will be ignored.
The ISNC option provides import and export functions. This feature allows you to import NC files written for machine types for use with controls other than WinMax Lathe Max controls. In addition, this feature makes it possible for you to export NC files written for WinMax Lathe Max controls to machine types for use with other controls.
2. Type the file name in the File Name field. 3. Select the Save F1 softkey. A message appears confirming the file was saved successfully. 4. Select OK to clear the message. The Input screen appears. 704-0115-307 5 - 6 ISNC M Codes WinMax Lathe NC Programming...
2. Select the Save NC State to File F3 softkey. The screen shows directory information, including the folder and file. Figure 5–8. Save NC State to File screen with new folder and NC State file 704-0115-307 ISNC M Codes 5-7 WinMax Lathe NC Programming...
Codes. This selection keeps existing tool offsets, work offsets, and parameters. 5. Select the Begin Operation F2 softkey. A pop-up window appears confirming the NC State being successfully restored. Select OK to close the window. 704-0115-307 5 - 8 ISNC M Codes WinMax Lathe NC Programming...
ISNC M Code Definitions Following are definitions for Hurco M Codes. A corresponding ISNC M Code for M Code Translation or Importing and Exporting M Code Data is provided for each M Code. The following M codes are available on most systems.
Page 218
Sub-spindle Chuck Open (ISNC M168) ......5 - 704-0115-307 5 - 10 ISNC M Codes WinMax Lathe NC Programming...
Page 219
Rigid Tap (ISNC M29) ........5 - 704-0115-307 ISNC M Codes 5-11 WinMax Lathe NC Programming...
Main Spindle CCW (ISNC M4) M4 is the same as M0 except it commands the main spindle (S1) to rotate in the counterclockwise direction. Execute after T and S codes, but before motion. Format S1:M4 704-0115-307 ISNC M Codes 5-13 WinMax Lathe NC Programming...
M34 is the same as M0 except it commands the live tooling spindle (S2) to rotate in the counterclockwise direction. Execute after T and S codes, but before motion. Format S2:M34 704-0115-307 5 - 14 ISNC M Codes WinMax Lathe NC Programming...
Sub-spindle Stop (ISNC M105) M105 turns the sub-spindle (S3) off. M105 executes at the end of the block after all motion occurs. Execute after tool change or motion (system M codes). Format S3:M105 704-0115-307 ISNC M Codes 5-15 WinMax Lathe NC Programming...
Chuck Close (ISNC M68) M68 is used to close the chuck for use with the optional Bar Feeder. Main Spindle Orient (ISNC M19) M19 orients the main spindle to 0°. 704-0115-307 5 - 16 ISNC M Codes WinMax Lathe NC Programming...
M30 stops program execution and moves the part program pointer to the top of the part program. M30 commands the spindle to turn off. Execute after tool change or motion (system M codes). 704-0115-307 ISNC M Codes 5-17 WinMax Lathe NC Programming...
M59 is used to retract the optional Part Catcher. Sel External Chuck (ISNC M60) M60 is used to select external chucking. Sel Internal Chuck (ISNC M61) M61 is used to select internal chucking. 704-0115-307 5 - 18 ISNC M Codes WinMax Lathe NC Programming...
Sub-spindle Chuck Close (ISNC M169) M169 is used for closing the sub-spindle chuck. Turning Mode (ISNC M130) M130 sets the control to turning mode. Milling Mode (ISNC M131) M131 sets the control to milling mode. 704-0115-307 ISNC M Codes 5-19 WinMax Lathe NC Programming...
(Activate W Axis Torque monitoring) G1 G6 W180 F20(Feed W Axis forward to Grab Part and activate Probe/Block skip) M187 (Stop W Axis Torque Monitoring) G0 W200 (Rapid W back to Approach position) 704-0115-307 5 - 20 ISNC M Codes WinMax Lathe NC Programming...
Offset) codes execute, but before motion programmed in the block occurs. • M65 commands the primary coolant pump to turn off. Execute after tool change or motion. Format S1 or S2:M65 704-0115-307 5 - 22 ISNC M Codes WinMax Lathe NC Programming...
M165 turns the sub-spindle off. M64 will execute after Tool, Spindle, and E (Work Offset) codes execute, but before motion programmed in the block occurs. • M165 commands the primary coolant pump to turn off. Execute after tool change or motion. Format S3:M165 704-0115-307 ISNC M Codes 5-23 WinMax Lathe NC Programming...
M154 is used to turn off auxiliary equipment or a unique machine function. Auxiliary Output 4 Off (ISNC M155) M155 is used to turn off auxiliary equipment or a unique machine function. 704-0115-307 5 - 24 ISNC M Codes WinMax Lathe NC Programming...
Rest and Tailstock colliding. If the safety switch is tripped, the machine will enter the Emergency Stop mode. This optional device is used with turning centers to hold long pieces of stock in the center while cutting. 704-0115-307 ISNC M Codes 5-25 WinMax Lathe NC Programming...
Spindle Gear 2 (ISNC M42) M42 sets the spindle to Gear 2, or the high gear range. High Gear Speed Range for TM18: Minimum RPM = 15 Maximum RPM = 1600 704-0115-307 5 - 26 ISNC M Codes WinMax Lathe NC Programming...
Z-axis Tailstock Unhitch (ISNC M129) M129 is used to unhitch the Z-axis from the Tailstock. The Z-axis can then move freely from the tailstock.bypass is cancelled automatically when M115 (Close Sub-Spindle Chuck) is executed. 704-0115-307 ISNC M Codes 5-27 WinMax Lathe NC Programming...
Offsets from machine zero are programmed with work offset E codes. The coordinates for each work offset are stored in the Work Offsets. Refer to Getting Started with WinMax Lathe, Part Setup—Work Offsets, on page 4 - 11. All dimensions in the Work Offsets represent dimensions measured from a machine coordinate to the desired work offset position.
Execution of a tool offset T code does not cause tool motion unless axis motion is programmed in the block that contains the T code, or until motion is programmed in a following block. This applies to Work Offset E codes as well. 704-0115-307 T Codes 7-1 WinMax Lathe NC Programming...
The Tool Offset implements the Work Offset E codes. The drawings that follow show the tool movement. • Immediate Action—the axes will move to a position relative to the new tool offset as soon as any axis is programmed. Figure 7–1. Tool Offset Behaviors 704-0115-307 7 - 2 T Codes WinMax Lathe NC Programming...
Approved by: D. Skrzypczak, J. Mulkey, G.Traicoff, K. Van Blaircum April 2011 Changes • 704-0115-304 Updates based on changes through v8.1.2 software, including updated NC Editor screen and the addition of optional ISNC. 704-0115-307 Record of Changes — 1 WinMax Lathe NC Programming...
Page 242
Live Tooling (TMM Series) machine. October 2007. 704-0115-301, 14 July 2005, ECN 15866 Revised by: K. Gross Approved by: G. Traicoff, C. Thale, D. Skrzypczak, July 2005 Changes New manual release. 704-0115-307 2 - Record of Changes WinMax Lathe NC Programming...
Need help?
Do you have a question about the WINMAX and is the answer not in the manual?
Questions and answers