winmax mill nc programming_v9.1_july2013.doc

Upload: noerby-anto

Post on 02-Jun-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    1/259

    WINMAXMILL

    NC PROGRAMMING

    V9.1

    July 2013 704-0116-315 Revision E

    The information in this document is subject to change without notice and does notrepresent a commitment on the part of Hurco Companies !nc" #Hurco$" The softwaredescribed in this document is furnished under the %icense &greement to customers" !t isagainst the 'aw to cop( the software on an( medium e)cept as specifica''( a''owed in the'icense agreement" The purchaser ma( ma*e copies of the software for bac*uppurposes"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    2/259

    Hurco +anufacturing Compan( reser,es the right to incorporate an( modification orimpro,ements in machines and machine specifications which it considers necessar( anddoes not assume an( ob'igation to ma*e an( said changes in machines or euipmentpre,ious'( so'd"

    Hurco products and ser,ices are subject to Hurco.s then current prices terms and

    conditions which are subject to change without notice"/ 013 Hurco Companies !nc" &'' rights reser,ed"

    Patents: "2" atents 14477754 545333 Canadian atent 110434 apaneseatents 164006 and 137514 other atents pending"

    Hurco +a) 'tima) and 8in+a) are 9egistered Trademar*s of Hurco Companies !nc"

    &utoC&: &utodes* and :;< are registered trademar*s of &utodes* !nc"

    +2-:=2 +icrosoft and 8indows are registered trademar*s of +icrosoft Corporation"

    +an( of the designations used b( manufacturers and se''ers to distinguish their productsare c'aimed as trademar*s" Hurco has 'isted here a'' trademar*s of which it is aware"

    Hurco Companies, Inc.=ne Techno'og( 8a("=" o) 6?1?0

    !ndianapo'is !@ 466?-01?0

    www.hurco.com

    ii - v9.1

    TABLEOFCONTENTS

    704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    3/259

    8in+a) +i'' @C rogramming

    :=C+A@T&T!=@ C=@BA@T!=@2-----------------------------------------------------------14Conso'e uttons and e(s----------------------------------------------------------------14

    !cons---------------------------------------------------------------------------------------14

    9=D9&++!@D &@: =A9&T!=@ !@

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    4/259

    3: Circu'ar !nterpo'ation #D0"4 and D03"4$ " " " " " " " " " " " " " " " " " " " " " - 3:we'' +ode #D04$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 42urface

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    5/259

    2etting Too' =ffsets with D10 " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 34!nitia'iGing Too' %ength =ffsets #D10 with 9$ " " " " " " " " " " " " " " " " " " " - 34!nitia'iGing Too' =ffsets #D10 with T H :$ " " " " " " " " " " " " " " " " " " " " " " - 34&ssigning Too' =ffsets #D10 with %3$ " " " " " " " " " " " " " " " " " " " " " " " " " " - 35o'ar Coordinates Command #D16$ " " " " " " " " " " " " " " " " " " " " " " " " " " " - 35

    'ane 2e'ection " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 36

    ; 'ane 2e'ection #D17$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 37;F 'ane 2e'ection #D1?$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 3?F 'ane 2e'ection #D1$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 40nits of +easure !2@C D0 D1 " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 41&utomatic 9eturn To and

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    6/259

    Chip rea*er #@C D?7$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 101ac* oring #!2@C D?7$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 109igid Tapping #@C D?? !2@C D?4" !2@C D?4"3$ " " " " " " " " " " " " " " " - 104Canned oring with +anua'

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    7/259

    2tart 2pind'e Counterc'oc*wise#+04$ " " " " " " " " " " " " " " " " " " " " " " " " "5 -

    ?

    2pind'e =ff#+05$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 -

    ?

    +6 !nitiates Too' Change " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

    "5 -

    ?2econdar( Coo'ant =n #+07$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " ""5 -

    rimar( Coo'ant =n#+0?$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 -

    oth Coo'ant 2(stems =ff #+0$ " " " " " " " " " " " " " " " " " " " " " " " " " " " ""5 -

    oth Coo'ant 2(stems =n #+10$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - C'amp C-a)is

    #+1$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 10nc'amp C-a)is #+13$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5

    - 10 &utomatic uffering =n#+16$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 10 &utomatic

    uffering =ff #+17$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 10=riented 2pind'e 2top #+1$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5

    - 10 u'se !nde)er =ne !ncrement#+0$ " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 11 F &)is to Home osition#+5$ - asic @C rogramming on'( " " " " " " " " "5 - 11 2e'ect art robe2igna' #+6$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 11 2e'ect Too'

    robe 2igna' #+7$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 11Anab'e 9igid Tapping #!2@C +$ " " " " " " " " " " " " " " " " " " " " " " " " " " " "5

    - 11 rogram And#+30$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 11 9otar(Ancoder 9eset #+31$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 11

    C'amp &-a)is #+3$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5- 1

    nc'amp &-a)is #+33$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 1C'amp -a)is #+34$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 1nc'amp -a)is #+35$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 12er,o =ff Code #+36$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 1%aser !nput pdate #+3?-+40$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 12ing'e-Touch robing #+41$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 13

    :oub'e-Touch robing #+4$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 13arrier &ir Contro' #+43 and +44$ " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 132hutter robe Contro' #+45 and +46$ " " " " " " " " " " " " " " " " " " " " " " " " "5 - 13%aser Amitter =nJ=ff Contro' #+47 and +4?$ " " " " " " " " " " " " " " " " " " " "5 - 13%aser 9ecei,er =nJ=ff #+4 and +50$ " " " " " " " " " " " " " " " " " " " " " " " " "5 - 13C(c'e a''et Changer #+51$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 13Anab'e &u)i'iar( =utput 1 through 4 #+5 I +55$ " " " " " " " " " " " " " " " " "5 - 13@onconfirmation a''et Change #+56 I +5?$ " " " " " " " " " " " " " " " " " " " " "5 - 14Chip Con,e(or

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    8/259

    :isab'e &u)i'iar( =utput 1 through 4 #+6 I +65$ " " " " " " " " " " " " " " " "5 - 148ashdown Coo'ant 2(stem #+6? +6$ " " " " " " " " " " " " " " " " " " " " " " " "5 - 149ight Handed C &)is #+?0$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 14%eft Handed C &)is #+?1$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 14F &)is 9etract Anab'e #+0$J:isab'e #+1$ " " " " " " " " " " " " " " " " " " " " "5 - 142ubprogram Ca'' #+?$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 15

    ump 9eturn from 2ubprogram #+$ " " " " " " " " " " " " " " " " " " " " " " " "5 - 152hortest 9otar( &ng'e ath Tra,erse #+16$ and2hortest 9otar( &ng'e ath Tra,erse Cance' #+17$ " " " " " " " " " " " " " " "5 - 16Too' Center oint +anagement #+1?$ andToo' Center oint +ngmt Cance' #+1$ " " " " " " " " " " " " " " " " " " " " " " " "5 - 179etract &'ong Too' Bector #+140$ " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - Anab'e &u)i'iar( =utput 5 through 1 #+14-+14$ " " " " " " " " " " " " " " "5 - 3:isab'e &u)i'iar( =utput 5 through 1 #+15 I +15$ " " " " " " " " " " " " " "5 - 3Ti't &)is reference #+00$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 3

    &)is %imit =,errides #+10 +11 +1$ " " " " " " " " " " " " " " " " " " " " " " " " " 5+inimum &)is %imit =,erride #+10$ " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 5+a)imum &)is %imit =,erride #+11$ " " " " " " " " " " " " " " " " " " " " " " " " "5 - 5

    Cance' &)is %imit =,errides #+1$ " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 5inematic &29 +otion #+13$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 5inematic &29 =nJ=ff #+14$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 6

    @C roducti,it( ac*age =ption " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 1+acro +odes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 3

    D'oba' Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 32(stem Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 3+acro +ode & %oca' Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 3+acro +ode & &rguments " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 49eadJ8rite 9estrictions " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 6&ddresses with Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - ?&'arm 3000 +essages " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - ?Bacant Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - Bariab'e A)pressions " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 11!ndirect Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 152a,ing Bariab'e Ba'ues To a

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    9/259

    +oda' ser :efined D Code " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 3+oda' 2ubprogram Cance' #D67$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 3+oda' 2ubprogram Ca'' #D66$ A)amp'e " " " " " " " " " " " " " " " " " " " " " " " "6 - 33

    ser :efined Codes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 34D Codes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 34 +

    Codes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 35 2

    and T Codes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 37assing 2ing'e :edicated arameters to 2ubprograms " " " " " " " " " " " " " "6 - 3@C Bariab'e 2ummar( " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 4rogramming A)amp'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 5

    @C art rogram A)amp'e " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 5@C A)amp'eKo't Ho'e Circ'e " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 54

    @C A)amp'eKDear attern " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 56 9ecord

    of Changes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 1

    !nde) " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 1

    WinMax Mill NC Programming 704-0116-315 Tale o! Con"en"s- i)

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    10/259

    - )Tale o! Con"en"s 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    11/259

    LISTOFFIGURES

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    12/259

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    13/259

    - x #is" o! $igures

    LISTOFTABLES

    Tab'e 1I1" +acro +ode & 2ubprogram Bariab'es " " " " " " " " " " " " " " " " " " " " " "1 - 4Tab'e 1I" +acro mode & D Code Droup 2tatus " " " " " " " " " " " " " " " " " " " " " "1 - 5Tab'e I1" D Code Droups " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 4Tab'e I" D Codes in order of Codes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - Tab'e I3" D Codes in order of Droups " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 13Tab'e I4" Too' =ffsets " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 54Tab'e I5" 2tandard recision Cornering " " " " " " " " " " " " " " " " " " " " " " " " " " " - 74Tab'e I6" recision Cornering with 'tiro !! =ption " " " " " " " " " " " " " " " " " " " - 75Tab'e I7" Canned C(c'es D Codes and F 2pind'e =perations " " " " " " " " " " " " - 1Tab'e I?" @C and !2@C 2pecific Canned C(c'es " " " " " " " " " " " " " " " " " " " " " - 11Tab'e I" Canned C(c'e arameters " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 1Tab'e 5I1" + Codes " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "5 - 5

    Tab'e 5I" +achine +o,ement with +16 Command " " " " " " " " " " " " " " " " " " "5 - 16Tab'e 5I3" +achine +o,ement with +17 Command " " " " " " " " " " " " " " " " " " "5 - 16Tab'e 6I1" 2ubprogram Bariab'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - Tab'e 6I" +acro +ode & 2ubprogram arameters " " " " " " " " " " " " " " " " " " " "6 - 4Tab'e 6I3" +acro +ode & D Code Droup 2tatus " " " " " " " " " " " " " " " " " " " " " " "6 - 5Tab'e 6I4" @C Bariab'e T(pes and 9ead 8rite 9estrictions " " " " " " " " " " " " "6 - 7Tab'e 6I5" Comparison of Bacant Bariab'es and 2etting Bariab'es to Fero #0$ " "6 - 10Tab'e 6I6" @C A)pression 2(mbo's " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 11Tab'e 6I7" @C A)pression e(words " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 13Tab'e 6I?" @umerica' =perations riorities " " " " " " " " " " " " " " " " " " " " " " " " " "6 - 14Tab'e 6I" Correct rogram Contro' 2tatement A)amp'es " " " " " " " " " " " " " " " "6 - Tab'e 6I10" !ncorrect rogram Contro' 2tatement A)amp'es " " " " " " " " " " " " " "6 -

    Tab'e 6I11" +acro +ode %oca' Bariab'es and 2ubprogram &rguments " " " " " " "6 - 5Tab'e 6I1" H Code :escriptions and !nstruction

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    14/259

    # L?004 - L?06 L?104 - L?16$ " " " " " " " " " " " " " " " " " " " " " " " "6 - 50Tab'e 6I30" +acro +ode & D Code Droup 2tatus Bariab'es

    # L?030 - L?046 L?130 - L?146$ " " " " " " " " " " " " " " " " " " " " " " " "6 - 51

    Ma%&ine Manual Ti"le 704-nnnn-nnn #is" o! Tales

    704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    15/259

    - xii #is" o! Tales 704-nnnn-nnn Ma%&ine Manual Ti"le

    DOCUMENTATIONCONVENTIONS

    This documentation uses se,era' con,entions to e)p'ain the safet( features andemphasiGe *e( concepts" These con,entions are described in this section"

    &dditiona' information is a,ai'ab'e on the machine.s :ocumentation C:"

    Console Buttons n! "e#s

    9eferences to conso'e buttons and *e(s appear in bo'd te)t throughout thedocumentation"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    16/259

    'e""ing ("ar"e) *i"& WinMax Mill 704-0116-115 +o%umen"a"ion Conven"ionsK )iii

    T+le o Contents

    To assist with onscreen :< ,iewing this icon is 'ocated on the co,er page"C'ic* the icon to access the Tab'e of Contents #T=C$"

    ou can a'so access man( of the same T=C entries from the &dobe 9eaderboo*mar*s 'ocated on the 'eft side of the :< page"

    704-0116-115

    %ists se,era' possib'e options the operator can ta*e"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    17/259

    - xiv +o%umen"a"ion Conven"ions'e""ing ("ar"e) *i"& WinMax Mill

    PROGRAMMINGANDOPERATION

    INFORMATION

    Hurco pro,ides documentation for using 8in+a) software on a contro' or des*top in twoformats> on-screen He'p and :

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    18/259

    1" 2e'ect the NOP to e)pand the topic and ,iew sub-topics"

    'e""ing ("ar"e) *i"& WinMax Mill 704-0116-115 Programming an) ,era"ion n!orma"ion -),

    704-0116-115

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    19/259

    " 2e'ect the topic to disp'a( it"

    M se the Indextab to show the He'p inde)>

    1" Euic*'( scro'' to an inde) topic b( t(ping the topic in the bo) at the top ofthe inde)"

    " 2e'ect a topic and the :isp'a( button to ,iew the topic"M se the Searchtab to search the He'p for a word or phrase>

    1" T(pe the search word#s$ into the te)t bo) at the top of the pane"

    " 2e'ect the %ist Topics button" & 'ist of topics that contain the searchword#s$ is disp'a(ed"

    3" 2e'ect a topic and the :isp'a( button to ,iew that topic"

    M se the Favoritestab to sa,e He'p topics for uic* access>

    1" 2e'ect the &dd button at the bottom of the pane to add the current topic"

    " 2e'ect a topic from the

    M QHurcoQQh'p"

    M Qrogram or the 2 port A>$" High'ight the desired 'ocation"

    704-0116-115

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    20/259

    'e""ing ("ar"e) *i"& WinMax Mill Programming an) ,era"ion n!orma"ionK ),i

    6" 'ace the cursor in the right-hand pane and se'ect the &2TA F3soft*e( topaste the :< fi'e#s$ to the desired 'ocation"

    ou ma( now remo,e (our media and 'oad the :< fi'e#s$ onto a C for printing"

    704-0116-115

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    21/259

    'e""ing ("ar"e) *i"& WinMax Mill 704-0116-115 Programming an) ,era"ion n!orma"ion -),ii - xviii 'e""ing ("ar"e) *i"& WinMaxMill

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    22/259

    OVERVIEW

    This documentation describes the use of @C #@umerica' Contro'$ art rogramming

    which inc'udes the @C #asic @umerica' Contro'$ and the !2@C #!ndustr( 2tandard@umerica' Contro'$ Aditor portion of the C@C software as it is used on the machine too'conso'e" This section e)p'ains the fo''owing>

    @C art rogrammingrincip'es " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 1 -

    @C Aditor" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "1 -

    6

    2tarting a @ew @C rogram" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "1 -

    ?

    @C Aditor +enus" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

    1 -

    @C arameters" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "1 -

    1

    @C robing art 2etup" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "1 -

    6

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-1

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    23/259

    NC P't P'o('))%n( P'%n$%*les

    @C part programming adheres to the &@2!JA!& S!27"!#standard termino'og( withe)tensions for @C and !2@C dia'ects" !n addition the @C programming faci'ities were

    designed to use as much of the 8in+a) Con,ersationa' s(stem as possib'e" &s a resu'tmost of the screens are the same in both the @C and the con,ersationa' s(stems" Thisa''ows a smooth transition between the two"

    The primar( difference between con,ersationa' and @C programming is the programeditors" @C programming uses standard D and + codes whereas con,ersationa'programming uses p'ain Ang'ish or another supported programming 'anguage"

    The C@C software can read @C fi'es from the seria' port direct'( intod(namic memor( or run @C fi'es that are partia''( 'oaded into

    d(namic memor(" @C fi'es can be seria''( 'oaded to the hard dis*"

    @C part programs can be created using the C@C on the machine too' or off-'ine C@Cprogramming software running on a persona' computer" @C programs cannot becon,erted to con,ersationa' programs nor can @C programs be con,erted automatica''(to an( other @C format"

    NC P't P'o(') Co)*onents

    @C programs are a series of characters and words that form program b'oc*s" Theseprogram b'oc*s te'' the machine too' how and where to mo,e" The operator needs tounderstand the basic program structure and the t(pes of codes in order to create editand run a program successfu''(" These components ma*e up @C code>

    P'o(') St't

    @C data can begin with the with a NRP #percent$ character to indicate the beginning ofthe fi'e" 8hen aper$ent $hara$teris recei,ed the contro' starts to accept chec* and'oad b'oc*s into its memor(" !f (ou are creating a new part program at the contro' thepercent character is automatica''( inserted at the beginning of the program"

    Se3uen$e Nu)+e'

    & seuence number ser,es as a b'oc* 'abe' it has no other significance within the partprogram e)cept being reuired with D=T=s in the @C option and the + jump

    command" 2euence numbers are often used to mar* the beginning of mi''ingseuences so (ou can restart at a gi,en seuence number or reca'' specific operationswithin the program"

    8hen programming on an off-'ine s(stem seuence numbers shou'd be used sparing'("2euence numbers #@ words$ are optiona' in the @C Aditor and the( are usefu' inprograms sent o,er the 92-3 'in*" Howe,er the absence of seuence numberspermits faster processing #'oading s(nta) chec*ing and parsing$ of the part programand can resu't in impro,ed part program e)ecution" !n addition omission of thesenumbers increases the amount of the program that can fit into memor("

    1 - ,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    24/259

    !f (ou reuest renumbering of part program seuence numbers an(seuence numbers in D=T= statements wi'' not be updated" ou must thenpress the #

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    25/259

    M 3KKsigna's the @C s(stem that no more 'ega' program characters fo''ow"This character is optiona' to pro,ide compatibi'it( with e)isting programs thatinc'ude A=T characters at the end"

    M 5C6KCarria2e eturnKsigna's the And of a rogram 'oc*"

    M 5C(F6KCarria2e eturn(ine Feed PairKsigna's the And of a rogram'oc* #identica' to SC9$"

    S C9% a carriage returnSC9 or a carriage returnJ'ine feed pair SC9%

    7 8ord8 &ddress character9 @umeric character

    +05 2pind'e =ff

    1 - 4,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    26/259

    +0 oth Coo'ant 2(stems =ff

    The s(stem a'so presets certain D codes as the defau't acti,e codes" The defau't Dcodes are high'ighted in the D Code Tab'e in the Nreparator(

    M To de'ete numeric data position the cursor on the number and press the:e'ete *e("

    M To erase the entire word position the cursor on the address character andthen press the 'eft arrow or the :e'ete *e(" The entire word is remo,edsince numeric data is not a''owed in an @C program without an addresscharacter to introduce it"

    NC E!%to'

    @C Aditor pro,ides a wide range of too's to re,iew create and modif( @C partprograms" The editor has the fo''owing features>

    M 2e,era' wa(s of se'ecting the code such as b( dragging the st('us acrossthe screen and b( using *e(board *e(s #if a,ai'ab'e$"

    M Cop(ingJastingJCutting of a b'oc* of se'ected code inc'uding toapp'ications outside 8in+a)"

    M ndoJ9edo functiona'it("

    M n'imited number of tags"

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-5

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    27/259

    M 9ea'-time s(nta) chec*" !ncorrect s(nta) is indicated b( showing theincorrect te)t in red" Comments are shown in a user-defined co'or #greenin

    D code and the definition is disp'a(ed in the prompt area of the screen"

    M 2imp'ified and friend'ier access to common editing tas*s such as jumpingand searching operations"

    M e(board shortcuts>

    M Ctr' O HomeKjump to the beginning of programM Ctr' O AndKjump to the end of program

    M 2hift O Ctr' O HomeKse'ects a'' te)t between cursor and beginning ofprogram

    M 2hift O Ctr' O AndKse'ects a'' te)t between cursor and end of program

    M 2hift O HomeKse'ects the te)t between cursor and beginning of 'ine

    M 2hift O AndKse'ects the te)t between cursor and end of 'ine

    M Ctr' O CKcop( se'ected te)t to the c'ipboard

    M Ctr' O

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    28/259

    1 art rogram @ame

    nits

    3 Coding 2tandard

    4 Current %ine @umber

    5 !nsertJ=,erstri*e +ode6 'oc* 2*ip =nJ=ff

    Figure 12. Status Bar in NC Editor

    The art rogram name is shown first in the status bar" Coding standard can either be!ndustr( 2tandard #!$ or asic @C #$" Current %ine number indicates the current'ocation of the cursor in the part program" !nsert mode is indicated as !@2 whi'eo,erstri*e mode is indicated as =B9"

    9efer to &' (ditor Menus, on page ) - *for information about the @C Aditor menus"

    St't%n( Ne0 NC P'o(')To begin @C part programming press the !nput *e(" 9efer to Getting Started withWinMax Mill rogram +anager section for information about sa,ing opening and'oading programs"

    The @C fi'e e)tension is set in ser references" 9efer to Getting Started with WinMaxMill"

    These steps he'p determine the most efficient too' mo,ement and basic programstructure to sa,e time during programming>

    1" :etermine the too' path on the print and 'abe' the points where the pathdirection changes"

    " +a*e a chart showing the coordinates of each point identified in the pre,iousstep"

    3" !dentif( the spind'e mo,ements that wi'' be necessar( during cutting"

    NC P'o('))%n( Rules

    Here are some basic ru'es to fo''ow when creating @C part programs>

    M The a)is 'etter a'wa(s precedes the numeric information"

    M !n most cases an integer wor*s the same as a decima' or rea' number" !n thefo''owing cases an integer is sca'ed b( the appropriate sca'ing factor tomaintain compatibi'it( with e)isting @C programs>

    < #@C on'($

    9otation> 9 #!2@C =n'($

    :we''> ; #oth @C and !2@C$

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-7

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    29/259

    2ca'ing> #!2@C on'($

    !f an integer is be'ow the acceptab'e range after sca'ing a Ne'ow+inimum Ba'ueP error message occurs"

    M &'' a)is dimensions are considered to be positi,e un'ess a minus sign isentered" 8hen describing axis motion the codes for the program b'oc* mustcontain the fo''owing information in order to mo,e proper'(>

    M &)is identification #e"g" ; F$"

    M :irection the a)is wi'' mo,e #O or -$"

    M :istance the a)is wi'' mo,e #e"g" 4"0$"

    M Anter the speed preceded b( the < address character to program a +eedratein a b'oc*"

    M !nc'ude a F parameter in the @C part program to permit the s(stem to drawthe part on the graphics screen" &n abso'ute F command must occur after atoo' change before ma*ing another mo,e command"

    NC E!%to' Menus

    HurcoUs @C s(stem pro,ides man( 'e,e's of program editing as we'' as editing too's tosimp'if( the tas*"

    The @C Aditor contains these top 'e,e' menus>

    asic rogramming +enu " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "1 -

    ump and 2earch

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    30/259

    Figure 13. NC Basic Programming enu

    The asic rogramming soft*e(s pro,ide these functions>

    M Insert Block Be4ore@!nserts a b'an* 'ine before the b'oc* where the cursoris 'ocated" This permits addition of a new b'oc* of data" This soft*e( wi'' bedisab'ed if te)t canUt be inserted at the current cursor 'ocation"

    M $elete Block@9emo,es the b'oc* where the cursor is positioned" Thissoft*e( wi'' be disab'ed if the b'oc* canUt be de'eted"

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    31/259

    M

    &ump to Be2innin2@+o,es the cursor to the beginning of the firstprogram b'oc* in memor(" !f a *e(board is a,ai'ab'e Ctr' O Homecombination wi'' resu't in the same action"

    M &ump to 3nd@+o,es the cursor to the beginning of the 'ast program b'oc*in memor(" !f the *e(board is a,ai'ab'e Ctr' O And combination wi'' resu't inthe same action"

    M &ump and Search Functions@!n,o*es ump and 2earch

    M &ump to Block )umer@enter a b'oc* number in the popup bo)" Thecursor is positioned on the specified b'oc*" The number entered refers to theposition that b'oc* has in @C memor("

    ou can a'so use the touchscreen to se'ect the %ine number in theAditor status bar to open the ump to 'oc* popup bo)"

    1 - 10,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    32/259

    MM &ump to SeDuence )umer@enter a seuence number #@ code$ in the

    popup bo"The cursor is positioned on that b'oc*"Search 4or -ext@acti,ates the 2earch submenu"

    M &ump to Be2innin2@mo,es the cursor to the beginning of the firstprogram b'oc* in memor(" !f a *e(board is a,ai'ab'e Ctr' O Homecombination wi'' resu't in the same action"

    M &ump -o 3nd@mo,es the cursor to the beginning of the 'ast program b'oc*in memor(" !f the *e(board is a,ai'ab'e Ctr' O And combination wi'' resu't inthe same action"

    M &ump -o Previous Syntax 3rror@tries to find the pre,ious s(nta) errorand if successfu' ta*es the user to that 'ine"

    M &ump -o )ext Syntax 3rror@tries to find the ne)t s(nta) error and ifsuccessfu' ta*es the user to that 'ine"

    M 3xit@returns to the pre,ious menu"

    Se'$, Su+)enu

    The 2earch submenu a''ows the user to search for specific te)t in the part program"

    Figure 1$. NC Searc# Su%menu

    The menu contains the fo''owing soft*e(s>

    M 3nter -ext -o SearchKopens a popup bo) where search te)t is entered"T(pe search term and se'ect the

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    33/259

    M

    Find and eplaceKopens a popup bo) where search te)t is entered andrep'acement term is specified"

    M The eplace )extbutton finds the ne)t instance of the search term andrep'aces it with the new term" To find and rep'ace the ne)t instance (oumust se'ect the 9ep'ace @e)t button again"

    M The eplace #llbutton finds and rep'aces a'' instances of the search term"

    M 3xitKin,o*es the ump and 2earch menu"

    E!%t Fun$t%ons Menu

    The Adit menu pro,ides ad,anced editing functiona'it( to the user"

    Figure 1&. NC Edit Functions enu

    8hen the Adit soft*e( is se'ected from the asic rogramming menu these soft*e(sappear>

    M Insert*verstrike Mode -o22le@switches the data entr( st('e betweeninsert and o,erwrite" Current'( acti,e mode is shown on the status bar ofthe window - N!@2P indicates !nsert and N=B9P indicates =,erwrite"

    ou can a'so use the touchscreen to togg'e the !nsertJ=,erstri*e+ode in the Aditor status bar"

    M Copy Selection@this soft*e( copies the se'ected te)t to the 8indowsUc'ipboard memor(" !f the *e(board is a,ai'ab'e this action can be achie,edb( pressing Ctr' O C combination" Te)t can be se'ected b( dragging thest('us #upJdownJrightJ'eft$ across the editing area of the screen or b(ho'ding down the *e(board 2hift *e( and using the upJdownJ'eftJright arrow*e(s to se'ect te)t"

    1 - 1,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    34/259

    M

    Cut Selection@copies the se'ected te)t to the 8indows c'ipboard" !naddition the se'ected te)t is de'eted from the part program" !f the *e(boardis a,ai'ab'e Ctr' O ; combination wi'' cut the se'ected te)t and p'ace it inthe 8indows c'ipboard"

    M Paste Selection@te)t pre,ious'( copied to the 8indowsU c'ipboard isinserted at the current cursor position" !f the *e(board is a,ai'ab'e this

    action can be achie,ed b( pressing Ctr' O B *e(s"M edo@each c'ic* redoes the editing operation#s$ pre,ious'( undone b( the

    ndo soft*e(" !f the *e(board is a,ai'ab'e Ctr' O combination wi'' resu't inthe same action" This action can be 'oc*ed out with the $isale Endo andedosetting in @C 2ettings &' (ditor Settings, on page ) - )*"

    M Endo@each c'ic* on undoes the pre,ious editing operations starting fromthe 'atest to the ear'iest" The depth of the undo buffer is 100" !f more thanone te)t modification was performed in a sing'e step #e"g" N9ep'ace &''P$ a''those modifications wi'' be undone in one step as we''" !f the *e(board isa,ai'ab'e Ctr' O F combination wi'' resu't in the same action" This action canbe 'oc*ed out with the $isale Endo and edosetting in @C 2ettings &'

    (ditor Settings, on page ) - )*"M Find eplace@acti,ates a popup bo) where search te)t and rep'acementte)t are entered" @C editor finds occurrences of the search te)t and rep'acesit with the rep'acement te)t"

    M 3xit@'oads the asic rogramming menu"

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-13

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    35/259

    M

    1 - 14,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    36/259

    Renu)+e'%n( n! T((%n( Menu

    9enumbering and tagging menu offers access to renumbering and tagging functiona'it("This menu can be accessed b( pressing +ore-W from the asic programming menu"

    Figure 1'. NC (enum%ering and Tagging enu

    The menu contains the fo''owing soft*e(s>

    M Block enumerin2 mode@in,o*es 'oc* 9enumbering +ode submenu"2ee lo$ enum.ering Su.menu, on page ) - )/"

    M -a2 Block@tags a b'oc* b( under'ining it" There is no 'imit on the amount oftagged b'oc*s (ou can ha,e"

    M &ump to Previous -a22ed Block@@C editor tries to find the c'osest taggedb'oc* before the current cursorUs position" !f such b'oc* is found the cursor isp'aced in the beginning of the b'oc*"

    M &ump to )ext -a22ed Block@@C editor tries to find the c'osest taggedb'oc* after the current cursorUs position" !f such b'oc* is found the cursor isp'aced in the beginning of the b'oc*"

    M -a22ed Block (ist@in,o*es Tagged 'oc*s %ist screen which a''ows theuser to re,iew the tagged b'oc* and manage the tags" 2ee &' 0ag 1ist, onpage ) - )"

    M MoreA@in,o*es program A)ecution menu"

    M 3xit 3ditor@this soft*e( operates the same as in the asic rogrammingmenu"

    Blo$/ Renu)+e'%n( Su+)enu

    The 'oc* 9enumbering mode submenu a''ows the user to search for specific te)t in thepart program"

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-15

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    37/259

    Figure 1). NC Block (enum%ering ode Su%menu

    The menu contains the fo''owing soft*e(s>

    M &ump Search Functions@opens the ump and 2earch

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    38/259

    Figure 1*. NC Tag +ist screen

    2oft*e(s are>

    M &ump to Selected -a2Kgoes to the se'ected tag in the program"

    M Clear -a2Kde'etes the se'ected tag"

    M Clear #ll -a2sKde'etes a'' tags in the 'ist"

    P'o(') E6e$ut%on Menu

    rogram A)ecution menu a''ows se'ection of the part program to be processed for

    graphics and for e)ecution" This menu can be accessed b( twice pressing +ore-W #firstfrom the asic programming menu and then from the 9enumbering and Tagging menu"$

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-17

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    39/259

    Figure 11,. NC Program E-ecution enu

    The menu contains the fo''owing soft*e(s>

    M Set Gire4rame Start Marker@mar*s the current b'oc* as the beginningpoint for the graphics disp'a( b( inserting a 'eft brac*et #S$ to the 'eft of the

    b'oc*"M Set Gire4rame 3nd Marker@mar*s the current b'oc* as the ending point

    for the graphic disp'a( b( inserting a right brac*et #$ to the 'eft of the b'oc*"

    !f the 8ireframe 2tart and 8ireframe And mar*ers o,er'ap the

    pound #L$ sign is disp'a(ed to the 'eft of the 'ine"

    M eset Gire4rame Markers@returns start and end wireframe mar*ers totheir defau't 'ocations" The defau'ts are at the beginning and end of theprogram"

    M Set Start marker@indicates the b'oc* that the s(stem shou'd use to start

    program e)ecution when running and ,erif(ing the program" & 'etter 2 isinserted to the 'eft of the b'oc* and the code before the mar*er is gra(edout"

    M Set 3nd marker@indicates the b'oc* that s(stem shou'd use to endprogram ,erification and e)ecution" & 'etter A is inserted to the 'eft of theb'oc* and code after the end mar*er is gra(ed out"

    !f the 2tart and And mar*ers o,er'ap the do''ar #X$ sign is disp'a(ed to the 'eft of the 'ine"

    M eset Start3nd Markers@restores start and end mar*ers to their

    defau'ts" The defau'ts are at the beginning and end of the program"M MoreA@in,o*es @C Aditor 2ettings menu"

    M 3xit 3ditor@this soft*e( operates the same as in the asic rogrammingmenu"

    NC E!%to' Sett%n(s Menu

    1 - 1?,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    40/259

    Figure 111. NC Editor Settings menu

    M )C 3ditor Settin2s@in,o*es @C Aditor 2ettings screen which a''ows theuser to modif( the editorUs beha,ior" 2ee &' (ditor Settings, on page ) - )*"

    M More A@in,o*es asic rogramming menu"

    M 3xit 3ditor@this soft*e( operates the same as in the asic rogrammingmenu"

    NC E!%to' Sett%n(s

    Figure 112. NC Editor Settings screen

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    41/259

    M Comment ColorKdisp'a(s the current comment co'or" The co'or can bechanged b( se'ecting the Chan2e...button or the Chan2e CommentsColor soft*e("

    M Current FontKdisp'a(s the current font" :efau't is the s(stem font siGe 10pts"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    42/259

    M $e4ault Cutter Comp (ookaheadK'oo*s ahead one segment to determineif the contour crosses itse'f and if the too' wi'' fit into the contour" This ,a'ueis set to 1 and cannot be changed"

    M 3nale (ead In 3rror Checkin2Kenab'es error chec*ing to determinewhether the 'ead in from the current position wi'' o,er'ap the segment"

    M 3nale (ead *ut 3rror Checkin2Kenab'es error chec*ing to determinewhether the 'ead out from the current position wi'' o,er'ap the segment"Intell%(ent ASR

    8hen enab'ed !nte''igent &29 buffering begins automatica''( when certain conditionsare met in the program" The beha,ior of !nte''igent &29 buffering can be contro''ed b(the fo''owing parameters>

    M Intelli2ent #utomatic Sa4e epositionin2Kturns automatic buffering onand off" :efau't is =n"

    M Sa4ety ClearanceKwhen set to =

    M Pro2ram 3nd

    M Inte2rator MAcode

    M )C Mer2e 3nd

    +16 #&utomatic uffering =n$ and +17 #&utomatic uffering =ff$ are used to turnautomatic buffering on and off within a program" The parameter must be turned on inorder to use +16J17"

    D0?"1 and D0?" #&29 Command uffering =nJ=ff$ a'wa(s ha,e

    priorit( o,er !nte''igent &29 #automatic buffering$" &utomatic bufferingwi'' not become acti,e if D0?"1JD0?" is acti,e in a program" &dditiona''( if

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-1

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    43/259

    automatic buffering is acti,e and either a D0?"1 or a D0?" is ca''ed theautomatic buffering is immediate'( turned off"

    +00 #rogram 2top$ and +01 #'anned 2top$ codes are s*ipped in&29 buffering mode" Codes are re-posted when buffering is no

    'onger acti,e e)cept in a 9eco,er(J9estart"

    NC M n! G Co!e P')ete's

    se this screen to change + code and D code program numbers for an @C part programusing the @C option"

    The @C + and D Code rogram @umbers fie'ds are defined as fo''ows>

    M 3nale Eser M% Codes@enab'es user customiGation of + codes andJor Dcodes to perform specia'iGed tas*s" ser defined + and D codes define acustom code which performs a specia'iGed tas* rep'ace an e)isting D or +code or pro,ide compatibi'it( between different @C dia'ects from ,ariousmachine too' contro' manufacturers"

    M 3nale Eser SB- Codes@enab'es user customiGation of 2 codes codes or T codes to perform specia'iGed tas*s" ser defined 2 or T codesrep'ace spind'e and too' functions with custom subprograms"

    M MACode@a''ows programming of customiGed + codes" p to 13 user defined+ codes can be programmed from +01 through +55 #e)cept +0 +? and+$" @egati,e numbers cannot be entered in the co'umn for user defined +codes" Anab'e programmed + codes using the Anab'e ser + Codes function"

    M %ACode@a''ows programming of customiGed D codes" p to 10 user definedD codes can be programmed from D01 through D55 #e)cept D65 D66 andD67$" !f a negati,e number is entered for a user defined D code thesubprogram becomes moda'" Anab'e programmed D codes using the Anab'eser D-Codes function"

    1 - ,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    44/259

    NC V'%+les

    se this screen to define D'oba' and 2(stem @C ,ariab'e codes and subprograms for an@C part program using the @C option" rograms with ,ariab'es can be reused" &'',ariab'es must begin with the YLY character fo''owed b( a ,a'id writeab'e register

    number and an eua' sign" The fo''owing e)amp'e sets the ,ariab'e ,a'ue #L500$ to100>

    L 500 Z 100

    2ome ,ariab'es are read on'( when an operator attempts to write to the ,ariab'e"

    There are four t(pes of ,ariab'es that can be used in @C programming>

    M %loal@can be used b( a'' programs" &ssign a g'oba' ,ariab'e before it isused in an euation or e)pression or the ,ariab'e wi'' be considered ,acantgenerating an error un'ess the &''ow Bacant Bariab'esfie'd is set to es" sethe D'oba' 100-1 and D'oba' 500 - soft*e(s to enter g'oba' ,ariab'eson the @C Bariab'es screen"

    M System@pro,ide information about the state of the s(stem such as ; andF e)terna' wor* compensation misce''aneous s(stem parameters moda'information position information and D code group status" se the -ool*44set 8KK7A88KK Gork *44set 8;KKA8??? Misc 9KKKA9K7 ModalKK7A98K and Position ;KK7A;K>9soft*e(s to enter s(stem ,ariab'eson the @C Bariab'es screen"

    M (ocal@are ,a'id on'( within the current program" These ,ariab'es are on'(a,ai'ab'e in +acro +ode and range from L1 to L33" Anter 'oca' ,ariab'es inthe @C Aditor screen" 9efer to &' (ditor, on page ) -

    M &ssign a ,a'ue to the 'oca' ,ariab'e before it is used in an euation or

    e)pression or the ,ariab'e wi'' be considered ,acant generating an errorun'ess the &''ow Bacant Bariab'esfie'd is set to es"

    M 8hen the subprogram ca'' is not made using an +? 'oca' ,ariab'es arenested meaning that when a subprogram ca'' is made a new set of 'oca',ariab'es is recei,ed and the o'd set is stored" &fter 'ea,ing the subprogramthese 'oca' ,ariab'es are destro(ed and the pre,ious set is restored"

    M assing parameters to subprograms automatica''( initia'iGes 'oca' ,ariab'eswhen subprogram ca''s other than +? are made"

    M #r2uments@a,ai'ab'e on'( +acro +ode &" &rguments are used to passparameters to subprograms" arameters are the addresses which fo''ow D65

    D66 and +? codes" Anter arguments in the @C Aditor screen" 9efer to &'(ditor, on page ) -

    9efer to the +acro +ode & D Code Droup 2tatustab'e"

    se the soft*e(s to se'ect the t(pe of @C Bariab'e to appear on the @C Bariab'es screen>

    M D'oba' 100-1

    M D'oba' 500 -

    M Too' %en =ffset 001-00

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-3

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    45/259

    M 8or* =ffset 500-3000

    The More soft*e( accesses these soft*e( choices>

    M +isc 3000-301

    M osition 5061-50?3

    M Too' :ia =ffsets 1001-100

    The More soft*e( returns to the first soft*e( menu described abo,e"

    The -o22le Enitssoft*e( togg'es the dimensiona' ,ariab'es #Too' =ffset 8or* =ffsetosition$ between inch and metric"

    M$'o Mo!e A Su+*'o(') V'%+les

    !n this tab'e the ,a'ues for the @C parameters are stored in addresses L?004 to L?06for +acro +ode & subprogram ca''s"

    The status for each ,ariab'e is stored in address L?104 to L?16"

    The status for the ,ariab'es is non-Gero #W1$ if an argument is specified in thesubprogram ca'' and Gero otherwise"

    Macro Mode # Supro2ram ariales

    )C Parameter alue

    #ddress

    -ype Status

    #ddress

    GGGG

    G

    ! L?004 &9D L?104 9

    L?005 &9D L?105 9

    L?006 &9D L?106 9

    < L?00 &9D L?10 9

    D L?010 &9D L?110 9

    H L?011 &9D L?111 9

    + L?013 &9D L?113 9

    @ L?014 &9D L?114 9

    L?016 &9D L?116 9

    E L?017 &9D L?117 9

    9 L?01? &9D L?11? 92 L?01 &9D L?11 9

    T L?00 &9D L?10 9

    ; L?04 &9D L?14 9

    L?05 &9D L?15 9

    F L?06 &9D L?16 9

    1 - 4,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    46/259

    Ta%le 11. acro ode Su%program /aria%les

    M$'o Mo!e A G Co!e G'ou* Sttus

    !n this tab'e the ,a'ue for each D Code Droup is stored in addresses L?030 to L?046for +acro +ode & subprogram ca''s D65 D66 and user defined D codes and + codes"

    The status for each D Code Droup is stored in addresses L?130 to L?146"

    The status is non-Gero if an argument is specified in the subprogram ca'' and empt(otherwise"

    Macro Mode # % Code %roup Status

    % Code alue

    #ddress

    -ype Status

    #ddress

    G

    00 L?030 &9D L?130 9

    01 L?031 &9D L?131 9

    0 L?03 &9D L?13 903 L?033 &9D L?133 9

    05 L?035 &9D L?135 9

    06 L?036 &9D L?136 9

    07 L?037 &9D L?137 9

    0? L?03? &9D L?13? 9

    0 L?03 &9D L?13 9

    10 L?040 &9D L?140 9

    11 L?041 &9D L?141 9

    15 L?045 &9D L?145 9

    16 L?046 &9D L?146 9

    Ta%le 12. acro mode 0 Code 0roup Status

    NC P'o+%n( P't Setu*

    !t is possib'e to perform a part probe setup using ca''s to a set of predefinedsubprograms" & subprogram is a group of commands stored under one name" These

    probing subprogram ca''s mimic the probe part setup con,ersationa' data b'oc*"The first fi,e subprogram ca''s #1000 through 5000$ are used to set interna'reference 'ocations that perform the probing function" The si)th subprogram 6000performs the probing operation"

    !n addition an @C program uti'iGing D31 commands can be used to perform a probingpart setup"

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-5

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    47/259

    robing is used for setting up part Gero for D54 on'("

    Here is an e)amp'e of the @C codes for probing part setup>

    D165 1000 ;0"0 0"0

    D165 000 ;1"0 ?"0 F-10"0

    D165 3000 ;4"0 1"0 F-10"0

    D165 4000 ;4"0 "0 F-5"0

    D165 5000 ;1"0 "0 F-10"0

    D165 6000 ;O1 O1 &1

    7 000 ;F ; 2tart %ocation

    8 3000 ;F 2tart %ocation

    9 4000 ;F F 2tart %ocation

    5000 ;F 2*ew 2tart %ocation

    ; ; robe :irection

    ;

    The pre,ious e)amp'e i''ustrates these subprograms>

    M 1000 is used to set the ; and reference 'ocations"

    M 000 is used to set the ; 2tart %ocation"

    M 3000 is used to set the 2tart %ocation"

    M 4000 is used to set the F 2tart %ocation"M 5000 is used to set the 2*ew 2tart %ocation"

    M 6000 is used to set the ; and direction #O1"0 means positi,e -1"0 meansnegati,e$ and the 2*ew a)is #& Z 1 for ; a)is & Z for a)is an( other,a'ue or no & parameter indicates no s*ew a)is$"

    The 1000 to 5000 subprograms must be used prior to 6000"=nce a 6000 is used the interna' reference 'ocations are reset to Gero

    1 - 6,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    48/259

    after the probing operation is performed" To retr( the part setup the 1000to 5000 subprograms must be reset before 6000"

    WinMax Mill NC Programming 704-0116-315 ,vervie* 1-7

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    49/259

    1 - ?,vervie* 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    50/259

    PREPARATOR8FUNCTIONS2 G

    CODES

    This section defines D codes and their functions" This information is often needed whenusing an off-'ine C&+ or C&:JC&+ s(stem to create @C part programs

    D Code Droups" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    4

    D CodeTab'e " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    5

    9apid Tra,erse #D00$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    14

    %inear !nterpo'ation #D01$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 16Circu'ar and He'ica' !nterpo'ation #D0 andD03$ " " " " " " " " " " " " " " " " " " " " " -

    1?

    3: Circu'ar !nterpo'ation #D0"4 andD03"4$ " " " " " " " " " " " " " " " " " " " " " " " " -

    3

    :we'' +ode#D04$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    4

    2urface

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    51/259

    - 4

    !nitia'iGing Too' %ength =ffsets #D10 with 9$ " " " " " " " " " " " " " " " " " " " " " " -

    34

    !nitia'iGing Too' =ffsets #D10 with T H :$" " " " " " " " " " " " " " " " " " " " " " " " " " -

    34

    &ssigning Too' =ffsets #D10 with %3$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 35o'ar Coordinates Command #D16$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    35

    'ane2e'ection" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    36

    ; 'ane 2e'ection #D17$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    37

    ;F 'ane 2e'ection#D1?$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    3?

    F 'ane 2e'ection #D1$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

    -

    4

    0nits of +easure !2@C D0 D1 " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    41

    &utomatic 9eturn To and

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    52/259

    Too' 9adius =ffset :ecrease#D46$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    5?

    Too' 9adius =ffset :oub'e !ncrease#D47$ " " " " " " " " " " " " " " " " " " " " " " " " " " -

    5?

    Too' 9adius =ffset :oub'e :ecrease #D4?$" " " " " " " " " " " " " " " " " " " " " " " " " " -

    5?

    2ca'ing #D50 and D51$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    61

    +irror !mage #D50"1 and D51"1$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    64

    %oca' Coordinate 2(stem 2etting #D5$" " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    67

    +achine Coordinates#D53$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    70

    +u'tip'e 8or* Coordinate 2(stems #D54ID5$" " " " " " " " " " " " " " " " " " " " " " " -

    7

    &u) 8or* Coordinate 2(stems#D54"1$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 742pecia' rogram 2upport" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    76

    9otation #D6? and D6$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    D'oba' 9otation @C Transform 'ane #D6?"$ and %oca' 9otation @C Transform'ane

    76

    #D6?"3$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    7?

    Coordinate 2(stem 9otation Cance' #D6$" " " " " " " " " " " " " " " " " " " " " " " " " " -

    7

    nits of +easure #@C D70D71$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    ?0

    ec* :ri''ing#D73$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    ?1

    %eft-Handed Tapping C(c'e #!2@C D74$" " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    ?3

    2ing'e-Euadrant Circu'ar !nterpo'ation #@C D74$ " " " " " " " " " " " " " " " " " " " " -

    ?4

    +u'ti-Euadrant Circu'ar !nterpo'ation #@C D75$ " " " " " " " " " " " " " " " " " " " " "

    -

    ?

    4ore =rient#D76$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    ?5

    Canned C(c'e Cance'#D?0$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    ?7

    :ri'' 2pot oring#D?1$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    ?7

    :ri'' with :we'' Counter oring #D?$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " ?

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 3

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    53/259

    -

    :eep Ho'e :ri''ing#D?3$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    0

    Tapping #D?4$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    4

    oring#D?5$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " - 7ore 9apid =ut C(c'e #!2@C D?6$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " -

    Chip rea*er #@C D?7$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

    - 101 ac* oring #!2@C D?7$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

    " " " " - 10 9igid Tapping #@C D?? !2@C D?4" !2@C

    D?4"3$" " " " " " " " " " " " " " " " " " " - 104

    Canned oring with +anua'

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    54/259

    arameter$" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 13

    :we'' #arameter$ " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

    -13

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    55/259

    G Co!e G'ou*s

    The D codes are grouped b( functions"

    %roup Function %roup Function

    00 =ne-2hot 10 9eturn from CannedC(c'es

    01 !nterpo'ation 11 2ca'ing

    0 'ane 2e'ection 1 +acroJ2ubprogram

    03 :imension 14 Coordinate 2(stem2e'ection

    05

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    56/259

    % Code -ype %rou

    p

    Function

    D00 + 01

    ositioning # 9apid Tra,erse $

    D01 + %inear !nterpo'ation #Cutting

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    57/259

    D41 + Cutter Compensation %eft

    D41" + 3 : Too' Deometr( Compensation

    D4 + Cutter Compensation 9ight

    D43 + 0?

    Too' %ength Compensation O :irection

    D43"4 + 5-&)is %inear !nterpo'ationD44 + Too' %ength Compensation - :irection

    D45 @ 00 Too' =ffset !ncrease

    D46 @ Too' =ffset :ecrease

    D47 @ Too' =ffset :oub'e !ncrease

    D4? @ Too' =ffset :oub'e :ecrease

    D4 + 0? Too' %ength =ffset Compensation Cance'

    D50 + 11 2ca'ing Cance'

    D51 + 2ca'ing

    D50"1 + 1? +irroring Cance'

    D51"1 + +irroring

    D5 @ 00 %oca' Coordinate 2(stem 2etting

    D53 @ +achine Coordinate 2(stem 2e'ection

    D54 + 14 8or* Coordinate 2(stem 1 2e'ection

    D54"1 + &u) 8or* Coordinate 2(stems

    D55 + 8or* Coordinate 2(stem 2e'ectionD56 + 8or* Coordinate 2(stem 3 2e'ection

    D57 + 8or* Coordinate 2(stem 4 2e'ection

    D5? + 8or* Coordinate 2(stem 5 2e'ection

    D5 + 8or* Coordinate 2(stem 6 2e'ection

    D61 + 15 :ece'erates to FeroIrecision Cornering

    D64 + Cance's recision Cornering

    D65 @ 1 +acro Command 2ubprogram Ca''

    D66 + +oda' 2ubprogram Ca''

    D67 + +oda' 2ubprogram Ca'' Cance'

    D6? + 16 Coordinate 9otation

    % Code -ype %rou

    p

    Function !Continued"

    2 - ?Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    58/259

    D6?" + D'oba' 9otation @C Transform 'ane

    D6?"3 + %oca' 9otation @C Transform 'ane

    D6 + Coordinate 2(stem 9otation Cance'

    @C D70 + 06

    !nput in !nch

    @C D71 + !nput in mm

    D73 + 0 ec* :ri''ing C(c'e

    !2@C D74 + %eft-handed Tapping C(c'e

    !2@C D74with +

    + 9igid Tapping

    @C D74 + 01 2ing'e-uadrant Circu'ar !nterpo'ation

    @C D75 + +u'ti-uadrant Circu'ar !nterpo'ation

    D76 + 0 ore =rient C(c'e

    D?0 + Canned C(c'e Cance'

    D?1 + :ri''ing C(c'e 2pot oring

    D? + :ri''ing C(c'e Counter oring

    D?3 + ec* :ri''ing C(c'e

    D?4 + Tapping C(c'e

    !2@C D?4" + 9igid Tapping C(c'e

    !2@C D?4"3 + 9igid Tapping C(c'e

    !2@C D?4 with

    +

    + 9igid Tapping C(c'e

    D?5 + oring C(c'e

    @C D?6 + ore =rient C(c'e

    !2@C D?6 + ore 9apid =ut C(c'e

    @C D?7 + Chip rea*er C(c'e

    !2@C D?7 + ac* oring C(c'e

    @C D?? + 9igid Tapping C(c'e

    !2@C D?? + oring C(c'e +anua'

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    59/259

    % Code -ype %rou

    p

    Function !Continued"

    D3 + 05 !n,erse Time

    D4 +

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    60/259

    The fo''owing tab'e 'ists the D codes b( group identifies the defau'ts #in the shadedareas$ 'ists +oda' #+$ or @on-moda' #@$ t(pes and describes the D codes. functions"

    %rou

    p

    % Codes -ype Function

    00 D04 @ :we'' A)act 2top

    D07 + C('indrica' 9otar( 8rap

    D0? + &29 Command uffering

    D0 @ :ece'erate &)is to Fero

    D10 @ :ata 2etting

    D11 @ :ata 2etting +ode Cance'

    D? @ 9eturn to 9eference oint

    D @ 9eturn from 9eference oint

    D31 @ 2*ip

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    61/259

    %rou

    p

    % Codes -ype Function !Continued"

    03 D0 + &bso'ute Command

    D1 + !ncrementa' Command

    05 D3 +

    +

    !n,erse Time

    D4

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    62/259

    !2@C D?6 + ore 9apid =ut C(c'e

    @C D?7 + Chip rea*er C(c'e

    !2@C D?7 + ac* oring C(c'e

    @C D?? + 9igid Tapping C(c'e

    !2@C D?? + oring C(c'e +anua'

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    63/259

    R*%! T'4e'se G::;

    9apid Tra,erse mode #D00$ is the defau't and mo,es the a)es to a specified 'ocation at therapid feedrate programmed in the rogram arameters screen" p to fi,e a)es #; F & C$ of coordinated rapid motion can be specified whi'e in this mode"

    2et either a 'inear or non-'inear too' path on the @C arameters screen" The 'inear too'path is the defau't" !2@C and @C ha,e different 'inear too' path modes" !n the !2@C'inear mode the too' motion is in a'' three a)es #; F$ simu'taneous'(" !n the @C'inear mode the motion is di,ided into separate ; and F mo,es" The motion in the ;p'ane is a straight 'ine"

    The !2@C and @C non-'inear modes are the same" !n the non-'inear too' path modethe ; p'ane motion is bro*en down into a 45[ mo,e and a straight 'ine mo,e para''e' toeither the ; or a)is" The determination of whether the 45[ mo,e or the straight 'inemo,e is made depends first on the distances from the current position to the endposition a'ong the ; and a)es"

    !f it is desired that the too' mo,e to a position which is compensated D41 or D4 needs to

    be specified a'ong with the offset before an( a)is coordinates are gi,en" The rapid tra,erserate is set on the Denera' arameters screen"

    The D00 mode is cance'ed b( using the D01 D0 D03 or cannedc(c'e #D73 D76 D?1ID?$ commands"

    D17 D1? or D1 determine p'ane of offset"

    D0 specifies abso'ute dimensioning and D1 specifies incrementa'

    dimensioning"

    &nother wor* coordinate s(stem can be se'ected b( using commands

    D54 through D5"

    Fo')t

    The format of the rapid tra,erse command is as fo''ows>

    D00 ;\\\\\\\\\\F\\\\\&\\\\\\\\\\C\\\\

    where

    ; is the rimar( ; +otion :imension

    is the rimar( +otion :imension

    F is the rimar( F +otion :imension

    & is the 9otar( :imension around ;-a)is

    is the 9otar( :imension around -a)is

    C is the 9otar( :imension around F-a)isE6)*le

    2 - 14Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    64/259

    !f one a)is of mo,ement is specified in a D00 b'oc* that a)is mo,es at the rapidtra,erse feedrate" 8hen two a)es of mo,ement are specified in a D00 b'oc* the rapidtra,erse feedrate is assigned to the 'ongest ,ector component" The resu'ting feed thatappears on the screen ma( actua''( e)ceed the rapid tra,erse feedrate parameter"

    !f a b'oc* containing a D00 word a'so contains a F word that causes the F-a)is to mo,eawa( from the part the F-a)is mo,es first" The other specified a)es then mo,e in 'inear or

    non-'inear mode at the rapid feedrate to their specified end points" !f F is to mo,e towardthe part a'' a)es e)cept F mo,e in 'inear or non-'inear mode at rapid feedrate to theirspecified end points then F mo,es down to its end point" !f no F is programmed a'' a)esmo,e at rapid feedrate coordinated to the specified end point" D00 is a member of the too'positioning code group and is $an$eledb( D01 D0 D03 and D?1ID?"

    This code is used for positioning on'( and shou'd ne,er beused for cutting materia'"

    The diagram be'ow shows the two different rapid tra,erse modes>

    7 2tart oint

    8 And oint

    9 %inear

    @on-%inear

    Figure 21. 0,, -is oement

    L%ne' Inte'*olt%on G:1;The %inear !nterpo'ation code #D01$ mo,es the a)es to a specified 'ocation at theprogrammed feedrate" p to fi,e a)es #; F & C$ of coordinated motion can bespecified whi'e in this mode" The programmed feedrate can be changed b( adding an

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 1

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    71/259

    NC Part Program

    G03ABS.HNC

    %

    #110 Z0 G91

    #115 T01 M06

    #116 X0. Y0. Z0.

    #120 F"0 S1000 M3

    #130 G00 X3. Y".

    #1"0 G01 X3. Y2. F10

    #150 G03 X". Y1.5$5$ ". &3.

    #160 X'."1"2 Y5. &5.

    #1'0 G01 Y'.

    #220 M02

    (

    1 Inch

    This is an e)amp'e of the same geometr( using the incrementa' mode>NC Part Program 1 InchG03INC.HNC

    %

    #110 Z0

    #115 T01

    M06

    #116 X0. Y0. Z0.

    #120 F"0 S1000 M3

    #130 G00 X3. Y".

    #1"0 G01 Y-2. F10

    #150 G03 X1. Y-."1"2 1. &1.

    #160 X3."1"2 Y3. 0. &3."1"2

    #1'0 G01 Y2.

    #220 M02

    (

    & and C words are not a''owed in circu'ar interpo'ation mode" The programmedfeedrate can be changed b( adding an < word to an( b'oc* whi'e in this mode"

    ; and F define the end point of the arc and ! and define the center point of thearc" ! represents the ; center point represents the center point and representsthe F center point" The ; F and < words do not need to be programmed when (ou

    2 - Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    72/259

    are initia''( setting the circu'ar interpo'ation mode if the( ha,e not changed from thepre,ious b'oc*"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    73/259

    D41 and D4 ma( not be used with these D codes"E6)*le

    e'ow is a program e)amp'e using D03"4>

    %

    T1 M6 S500 M3

    G0 X0 Y0 Z6

    G1 X0 Y0.0 F5.

    Z0

    G3." X5.0 Y2.5 Z1.0 ) nte*+edi,te

    oint

    X10.0 Y0.0 Z0.0 ) (nd oint G0Z6

    M2

    (

    D0ell Mo!e G:=;

    The :we'' +ode code #D04$ causes the machine to de'a( the shift to the ne)t b'oc* inthe program b( the amount specified b( parameter or ; for a specified amount oftime" 8hen an integer is used with the D04 command the ,a'ue is mu'tip'ied b( 0"01for @C and"001 or "0001 for !2@C depending on the %east :we'' nits programmed onthe @C arameters screen"

    The @C format for the dwe'' time is as fo''ows>

    9ea' @umber>"3 second Z D04 ;"3 or D04 "3

    !nteger @umber>"3 second Z D04 ;30 or D04 30

    This is the !2@C format for the dwe'' time programmed with a rea' number>

    9ea' @umber>"3 second Z D04 ;"3 or D04 "3

    8hen "001 is programmed for the %east :we'' nits fie'd on the @C arameters screenthe !2@C format for the dwe'' time programmed with an integer is this>

    !nteger @umber> "3 second Z D04 ;300 or D04 300

    8hen "0001 is programmed for the %east :we'' nits fie'd on the @C arameters screenthe !2@C format for the dwe'' time programmed with an integer is this>

    !nteger @umber>"3 second Z D04 ;3000 or D04 3000

    The :we'' +ode code is on'( acti,e in the programmed b'oc* but the dwe'' time is moda'and it affects most of the canned c(c'es"

    & decima' after an integer indicates who'e seconds"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    74/259

    Fo')t

    D04 \\\\\ or ;\\\\\

    where

    is the :we'' Time

    ; is the :we'' Time

    The range of ,a'ues is 0"001I" seconds"

    Su'$e F%n%s, G:>.1;

    The code determines the t(pe of finish ua'it( \"

    M 1 Z recision

    M Z 2tandard

    M 3 Z erformance

    The parameter E\ sets the chord segment for the finish where the E ,a'ue is theacceptab'e error ,a'ue"

    Dt S)oot,%n( G:>.7;

    E\ sets the Too' ath To'erance" The de,iation from the too' path the s(stem wi'' to'eratemust be between 0 to 0"0005 inches inc'usi,e #0 to 0"01 mm$"

    Su'$e F%n%s, ?ul%t# G:>. 9otar( &)is+ethod and Bector +ethod" sing defau't parameters for both st('es the ;-direction iswrapped around the c('inder the -direction points a'ong the c('inder a)is and theFdirection a'wa(s maps to the c('inder radius"

    Too' changes can be safe'( performed whi'e mi''ing with D07" because the contro'uti'iGes &29 Command uffering" 2eeutomati$ Sa+e epositioning 'ommand u++er 4n5G68), on page 2 - 28"

    Fo')t

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 5

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    75/259

    D07" reuires parameters to identif( the 'ocation and the orientation of the c('inder>

    (otary -is et#od

    The 9otar( &)is +ethod wraps ;F to the c('inder"

    D07" ;\\\\\\\\\\F\\\\\ C\\\\\ :\\\\\\\\\\%\\\\\E\\\\\

    M ;\\\\\\\\\\F\\\\\ is c('inder coordinate s(stem 'ocation with respect tothe current coordinate s(stem" !f not specified the contro' sets them to Gero"

    M C\\\\\\indicates c('inder a)is is a'ong C-a)is and the L indicates the mappingradius" The radius cannot be Gero" !f the radius is negati,e it wi'' wrap to theinside of the c('inder a'ong the negati,e radia' direction #1?0 degrees rotation$"&\ or \ can be specified instead of C to define the rotar( a)is the c('inder ispara''e' to"

    M :\\\\\ #optiona'$ !ndicates inside c('inder wrap" 8hen specified it wi'' in,ertthe wrap at the same ang'e #no 1?0 degree rotation as when a negati,e radiusis specified$"

    M \\\\\ #optiona'$ !ndicates 'eadJ'ag distance #tangentia' to positi,e rotationdirection at contact point on c('inder$"

    M %\\\\\ #optiona'$ !ncrementa' distance from first position after D07" to the9etract 'ane #same as for D0?"$" !f not specified contro' uses %Zinfinit("

    M E\\\\\ #optiona'$ !ncrementa' distance from first position after D07" to the2afet( 'ane #same as for D0?"$" !f not specified contro' uses EZ0 #2afet('ane passes through the Target oint$"

    M H\\\\\#optiona'$ The rotation in degree about the F-direction for the 3:feature that wi'' be wrapped #prior to being wrapped$" 0 degrees is the defau't ifno H parameter is specified this wi'' a'ign the -direction to the c('inder a)isand the ;-direction to be wrapped around the c('inder"

    /ector et#od

    The Bector +ethod uses ,ectors #! and B8$ to define the Gero-ang'e direction and thec('inder a)is direction"

    D07" ;\\\\\\\\\\F\\\\\!\\\\\\\\\\\\\\\\\\\\B\\\\\8\\\\\9\\\\\:\\\\\\\\\\%\\\\\E\\\\\

    M ;\\\\\\\\\\F\\\\\ is the c('inder coordinate s(stem 'ocation with respectto the current coordinate s(stem" !f not specified the contro' sets them to Gero"

    M !\\\\\\\\\\\\\\\ is the c('inder Fero 9otation direction with respect to thecurrent coordinate s(stem"

    M \\\\\B\\\\\8\\\\\ is the c('inder a)is direction with respect to the currentcoordinate s(stem"

    M 9\\\\\ is the mapping radius" The radius cannot be Gero" !f the radius isnegati,e it wi'' wrap to the inside of the c('inder a'ong the negati,e radia'direction #1?0 degrees rotation$"

    M :\\\\\ #optiona'$ indicates inside c('inder wrap" 8hen specified it wi'' in,ertthe wrap at the same ang'e #no 1?0 degree rotation as when a negati,e radiusis specified$"

    2 - 6Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    76/259

    M \\\\\ #optiona'$ indicates 'eadJ'ag distance #tangentia' to positi,e rotationdirection at contact point on c('inder$"

    M %\\\\\ #optiona'$ !ncrementa' distance from first position after D07" to the9etract 'ane #same as for D0?"$" !f not specified contro' uses %Zinfinit("

    M E\\\\\ #optiona'$ !ncrementa' distance from first position after D07" to the2afet( 'ane #same as for D0?"$" !f not specified contro' uses EZ0 #2afet('ane passes through the Target oint$"

    C#l%n!'%$lRot'# W'* O G:@.

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    77/259

    The too' retracts to the ,ertica' #F$ machine 'imit #3$ and then re-orients to the targetposition orientation #4$>

    The too' tip mo,es to the retract p'ane #5$ and then mo,es to a point abo,e the p'ungeposition in ; of the retract p'ane #6$>

    ;

    D10 % \\\\ ;\\\\\\\\F\\\\ & \\\\ \\\\C\\\\

    where

    is the 8or* Coordinate 2(stem

    ; is the rimar( ; +otion :imension

    is the rimar( +otion :imension

    F is the rimar( F +otion :imension

    & is the 9otar( :imension around ;-a)is

    is the 9otar( :imension around -a)is

    C is the 9otar( :imension around F-a)is

    Sett%n( Tool Osets 0%t, G1:

    This code is used for setting too' 'ength and radius offsets" The D11 command cance's thedata setting mode"

    In%t%l%%n( Tool Len(t, Osets G1: 0%t, P R;

    D10 is used with the and 9 parameters" is the offset number 01 through 00 and 9 isthe offset amount which ma( be abso'ute or incrementa' depending on D0 or D1"

    Fo')t

    2 - 3Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    82/259

    This is the command format for initia'iGing too' 'ength offsets>

    D10 \\\\ 9\\\\

    where

    is the Too' %ength =ffset @umber

    9 is the =ffset ,a'ue

    In%t%l%%n( Tool Osets G1: 0%t, T D;

    D10 is used with the T H and : parameters" The T parameter is the offset number 01through 00 H is the too' 'ength offset and : is the too' radius offset"

    Fo')t

    This is the command format for initia'iGing too' offsets>

    D10 T\\\ H\\\ :\\\\

    where

    T is the =ffset !nde) @umber

    H is the Too' %ength =ffset Ba'ue

    : is the Too' 9adius =ffset Ba'ue

    Ass%(n%n( Tool Osets G1: 0%t, L

    D10 %3 T\\\\\H\\\\\:\\\\\

    where

    T is the =ffset !nde)

    H is the too' %ength =ffset Ba'ue

    : is the Too' 9adius =ffset Ba'ue

    E6)*le

    The fo''owing too' offset initia'iGation e)amp'e shows how to set up a program to assignoffsets to the too's"

    D10%3

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 33

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    83/259

    T0001 H\\\\\ :\\\\\ #for too' 1$

    T000n H\\\\\ :\\\\\#for too' n$

    D11 # to cance' $

    The too' number does not reuire 'eading Geroes"

    Pol' Coo'!%ntes Co))n! G1;

    This command a''ows coordinates in the current b'oc* to be input in po'ar coordinates#radius and ang'e$" The first coordinate in the current'( se'ected p'ane is the radiuscoordinate in mm and the second coordinate in the p'ane is the ang'e in degrees"

    D16 ;\\\\ \\\\\ F\\\\\

    where

    ; is the rimar( ; +otion :imension :we'' Time

    is the rimar( +otion :imensionF is the rimar( F +otion :imension

    E6)*le

    2e'ect +etric mode for the fo''owing samp'e program using the o'ar Coordinatescommand>

    NC Part Program 1 Metric

    PIE.FNC

    %

    T1 M06

    M03 G00 G90 X0 Y0 Z0 S1$00

    G01 Z-.25 F20.

    G01 G16 X50. Y60.

    G03 X50. Y120. R50.

    G15

    G01 X0 Y0

    M02

    2 - 34Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    84/259

    Plne Sele$t%on

    The three codes in the p'ane se'ection group and their re'ationships to each other arei''ustrated be'ow>

    Figure 2!. Plane Selection 0roup Codes

    X8 Plne Sele$t%on G1@;

    The ; 'ane 2e'ection code #D17$ is the defau't and sets the p'ane for circu'arinterpo'ation modes D0 and D03 to the ; p'ane" The ; F ! and words are ,a'id incircu'ar interpo'ation b'oc*s words are in,a'id" !f a F word is programmed in the circu'arinterpo'ation b'oc* a he'i) is generated in the ; p'ane" The direction of an arc or he'i) inthe ; p'ane can be determined b( 'oo*ing at the ; p'ane with positi,e ; to the right and

    positi,e going up" The ; p'ane is a right-handed coordinate s(stem #thumb points topositi,e F and fingers wrap in counterc'oc*wise direction$"

    !n D17 the arc end point is defined b( the ; and words in the b'oc*" The arc centerpoint is defined b( the ! and words in the b'oc*"

    D17 is cance'ed b( D1? and D1"

    Fo')t

    The format of the ; p'ane se'ection command is as fo''ows>

    D17 ;\\\\ \\\\

    where

    ; is the rimar( ; +otion :imension :we'' Time

    is the rimar( +otion :imension

    E6)*le

    The diagram be'ow i''ustrates ; p'ane se'ection>

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 35

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    85/259

    Figure 2$. 89 Plane Selection :01';

    X Plne Sele$t%on G1;

    The ;F 'ane 2e'ection code #D1?$ sets the p'ane for the circu'ar interpo'ation codes D0and D03 to the ;F p'ane" The ; F ! and words are ,a'id in circu'ar interpo'ationb'oc*s words are in,a'id" !f a word is programmed in the circu'ar interpo'ation b'oc*a he'i) is generated in the ;F p'ane" The direction of an arc or he'i) in the ;F p'ane canbe determined b( 'oo*ing at the ;F p'ane with positi,e ; to the right and positi,e F goingup"

    asic @C and !2@C hand'e the ;F p'ane different'("

    D1? F\\\\ ;\\\\

    where

    F is the rimar( F +otion :imension; is the rimar( ; +otion :imension :we'' Time

    E6)*le

    The diagrams be'ow i''ustrate ;F p'ane se'ection in asic @C and in !2@C>

    2 - 36Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    86/259

    Figure 2&. Basic NC 8< Plane Selection :01);

    Figure 2'. 4SNC NC 8< Plane Selection :01);

    8 Plne Sele$t%on G19;

    The F 'ane 2e'ection code #D1$ sets the p'ane for circu'ar interpo'ation codes D0 andD03 to the F p'ane" The ; F and words are ,a'id in circu'ar interpo'ation b'oc*s! words are in,a'id" !f an ; word is programmed in the circu'ar interpo'ation b'oc* a he'i)is generated in the F p'ane" The direction of an arc or he'i) in the F p'ane can bedetermined b( 'oo*ing at the F p'ane with positi,e to the right and positi,e F goingup" The F p'ane is a right-handed coordinate s(stem #thumb points to positi,e ; and

    fingers wrap in counterc'oc*wise direction$"

    !n D1 the arc end point is defined b( the and F words in the b'oc*" The arc centerpoint is defined b( the and words in the b'oc*"

    D1 is cance'ed b( D17 and D1?"

    Fo')t

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 37

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    87/259

    The format of the F p'ane se'ection command is as fo''ows>

    D1 \\\\ F\\\\

    where

    is the rimar( +otion :imension

    F is the rimar( F +otion :imension

    E6)*le

    The diagram be'ow i''ustrates F p'ane se'ection>

    Figure 2). 9< Plane Selection :01*;

    Un%ts o Mesu'e ISNC G7: G71

    efore setting the coordinate s(stem at the beginning of the program the units ofmeasure must be specified in an independent b'oc*" & part program ma( switch betweenAng'ish and +etric modes as 'ong as the format of the dimensions is correct for thechosen mode"

    The !mperia' nits of +easure code #!2@C D0$ signa's the s(stem that the dimensionsare in inches"

    !2@C D0 is cance'ed b( D1"

    The +etric nits of +easure code #!2@C D1$ signa's the s(stem that the dimensions aremetric units"

    !2@C D1 is cance'ed b( D0"

    Fo')t

    These are the command formats for the inchJmetric con,ersion commands>

    !2@C>

    D0> !nch command

    2 - 3?Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    88/259

    D1> +etric command

    The !2@C D0 and D1 codes do not affect the units of measure usedin the graphics and machine status disp'a( screens" The disp'a(s are

    contro''ed b( the units se'ected when entering @C editing"

    Auto)t%$ Retu'n To n! F'o) Ree'en$e Po%nt G7 n!G79;

    &n( point within the machine coordinate s(stem can be se'ected as the reference point"The return to reference point is often used to mo,e the part forward so (ou can remo,echips from the part and inspect the part" 2e'ect the reference point on the @Carameters screen"

    The &utomatic 9eturn To 9eference oint command #D?$ specifies an automatic returnto the reference point for the designated a)es" &n intermediate point can be specifiedwith the ;\\\\\\\\F\\\\ parameters" !f no intermediate point coordinates arespecified the s(stem uses the pre,ious intermediate point coordinates" !f nointermediate point coordinates are specified during the current program e)ecution themachine returns direct'( to the reference point"

    The &utomatic 9eturn

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    89/259

    D0

    "

    "

    "

    G79 Fo')t

    The format for the &utomatic 9eturn to 9eference oint command is>

    D ;\\\\ \\\\ F\\\\

    where

    ; is the rimar( ; +otion :imension

    is the rimar( +otion :imension

    F is the rimar( F +otion :imension

    8hen the D command is gi,en the s(stem returns to the most recent'( used wor*ingcoordinate s(stem" These parameters specif( the abso'ute or incrementa' 'ocation of theend point in coordinates re'ati,e to the current coordinate s(stem in effect when the D?command was processed"E6)*le

    This samp'e program uses D? and D to return the spind'e to and from the referencepoint" 2et art Fero to ;1 before running the program"

    NC Part Program1 Inch

    PLAIN_2.FNC%

    G00 X0 Y0 Z0

    G2$ X-' Y-$

    G29 X3 Y-"

    M02

    2 - 40Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    90/259

    S/%* P'o+%n(; Fun$t%on G

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    91/259

    This command cannot be performed with cutter compensation #D41 D4 D43 ]with D1? or D1^ D45 D46 D47 and D4?$"

    E6)*le

    The fo''owing program e)amp'e finds the center point within a bo) when run on thecontro'"

    NC Part Program 1 Inch

    G31_!E"!.FNC

    %

    ) G/ T/ #T RT Z(R/

    G01 X0 Y0 F15.

    G31 X' F15.

    2001 5061

    G01 X0 Y0 F25.

    G31 X-' F15.

    2002 5061

    2003 4200220017Z

    G01X2005Y2006F25.

    #100 M00

    G31 Y5 F15.

    200" 5062

    G01 X2003 Y0F25.

    G31 Y-5 F15.

    2005 5062

    2006 4200"20057Z

    ) T8( S#( #/: M/;(S T/ T8(

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    92/259

    7 ; %eft

    8 ; 9ight

    9 Top

    ottom

    ; !nitia' art Fero

    Figure 2*. 4SNC Skip :Pro%ing; Function

    Tool n! R!%us Osets G=:G=9;

    Too' and 9adius =ffsets inc'ude the Too' %ength =ffsets and Too' 9adius =ffsets" CutterCompensation D codes D40ID4 are used to contro' too' mo,ement" &ccess the Too'

    =ffsets from the Too' 2etup screen" 2e'ect the Too' =ffsets #

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    93/259

    'utter 'ompensation 5G"6!G"2, on page 2 - "8

    0ool 1ength 4++set 5G"3, G"", G"*, on page 2 - /"

    0ool adius 4++set 5G"/!G"*, on page 2 - /8

    Cutte' Co)*enst%on G=:G=7;

    Cutter compensation ma( be used for two purposes"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    94/259

    Cutte' Co)*enst%on ISNC n! Bs%$ NC P'o('))%n(D%e'en$es

    ou ma( program cutter compensation using !2@C or asic @C" There are differencesbetween the two"

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    95/259

    Cutte' Co)*enst%on O G=:;

    The Cutter Compensation =ff code #D40$ is the defau't" !t cance's cutter compensation b(erasing a'' the data in the s(stem.s cutter compensation 'oo*-ahead buffers and mo,ingto the current uncompensated endpoint at the programmed feedrate"

    D00 or D01 must be se'ected in order for this command to cance' the offsetcompensation" Aach a)is mo,es straight #D01$ or at rapid tra,erse #D00$ from the point ofthe o'd ,ector at the start point toward the end point" The machine shou'd be in D40mode before the end of a program" =therwise when the program ends in the offset modepositioning cannot be made to the termina' point of the program and the too' position wi''be separated from the termina' position b( the ,ector ,a'ue"

    Fo')t

    The command format for Cutter Compensation =ff is as fo''ows>

    D40 ;\\\\ \\\\

    where

    ; is the rimar( ; +otion :imension

    is the rimar( +otion :imension

    !f the parameters are omitted the too' mo,es the o'd ,ector amount in the oppositedirection which effecti,e'( cance's the offset"

    !t is possib'e to switch from 'eft to right cutter compensation #and

    ,ice ,ersa$ without first cance'ing cutter compensation"

    Cutte' Co)*enst%on Let G=1;

    The Cutter Compensation %eft code #D41$ switches on cutter compensation" !testab'ishes a new too' path 'eft and para''e' to the programmed path" The distancebetween the new too' path and the programmed path is eua' to the cuttercompensation ,a'ue for the programmed too'"

    D41 is cance'ed b( D40"

    The offset e)ecutes on'( in the D17 offset p'ane" !n simu'taneous three-a)is contro' thetoo' path projected on the offset p'ane is compensated"

    D00 D01 D0 or D03 must be specified"

    Fo')t

    The command format for cutter compensation 'eft is as fo''ows>

    D41 ; \\\\\ \\\\\ :\\\\\

    where

    ; is the rimar( ; +otion :imension

    2 - 46Preara"ory $un%"ions - ' Co)es 704-0116-315 WinMax Mill NC Programming

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    96/259

    is the rimar( +otion :imension

    : is the Too' 9adius =ffset

    !f the offset number for cutter compensation is :00 the s(stem wi'' not go into D41mode"

    D41 cannot be used when D4 or D41" are acti,e"

    Too' Bector orientation cannot be changed when D41 isacti,e"

    < D Tool Geo)et'# Co)*enst%on G=1.7;

    3: Too' Deometr( Compensation #D41"$ a''ows the specification of the 2urface Contactoint 2urface @orma' Bector and Too' Bector for ba'' nose f'at end and bu'' noseendmi''s" 2ee 3# 0ool Geometr9 'ompensation 5G")2, on page 2 - /)discussion inToo' Centerpoint +anagement #+1?$ for more information"

    D41" cannot be used when D41 or D4 are acti,e"

    Cutte' Co)*enst%on R%(,t G=7;

    The Cutter Compensation 9ight code #D4$ switches on cutter compensation andestab'ishes a new too' path right of and para''e' to the programmed path" The distancebetween the new too' path and the programmed path is eua' to the cuttercompensation ,a'ue for the programmed too'"

    D4 is cance'ed b( D40"This command is an offset method simi'ar to D41 e)cept that the offset is to the right ofthe programmed path 'oo*ing in the direction in which the too' is ad,ancing" The offsetis performed on'( in the D17 offset p'ane" =n'( the coordinate ,a'ues of an a)is in theoffset p'ane are affected b( the offset" !n simu'taneous three-a)is contro' the too' pathprojected on the offset p'ane is compensated"

    D00 D01 D0 or D03 must be specified"

    Fo')t

    The command format for cutter compensation right is as fo''ows>

    D4 ; \\\\\ \\\\\ :\\\\\

    where

    ; is the rimar( ; +otion :imension

    is the rimar( +otion :imension

    : is the Too' 9adius =ffset

    WinMax Mill NC Programming 704-0116-315 Preara"ory $un%"ions - ' Co)es- 47

  • 8/10/2019 WinMax Mill NC Programming_v9.1_July2013.doc

    97/259

    !f the offset number is :00 the s(stem wi'' not go into D4 mode"

    D4 cannot be used when D41" is acti,e"

    Too' Bector orientation cannot be changed when D4 is acti,e"

    Cutte' Co)*enst%on P'o('))%n(

    1" Anter the part surface description according to the fina' dimensions of the part"

    " Anter the fu'' cutter diameter as a positi,e number in the :iameterCompensation fie'd in Too' 2etup or supp'( a : word when changing too's# asic @C on'( $"

    3" &cti,ate cutter compensation in the desired direction #'eft or right of partsurface with respect to too' path direction$"

    4" 2upp'( an entr( mo,e from somewhere outside the part to the start point of the

    part surface i"e" somewhere outside of the compensated path" The partsurface appears as a b'ue 'ine on the