585,700 active members*
3,369 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Need a little help with modifying my post .
Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2008
    Posts
    121

    Need a little help with modifying my post .

    Hello, I need some help figuring out why my post processor won't output line arc moves when doing a helix move such as in a thread mill. I am using Mastercam X with Prototrak MX3 controller. While trying to do some thread milling my post keeps outputting x and y moves on a separate line from the z move , (they should be all on the same line) . I have chosen the " linearize arc moves" in the parameters box but still no luck.

    I have attached the NC file and a screen shot. I could not figure out how to attach the .PST file so I just copied it. If someone can show what to change and where I will do it in the post .Thanks for any help !!!!

    Click image for larger version. 

Name:	Thread mill screen shot.jpg 
Views:	73 
Size:	78.2 KB 
ID:	85177

    THREAD MILL G CODE.TXT

    [POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V10.00 E1 P0 T1247096956 M10.00 I0
    # Post Name : MPROTMX3
    # Product : MILL
    # Machine Name : PROTOTRACK
    # Control Name : MX3
    # Description : PROTOTRAK MX3
    # Associated Post : NONE
    # Mill/Turn : NO
    # 4-axis/Axis subs. : NO
    # 5-axis : NO
    # Subprograms : NO
    # Executable : MP V9.0
    #
    # WARNING: THIS POST IS GENERIC AND IS INTENDED FOR MODIFICATION TO
    # THE MACHINE TOOL REQUIREMENTS AND PERSONAL PREFERENCE.
    #
    # ---------------
    #| REVISION LOG |
    # ------------------------------------------------------------------------
    # Programmers Note:
    # CNC 01/12/01 - jce - Updated for Mill Version 8.1
    # CNC 01/09/02 - rjm - Initial post update for V9.0
    # ------------------------------------------------------------------------
    #
    #
    #Canned text:
    # Entering cantext on a contour point from within Mastercam allows the
    # following functions to enable/disable.
    # Cantext value:
    # 1 = Stop = output the "M00" stop code
    # 2 = Ostop = output the "M01" optional stop code
    #
    #
    # G18 & G19 Planes:
    # "linarc" is used to control the output of circular moves. Because the
    # MX3 does not support the G18 & G19 planes, linarc will be turned on when
    # circular moves in these planes are encountered causing the circular moves
    # to be output as linear moves. The G17 plane is supported and will
    # output as circular G Code moves.[/COLOR]# Adjust "vtol" for tolerance with linarc on for chordal deviation.
    #
    # --------------------------------------------------------------------------
    # DEBUG/PROGRAM SWITCHES, debugging and program switches
    # --------------------------------------------------------------------------
    fastmode$ : yes$ # Enable Quick Post Processing, (set to no for debug)
    bug1$ : 1 # 0=No display, 1=Generic list box, 2=Editor
    bug2$ : 0 # Append postline labels, non-zero is column position?
    bug3$ : 0 # Append whatline no. to each NC line?
    bug4$ : 0 # Append NCI line no. to each NC line?
    whatno$ : yes$ # Do not perform whatline branches? (leave as yes)
    linktolvar$ : 1 #Associate X tolerance variables to V9- variable?
    linkplnvar$ : 1 #Associate X plane specific variables to V9- variable?
    linklvar$ : 1 #Associate X lathe specific variables to V9- variable?
    cant_tlchng$ : 1 #Ignore cantext entry on move with tlchng_aft?

    get_1004$ : 1 #Find gcode 1004 with getnextop?
    rpd_typ_v7$ : 1 #Use Version 7 style contour flags?
    strtool_v7$ : 2 # Use Version 7 toolname?

    # --------------------------------------------------------------------------
    # FORMAT STATEMENTS - n=nonmodal, l=leading, t=trailing, i=inc, d=delta
    # --------------------------------------------------------------------------
    fs 1 0.45 # X,Y,Z
    fs 2 0.45n # I,J,K
    fs 3 4 0n # N
    fs 4 3 0l #
    fs 5 4 0l #
    fs 6 0.2 # F
    fs 7 3 0 # 3 INT.
    fs 8 2 0 # 2 INT.
    fs 9 1 0 # 1 INT.
    fs 10 1 3 # P
    fs 11 2 0l # 2 INT. leading

    # --------------------------------------------------------------------------
    # FORMAT ASSIGNMENTS
    # --------------------------------------------------------------------------
    # Axis output formats - Linear
    # --------------------------------------------------------------------------
    fmt X 1 x$ # X Axis Pos
    fmt Y 1 y$ # Y Axis Pos
    fmt Z 1 z$ # Z Axis Pos
    fmt X 1 xr$ # X Rapid Pos
    fmt Y 1 yr$ # Y Rapid Pos
    fmt Z 1 zr$ # Z Rapid Pos
    fmt Z 1 zrprv # Z Rapid Pos
    fmt X 1 xh$ # X Home Pos
    fmt Y 1 yh$ # Y Home Pos
    fmt Z 1 zh$ # Z Home Pos

    # --------------------------------------------------------------------------
    # Axis output formats - Circular
    # --------------------------------------------------------------------------
    fmt I 2 i$ # Arc center description in X
    fmt J 2 j$ # Arc center description in Y
    fmt K 2 k$ # Arc center description in Z

    # --------------------------------------------------------------------------
    # Program & Sequence number format
    # --------------------------------------------------------------------------
    fmt P 5 progno$ # Program number
    fmt N 3 n$ # Program Sequence Number

    # --------------------------------------------------------------------------
    # Tool format
    # --------------------------------------------------------------------------
    fmt T 8 t$ # Tool Number
    fmt D 8 tloffno$ # Diameter Offset Number
    fmt H 8 tlngno$ # Length Offset Number

    # --------------------------------------------------------------------------
    # Spindle Speeds & Feedrate output formats
    # --------------------------------------------------------------------------
    fmt F 6 fr$ # Feedrate
    fmt M 11 cantext$ #Canned text

    # --------------------------------------------------------------------------
    # Drill variable formats
    # --------------------------------------------------------------------------
    fmt P 10 dwell$ # Dwell
    fmt Z 1 initht$ # Initial Height
    fmt R 1 refht$ # Reference Height
    fmt Z 1 depth$ # Depth
    fmt 1 peck1$ # First peck increment (positive)
    fmt Q 7 peck2$ # Second or last peck (positive)
    fmt 1 peckclr$ # Safety distance
    fmt 1 retr$ # Retract height
    fmt F 6 frplunge$ # Plunge feedrate in drill cycles

    # --------------------------------------------------------------------------
    # INITIALIZE - initialize system variables and define user variables
    # --------------------------------------------------------------------------
    skipmotest$: yes$ # Skip motion test in linear
    nobrk$ : 2 # 0=break rapid moves into xy move and z move, 1=do not brk moves,
    # 2= break all rapid, linear and arc moves just as in nobrk=0.
    seqmax$ : 9999 # Max. sequence number
    spaces$ : 0 # Number of spaces to add between fields
    arctype$ : 2 # Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
    do_full_arc$ : 0 # Allow full circle output? 0=no, 1=yes
    helix_arc$ : 0 # Support helix arc output, 0=no, 1=all planes, 2=XY plane only
    arccheck$ : 1 # Check for small arcs, convert to linear
    ltol$ : 0.002 # Length tolerance for arccheck
    newglobal$ : 1 # Error Check (Leave this variable set to 1)
    drlgsel : -1 # Drill Select Initialize
    sof : 0 # SOF flag
    motion : 0 # Motion test
    linarc$ : 0 # Used for linearization of circular moves See note above.

    #Cantext string definitions (spaces must be padded here)
    sm00 "M00"
    sm01 "M01"
    strm "M"
    strtextno
    strcantext
    sblank

    # --------------------------------------------------------------------------
    # FORMULAS - global formulas
    # --------------------------------------------------------------------------
    tloffno$ = t$ # Alway set tool offset to tool number

    # --------------------------------------------------------------------------
    # CANNED CYCLES - select long or short code
    # --------------------------------------------------------------------------
    usecandrill$ : yes$ # Use canned cycle for drill
    usecanpeck$ : yes$ # Use canned cycle for Peck
    usecanchip$ : yes$ # Use canned cycle for Chip Break
    usecantap$ : no$ # Use canned cycle for Tap
    usecanbore1$ : yes$ # Use canned cycle for Bore1
    usecanbore2$ : no$ # Use canned cycle for Bore2
    usecanmisc1$ : no$ # Use canned cycle for Misc1
    usecanmisc2$ : no$ # Use canned cycle for Misc2

    # --------------------------------------------------------------------------
    # Strings - String labels must start with 's' - they are not pre-assigned
    # --------------------------------------------------------------------------
    # Select motion G code
    sg00 G00 # Linear movement at rapid feedrate
    sg01 G01 # Linear movement at feedrate
    sg02 G02 # Circular interpolation CW
    sg03 G03 # Circular interpolation CCW
    sgcode # Target string

    fstrsel sg00 gcode$ sgcode 4 -1

    # --------------------------------------------------------------------------
    # Cutter compensation code
    scc0 # Cutter compensation state not changed
    sg40 G40 # Cancel cutter compensation
    sg41 G41D00 # Cutter compensation left
    sg42 G42D00 # Cutter compensation right
    sg140 # Last linear move cancel cutter comp (see note)
    sccomp # Note: to cancel comp after last move, remove G40 string
    # with sg140 and remove "#" at the postline call "pcancelcc"
    # Target string

    fstrsel scc0 ccomp$ sccomp 5 -1

    # --------------------------------------------------------------------------
    # Canned drill cycle string select
    # Canned drill cycle G-strings
    sg81 G81 # drill - no dwell
    sg82 G82 # drill - with dwell
    sg83 G83 # peck drill - no dwell
    sg73 G73 # peck drill - with dwell
    sg84 # tap
    sg85 G85 # bore #1 - no dwell
    sg89 G89 # bore #1 - with dwell
    sg86 # bore #2 - no dwell
    sgdrill # Target drill cycle G code

    fstrsel sg81 drlgsel sgdrill 8 -1# Drill cycle G string select

    # --------------------------------------------------------------------------
    # POSTLINES, USER-DEFINED - Postline labels start with 'p'.
    # End a line with ',' to continue on the next line.
    # End a line with ', e' to generate carriage return and linefeed.
    # --------------------------------------------------------------------------
    # Program general output control, user defined
    # --------------------------------------------------------------------------
    pcooloff # Coolant off "M" code output
    if prv_coolant$ > 0, "M09"

    pcoolon # Coolant on "M" code output
    if coolant$ = 1, "M07" # Flood
    if coolant$ = 2, "M08" # Mist
    if coolant$ = 3, "M09" # Spindle (off if not supported)

    pfr # Feedrate W/O Negative Feedrates
    if fr$ > 0, fr$

    # --------------------------------------------------------------------------
    # Cutter comp. output control, user defined
    # --------------------------------------------------------------------------
    pccdia # Cutter Compensation
    if sof = 1, sccomp

    # --------------------------------------------------------------------------
    # POSTLINES, PRE-DEFINED - Postline names are pre-assigned.
    # Lines do not need to end with ', e' for carriage return and linefeed.
    # --------------------------------------------------------------------------
    preset # Reset values at toolchange
    sof = 0
    prv_fr$ = 9999
    x$ = xr$
    y$ = yr$
    z$ = zr$
    !x$, !y$, !z$

    pheader$ # File header
    "%", progno$, e$
    vtol$ = 0.00005 #Set tolerance for linear arcs


    psof0$ # Start of file for zero tool number
    psof$

    psof$ # Start of file for non-zero tool number
    preset
    n$, "G00G90",e$
    n$, "G20",e$
    pcan
    n$, t$,e$
    pcan1, n$, "G00", *xr$, *yr$, strcantext, e$
    n$, *zr$,e$
    n$, pcoolon,e$
    pcan2

    ptlchg0$ # Null tool change
    pcan

    ptlchg$ # Tool change
    preset
    zrprv = prv_zr$
    if zrprv <> prv_z$, n$, "G00", *zrprv,e$
    n$, pcooloff,e$
    pcan
    n$, t$,e$
    pcan1, n$, "G00", *xr$, *yr$, strcantext, e$
    n$, *zr$,e$
    n$, pcoolon,e$
    pcan2

    ptoolend$ # End of file for tool zero
    !coolant$

    peof0$ # End of file for tool zero
    peof$

    peof$ # End of file for non-zero tool
    n$, "M02",e$
    "%",e$

    # --------------------------------------------------------------------------
    # Axis motion
    # --------------------------------------------------------------------------
    prapid$ # Linear line movement - at rapid feedrate
    pcan
    pcan1, n$, sgcode, pccdia, x$, y$, z$, strcantext, e$
    pcan2
    sof = 1

    pzrapid$ # Linear line movement - at rapid feedrate
    pcan
    pcan1, n$, sgcode, x$, y$, z$, strcantext, e$
    pcan2


    plin$ # Linear line movement - at feedrate
    sof = 1
    pcan
    pcan1, n$, sgcode, pccdia, x$, y$, z$, pfr, strcantext, e$
    pcan2


    pz1$ # First linear movement after SOF
    pz$

    pz$ # Linear line movement - at feedrate
    n$, sgcode, pccdia, x$, y$, z$, pfr,e$

    pcirout #Circular interpolation
    pcan
    pcan1, n$, sgcode, pccdia, x$, y$, z$, i$, j$, pfr, strcantext, e$
    pcan2

    pcir0$ # *Circular interpolation
    if plane$ = 0, linarc$ = 0
    if plane$ = 1, linarc$ = 1 #"G19 NOT SUPPORTED IN THE MX3"
    if plane$ = 2, linarc$ = 1 #"G18 NOT SUPPORTED IN THE MX3"

    pcir$ # *Circular interpolation
    pcirout

    pcancelcc$ # Cancel cutter comp.
    n$, "G40",e$

    # --------------------------------------------------------------------------
    # Drilling
    # --------------------------------------------------------------------------
    pg81 # Drill cycle for drill (G81)
    n$, "G00", *x$, *y$, e$
    n$, initht$, e$
    n$, "G98", *sgdrill, *refht$, *depth$, *frplunge$, e$
    n$, "G80", e$

    pg82 # Drill cycle for c'bore (G82)
    n$, "G00", *x$, *y$, e$
    n$, initht$, e$
    n$, "G98", *sgdrill, *refht$, *depth$, *dwell$, *frplunge$, e$
    n$, "G80", e$

    pg83 # Drill cycle for peck drill (G83)
    n$, "G00", *x$, *y$, e$
    n$, initht$, e$
    n$, "G98", *sgdrill, *refht$, *depth$, *peck2$, *frplunge$, e$
    n$, "G80", e$

    pg73 # Drill cycle for peck drill (G83)
    n$, "G00", *x$, *y$, e$
    n$, initht$, e$
    n$, "G98", *sgdrill, *refht$, *depth$, *peck2$, *frplunge$, e$
    n$, "G80", e$

    pg85 # Drill cycle for bore in, bore out (G85)
    n$, "G00", *x$, *y$, e$
    n$, initht$, e$
    n$, "G98", *sgdrill, *refht$, *depth$, *frplunge$, e$
    n$, "G80", e$

    pg89 # Drill cycle for bore in, dwell, bore out (G89)
    n$, "G00", *x$, *y$, e$
    n$, initht$, e$
    n$, "G98", *sgdrill, *refht$, *depth$, *dwell$, *frplunge$, e$
    n$, "G80", e$

    pdrill$ # G81/G82
    drlgsel = 0
    if dwell$ <> 0, drlgsel = 1
    if dwell$ = 0, pg81
    if dwell$ <> 0, pg82

    pqcalc #Calculate Q number
    # peck2 = abs ( ( refht - depth ) / peck1 )
    peck2$ = peck1$

    ppeck$ # G83
    pqcalc
    drlgsel = 2
    pg83

    pchpbrk$ # Canned Chipbreak Cycle (User Option)
    pqcalc
    drlgsel = 3
    pg73

    ptap$ # Canned Tap Cycle (User Option)

    pbore1$ # G85/G89
    drlgsel = 5
    if dwell$ <> 0, drlgsel = 6
    if dwell$ = 0, pg85
    if dwell$ <> 0, pg89

    pbore2$ # Canned Bore #1 Cycle (User Option)

    pmisc1$ # Canned Misc #1 Cycle (User Option)

    pmisc2$ # Canned Misc #2 Cycle (User Option)

    pdrill_2$ # Canned Drill Cycle
    pdrill$

    ppeck_2$ # Canned Peck Drill Cycle
    ppeck$

    pchpbrk_2$ # Canned Chip Break Cycle
    pchpbrk$

    ptap_2$ # Canned Tap Cycle
    ptap$

    pbore1_2$ # Canned Bore #1 Cycle
    pbore1$

    pbore2_2$ # Canned Bore #2 Cycle
    pbore2$

    pmisc1_2$ # Canned Misc #1 Cycle
    pmisc1$

    pmisc2_2$ # Canned Misc #2 Cycle
    pmisc2$

    pcanceldc$ # Cancel drill cycle

    # --------------------------------------------------------------------------
    # Canned Text
    # --------------------------------------------------------------------------
    pcan #Canned text - before output call
    strcantext = sblank
    if cant_no$ > 0,
    [
    if cant_pos1$ = 0, pcant_1
    if cant_pos2$ = 0, pcant_2
    if cant_pos3$ = 0, pcant_3
    if cant_pos4$ = 0, pcant_4
    if cant_pos5$ = 0, pcant_5
    if cant_pos6$ = 0, pcant_6
    if cant_pos7$ = 0, pcant_7
    if cant_pos8$ = 0, pcant_8
    if cant_pos9$ = 0, pcant_9
    if cant_pos10$ = 0, pcant_10
    n$, strcantext, e$
    strcantext = sblank
    ]

    pcan1 #Canned text - with move
    strcantext = sblank
    if cant_no$ > 0,
    [
    if cant_pos1$ = 1, pcant_1
    if cant_pos2$ = 1, pcant_2
    if cant_pos3$ = 1, pcant_3
    if cant_pos4$ = 1, pcant_4
    if cant_pos5$ = 1, pcant_5
    if cant_pos6$ = 1, pcant_6
    if cant_pos7$ = 1, pcant_7
    if cant_pos8$ = 1, pcant_8
    if cant_pos9$ = 1, pcant_9
    if cant_pos10$ = 1, pcant_10
    ]
    if cstop$, strcantext = strcantext + sm00
    if cgstop$, strcantext = strcantext + sm01
    #Output of strcantext occurs at the end of the output line

    pcan2 #Canned text - after output call
    strcantext = sblank
    if cant_no$ > 0,
    [
    if cant_pos1$ = 2, pcant_1
    if cant_pos2$ = 2, pcant_2
    if cant_pos3$ = 2, pcant_3
    if cant_pos4$ = 2, pcant_4
    if cant_pos5$ = 2, pcant_5
    if cant_pos6$ = 2, pcant_6
    if cant_pos7$ = 2, pcant_7
    if cant_pos8$ = 2, pcant_8
    if cant_pos9$ = 2, pcant_9
    if cant_pos10$ = 2, pcant_10
    n$, strcantext, e$
    strcantext = sblank
    ]

    pcant_1 #Canned text - output call
    cantext$ = cant_val1$
    pcant_out

    pcant_2 #Canned text - output call
    cantext$ = cant_val2$
    pcant_out

    pcant_3 #Canned text - output call
    cantext$ = cant_val3$
    pcant_out

    pcant_4 #Canned text - output call
    cantext$ = cant_val4$
    pcant_out

    pcant_5 #Canned text - output call
    cantext$ = cant_val5$
    pcant_out

    pcant_6 #Canned text - output call
    cantext$ = cant_val6$
    pcant_out

    pcant_7 #Canned text - output call
    cantext$ = cant_val7$
    pcant_out

    pcant_8 #Canned text - output call
    cantext$ = cant_val8$
    pcant_out

    pcant_9 #Canned text - output call
    cantext$ = cant_val9$
    pcant_out

    pcant_10 #Canned text - output call
    cantext$ = cant_val10$
    pcant_out

    pcant_out #Canned text - build the string for output
    #Build the cantext string
    if cantext$ = 1, strcantext = strcantext + sm00
    if cantext$ = 2, strcantext = strcantext + sm01
    if cantext$ > 2,
    [
    strtextno = no2str(cantext$)
    strcantext = strcantext + strm + strtextno
    ]


    # --------------------------------------------------------------------------
    # Numbered questions for Mastercam Mill
    # --------------------------------------------------------------------------
    38. Rapid feedrate? 300.0
    1538. Rapid feedrate (metric)? 10000.0

    80. Communications port number for receive and transmit (1 or 2) ? 1
    81. Data rate (110,150,300,600,1200,2400,4800,9600,14400,19200,3 8400)? 1200
    82. Parity (E/O/N)? E
    83. Data bits (7 or 8)? 7
    84. Stop bits (1 or 2)? 2
    85. Strip line feeds? N
    86. Delay after end of line (seconds)? 0
    87. Ascii, Eia, or Binary (A/E/B)? A
    88. Echo keyboard to screen in terminal emulation? N
    89. Strip carriage returns? N

    90. Drive and subdirectory for NC files?
    91. Name of executable post processor? MP
    92. Name of reverse post processor? RP
    93. Reverse post PST file name? RPFAN

    100. Number of places BEFORE the decimal point for sequence numbers? 3
    101. Number of places AFTER the decimal point for sequence numbers? 0
    103. Maximum spindle speed? 5000
    107. Average time for tool change (seconds)? 15.0

    161. Enable Home Position button? y
    162. Enable Reference Point button? n
    163. Enable Misc. Values button? y
    164. Enable Rotary Axis button? n
    165. Enable Tool Plane button? n
    166. Enable Construction Plane button? n
    167. Enable Tool Display button? y
    168. Check tplane during automatic work origin creation? n

    # --------------------------------------------------------------------------
    # Default Miscellaneous Real Values
    # --------------------------------------------------------------------------
    201. Default miscellaneous real variable 1 (mr1)? 0.0
    202. Default miscellaneous real variable 2 (mr2)? 0.0
    203. Default miscellaneous real variable 3 (mr3)? 0.0
    204. Default miscellaneous real variable 4 (mr4)? 0.0
    205. Default miscellaneous real variable 5 (mr5)? 0.0
    206. Default miscellaneous real variable 6 (mr6)? 0.0
    207. Default miscellaneous real variable 7 (mr7)? 0.0
    208. Default miscellaneous real variable 8 (mr8)? 0.0
    209. Default miscellaneous real variable 9 (mr9)? 0.0
    210. Default miscellaneous real variable 10 (mr10)? 0.0

    # --------------------------------------------------------------------------
    # Default Miscellaneous Real Values (METRIC)
    # --------------------------------------------------------------------------
    1601. Default miscellaneous real variable 1 (mr1) (metric)? 0.0
    1602. Default miscellaneous real variable 2 (mr2) (metric)? 0.0
    1603. Default miscellaneous real variable 3 (mr3) (metric)? 0.0
    1604. Default miscellaneous real variable 4 (mr4) (metric)? 0.0
    1605. Default miscellaneous real variable 5 (mr5) (metric)? 0.0
    1606. Default miscellaneous real variable 6 (mr6) (metric)? 0.0
    1607. Default miscellaneous real variable 7 (mr7) (metric)? 0.0
    1608. Default miscellaneous real variable 8 (mr8) (metric)? 0.0
    1609. Default miscellaneous real variable 9 (mr9) (metric)? 0.0
    1610. Default miscellaneous real variable 10 (mr10) (metric)? 0.0

    # --------------------------------------------------------------------------
    # Enable/Disable Miscellaneous Real Variable switches
    # --------------------------------------------------------------------------
    1611. Enable miscellaneous real variable 1? y
    1612. Enable miscellaneous real variable 2? y
    1613. Enable miscellaneous real variable 3? y
    1614. Enable miscellaneous real variable 4? y
    1615. Enable miscellaneous real variable 5? y
    1616. Enable miscellaneous real variable 6? y
    1617. Enable miscellaneous real variable 7? y
    1618. Enable miscellaneous real variable 8? y
    1619. Enable miscellaneous real variable 9? y
    1620. Enable miscellaneous real variable 10? y

    # --------------------------------------------------------------------------
    # Default Miscellaneous Integer Values
    # --------------------------------------------------------------------------
    301. Miscellaneous integer variable 1 (mi1)? 0
    302. Miscellaneous integer variable 2 (mi2)? 0
    303. Miscellaneous integer variable 3 (mi3)? 0
    304. Miscellaneous integer variable 4 (mi4)? 0
    305. Miscellaneous integer variable 5 (mi5)? 0
    306. Miscellaneous integer variable 6 (mi6)? 0
    307. Miscellaneous integer variable 7 (mi7)? 0
    308. Miscellaneous integer variable 8 (mi8)? 0
    309. Miscellaneous integer variable 9 (mi9)? 0
    310. Miscellaneous integer variable 10 (mi10)? 0

    # --------------------------------------------------------------------------
    # Enable/Disable Miscellaneous Integer Variable switches
    # --------------------------------------------------------------------------
    1621. Enable miscellaneous integer variable 1? y
    1622. Enable miscellaneous integer variable 2? y
    1623. Enable miscellaneous integer variable 3? y
    1624. Enable miscellaneous integer variable 4? y
    1625. Enable miscellaneous integer variable 5? y
    1626. Enable miscellaneous integer variable 6? y
    1627. Enable miscellaneous integer variable 7? y
    1628. Enable miscellaneous integer variable 8? y
    1629. Enable miscellaneous integer variable 9? y
    1630. Enable miscellaneous integer variable 10? y

    # --------------------------------------------------------------------------
    # Configuration File association parameters (default is "y")
    # --------------------------------------------------------------------------
    #400. Name of associated cfg file?
    401. Read SYSTEM COLORS section? y
    402. Read ALLOCATIONS section? y
    403. Read TOLERANCES section? y
    404. Read DATA PATHS section? y
    405. Read COMMUNICATIONS section? y
    406. Read DRAFT SETTINGS section? y
    407. Read MISCELLANEOUS section? y
    408. Read NC SETTINGS section? y
    409. Read DIALOG SCRIPTS section? y
    410. Read DESIGN SETTINGS section? y
    411. Read PLOTTER SETTINGS section? y
    412. Read ALT-KEY ASSIGNMENTS section? y
    413. Read CAD section? y
    414. Read START/EXIT section? y
    415. Read SCREEN section? y
    416. Read FILE NAMES section? y

    1500. Chook to execute from 'Misc. values' button?
    1501. Insert parameter information in the ascii NCI? n
    1502. Write operation information to binary file (.ops)? n

    1520. Display a warning when cutter compensation in control simulation finds an error? n

    # Do NOT manually change the answer for Q.1999 !
    1999. Product major version number that post supports? 9

    [CTRL_MILL|DEFAULT]
    [simple drill]
    1. "drill / counterbore G81/G82"
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    11. ""
    [peck drill]
    1. "peck drill, G83 "
    3. ""
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. "First peck increment"
    8. ""
    9. ""
    10. ""
    11. ""
    [chip break]
    1. "chip break G73"
    3. ""
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. "First peck increment"
    8. ""
    9. ""
    10. ""
    11. ""
    [tap]
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    11. ""
    [bore1]
    1. "bore #1 G85/G89"
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [bore2]
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [misc1]
    3. "Dwell "
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [misc2]
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [simple drill custom parameters]
    1. "Custom Drill Parameters 1"
    [peck drill custom parameters]
    1. "Custom Drill Parameters 2"
    [chip break drill custom parameters]
    1. "Custom Drill Parameters 3"
    [tap custom parameters]
    1. "Custom Drill Parameters 4"
    [bore1 custom parameters]
    1. "Custom Drill Parameters 5"
    [bore2 custom parameters]
    1. "Custom Drill Parameters 6"
    [misc1 custom parameters]
    1. "Custom Drill Parameters 7"
    [misc2 custom parameters]
    1. "Custom Drill Parameters 8"
    [drill cycle 9 custom parameters]
    1. "Custom Drill Parameters 9"
    [drill cycle 10 custom parameters]
    1. "Custom Drill Parameters 10"
    [drill cycle 11 custom parameters]
    1. "Custom Drill Parameters 11"
    [drill cycle 12 custom parameters]
    1. "Custom Drill Parameters 12"
    [drill cycle 13 custom parameters]
    1. "Custom Drill Parameters 13"
    [drill cycle 14 custom parameters]
    1. "Custom Drill Parameters 14"
    [drill cycle 15 custom parameters]
    1. "Custom Drill Parameters 15"
    [drill cycle 16 custom parameters]
    1. "Custom Drill Parameters 16"
    [drill cycle 17 custom parameters]
    1. "Custom Drill Parameters 17"
    [drill cycle 18 custom parameters]
    1. "Custom Drill Parameters 18"
    [drill cycle 19 custom parameters]
    1. "Custom Drill Parameters 19"
    [drill cycle 20 custom parameters]
    1. "Custom Drill Parameters 20"
    [canned text]
    1. "Stop"
    2. "Ostop"
    3. "M3"
    4. "M4"
    5. "M5"
    6. "M6"
    7. "M7"
    8. "M8"
    9. "M9"
    10. "M10"
    [CTRL_MILL|MPROTMX3]
    [simple drill]
    1. "drill / counterbore G81/G82"
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    11. ""
    [peck drill]
    1. "peck drill, G83 "
    3. ""
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. "First peck increment"
    8. ""
    9. ""
    10. ""
    11. ""
    [chip break]
    1. "chip break G73"
    3. ""
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. "First peck increment"
    8. ""
    9. ""
    10. ""
    11. ""
    [tap]
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    11. ""
    [bore1]
    1. "bore #1 G85/G89"
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [bore2]
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [misc1]
    3. "Dwell "
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [misc2]
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. ""
    8. ""
    9. ""
    10. ""
    [simple drill custom parameters]
    1. "Custom Drill Parameters 1"
    [peck drill custom parameters]
    1. "Custom Drill Parameters 2"
    [chip break drill custom parameters]
    1. "Custom Drill Parameters 3"
    [tap custom parameters]
    1. "Custom Drill Parameters 4"
    [bore1 custom parameters]
    1. "Custom Drill Parameters 5"
    [bore2 custom parameters]
    1. "Custom Drill Parameters 6"
    [misc1 custom parameters]
    1. "Custom Drill Parameters 7"
    [misc2 custom parameters]
    1. "Custom Drill Parameters 8"
    [drill cycle 9 custom parameters]
    1. "Custom Drill Parameters 9"
    [drill cycle 10 custom parameters]
    1. "Custom Drill Parameters 10"
    [drill cycle 11 custom parameters]
    1. "Custom Drill Parameters 11"
    [drill cycle 12 custom parameters]
    1. "Custom Drill Parameters 12"
    [drill cycle 13 custom parameters]
    1. "Custom Drill Parameters 13"
    [drill cycle 14 custom parameters]
    1. "Custom Drill Parameters 14"
    [drill cycle 15 custom parameters]
    1. "Custom Drill Parameters 15"
    [drill cycle 16 custom parameters]
    1. "Custom Drill Parameters 16"
    [drill cycle 17 custom parameters]
    1. "Custom Drill Parameters 17"
    [drill cycle 18 custom parameters]
    1. "Custom Drill Parameters 18"
    [drill cycle 19 custom parameters]
    1. "Custom Drill Parameters 19"
    [drill cycle 20 custom parameters]
    1. "Custom Drill Parameters 20"
    [canned text]
    1. "Stop"
    2. "Ostop"
    3. "M3"
    4. "M4"
    5. "M5"
    6. "M6"
    7. "M7"
    8. "M8"
    9. "M9"
    10. "M10"
    [CTRL_TEXT_END]

  2. #2
    Join Date
    Dec 2008
    Posts
    3108
    What do you want ?
    lines = "linearize arcs moves" = point to point = NO ARCs
    or arcs = turn it OFF ( don't check)

    Filter ON and create arcs in XY

  3. #3
    Join Date
    Aug 2008
    Posts
    121
    Quote Originally Posted by Superman View Post
    What do you want ?
    lines = "linearize arcs moves" = point to point = NO ARCs
    or arcs = turn it OFF ( don't check)

    Filter ON and create arcs in XY
    Does not matter if unchecked or not still outputs code like I attached . I need G01 no GO2 or G03.

  4. #4
    Join Date
    Dec 2008
    Posts
    3108
    Sorry, re-read ypur post

    try altering this part-- the 2 breaks all moves
    # --------------------------------------------------------------------------
    # INITIALIZE - initialize system variables and define user variables
    # --------------------------------------------------------------------------
    skipmotest$: yes$ # Skip motion test in linear
    nobrk$ : 0 # 0=break rapid moves into xy move and z move, 1=do not brk moves,
    # 2= break all rapid, linear and arc moves just as in nobrk=0.

  5. #5
    Join Date
    Aug 2008
    Posts
    121
    Quote Originally Posted by Superman View Post
    Sorry, re-read ypur post

    try altering this part-- the 2 breaks all moves
    # --------------------------------------------------------------------------
    # INITIALIZE - initialize system variables and define user variables
    # --------------------------------------------------------------------------
    skipmotest$: yes$ # Skip motion test in linear
    nobrk$ : 0 # 0=break rapid moves into xy move and z move, 1=do not brk moves,
    # 2= break all rapid, linear and arc moves just as in nobrk=0.
    Thanks I will give it a try !!

  6. #6
    Join Date
    Mar 2005
    Posts
    10

    helical threadmill

    Take a look at this line in the Initialize section:

    helix_arc$ : 0 # Support helix arc output, 0=no, 1=all planes, 2=XY plane only

    Looks like it ought to be set to either 1 or 2, not 0

    good luck,

    nick.

  7. #7
    Join Date
    Aug 2008
    Posts
    121
    Quote Originally Posted by NICK REESE View Post
    Take a look at this line in the Initialize section:

    helix_arc$ : 0 # Support helix arc output, 0=no, 1=all planes, 2=XY plane only

    Looks like it ought to be set to either 1 or 2, not 0

    good luck,

    nick.
    Thanks I will look at as well !!

  8. #8
    Join Date
    Aug 2008
    Posts
    121
    Nick and Superman I tried both of your suggestions and had no luck. Post still out puts code the same. Any more ideas ??

  9. #9
    Join Date
    Dec 2008
    Posts
    3108
    Check to see if your control definition has arcs enabled

    path pull-downs in Mcam
    -setttings
    -machine definition manager ( and OK )
    -control definition, arc, mill

    3 ticks for support arcs in XY,XZ and YZ
    helix support ON- "only in XY"

    accept as OK when backing out

    ------------------------------------
    Remember to un-check the linearize arc moves
    "I have chosen the " linearize arc moves" in the parameters box but still no luck." ======this gets rid of arcs=====makes it point to point no matter what else you set
    ------------------------------------

  10. #10
    Join Date
    Aug 2008
    Posts
    121
    Quote Originally Posted by Superman View Post
    Check to see if your control definition has arcs enabled

    path pull-downs in Mcam
    -setttings
    -machine definition manager ( and OK )
    -control definition, arc, mill

    3 ticks for support arcs in XY,XZ and YZ
    helix support ON- "only in XY"

    accept as OK when backing out

    ------------------------------------
    Remember to un-check the linearize arc moves
    "I have chosen the " linearize arc moves" in the parameters box but still no luck." ======this gets rid of arcs=====makes it point to point no matter what else you set
    ------------------------------------
    Yep it is " on - only XY " . I have tried switching the settings here but it had no affect.

Similar Threads

  1. Modifying a post processor
    By CJH in forum ArtCam Pro
    Replies: 2
    Last Post: 03-27-2009, 03:30 AM
  2. Modifying 4th axis post
    By weirdharold in forum Post Processors for MC
    Replies: 1
    Last Post: 02-16-2009, 04:53 PM
  3. Modifying a ballscrew nut
    By pstockley in forum MetalWork Discussion
    Replies: 7
    Last Post: 05-03-2006, 03:30 PM
  4. Modifying Servos
    By aus-newb in forum Centroid CNC Control Products
    Replies: 18
    Last Post: 12-20-2005, 01:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •