Results 1 to 12 of 12

Thread: Need help with Heidenhain post - no toollist and wrong feedrates in posted file

  1. #1
    Registered
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    40
    Downloads
    0
    Uploads
    0

    Need help with Heidenhain post - no toollist and wrong feedrates in posted file

    Hello

    I got a few problems with my heidenhain post. I can seem to get it to post a toollist or toolnames in the posted file.

    And another problem is that i seems to multiply my feedrates by 10 - or it removes the . from the feedrated in mastercam. ( so feedrate 700.0 becomes 7000). and i cant get mastercam to stop making the .0

    Anyone know how to change this?

    Its a Bridgeport with TNC410 control


    here is a sample program posted:
    im getting F7640 even thoug it says 764.0 in mastercam.

    10 BEGIN PGM 10655711 MM
    20 TOOL CALL 4 Z S2547
    30 L R F M06
    40 L R F MAX M
    50 L R F MAX M03
    60 L R F MAX M
    70 L Z+25 R F MAX M03
    80 L X-47.5 Y+39.998 R F MAX M03
    90 L Z+10 R F MAX M8
    100 L Z+0 R F7640 M
    110 L X+35 R F M
    120 L Y+26.666 R F M
    130 L X-35 R F M
    140 L Y+13.334 R F M
    150 L X+35 R F M
    160 L Y+.002 R F M
    170 L X-47.5 R F M
    180 L Z+25 R F MAX M
    190 L R F M25
    200 END PGM 10655711 MM
    here is the post

    [POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V14.00 E1 P0 T1335330324 M14.00 I0
    # Post Name : MPHEID
    # Product : MILL
    # Machine Name : HEIDENHAIN
    # Control Name : HEIDENHAIN
    # Description : GENERIC HEIDENHAIN 3 AXIS POST
    # Associated Post : NONE
    # Mill/Turn : NO
    # 4-axis/Axis subs. : NO
    # 5-axis : NO
    # Subprograms : NO
    # Executable : MP 9.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 - Initial post update for V8.1, grt
    # CNC 01/09/02 - Initial post update for V9.0, rjm
    #
    # ---------------
    #| FEATURES: |
    # ------------------------------------------------------------------------
    # Users Note:
    #
    # Following Misc_Reals & Misc_Integers are used:
    #
    # Options / Usage
    #
    #
    #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
    #
    #
    # --------------------------------------------------------------------------
    # Format Statements - i=incr, n=nonmodal, l=leave ldg, t=leave trlg, d=delta
    # --------------------------------------------------------------------------
    fs 1 +1^4
    fs 2 +1^4n
    fs 3 3 0
    fs 4 2 0n
    fs 5 4 1t
    fs 6 2 0ln
    fs 7 3 0ln
    fs 8 4 0n
    fs 9 1.4
    fs 10 1.4ln
    fs 11 +1.3ln
    fs 12 4 0ln

    # --------------------------------------------------------------------------
    # Format Assignments
    # --------------------------------------------------------------------------
    # Axis output formats - Linear
    # --------------------------------------------------------------------------
    fmt X 1 x$ # X Axis Position
    fmt Y 1 y$ # Y Axis Position
    fmt Z 1 z$ # Z Axis Position
    fmt X 1 xr$ # X Rapid Position
    fmt Y 1 yr$ # Y Rapid Position
    fmt Z 1 zr$ # Z Rapid Position
    fmt X 1 xh$ # X Home Position
    fmt Y 1 yh$ # Y Home Position
    fmt Z 1 zh$ # Z Home Position
    # --------------------------------------------------------------------------
    # Axis output formats - Circular
    # --------------------------------------------------------------------------
    fmt X 1 i$ # Arc center description in X
    fmt Y 1 j$ # Arc center description in Y
    fmt Z 1 k$ # Arc center description in Z
    fmt X 10 xc$ # Arc Center X
    fmt Y 10 yc$ # Arc Center Y
    fmt R 9 arcrad$ # Arc Radius
    fmt 1 sweep$ # Angle between start and end of arc
    # --------------------------------------------------------------------------
    # Program & Sequence number format
    # --------------------------------------------------------------------------
    fmt 8 progno$ # Program number
    fmt 4 seqno$ # Starting Sequence Number
    fmt 4 seqinc$ # Sequence Number Increment
    fmt 4 n$ # Main Program Sequence Numbers
    # --------------------------------------------------------------------------
    # Tool format
    # --------------------------------------------------------------------------
    fmt 4 t$ # Tool Number
    fmt R 2 tldia$ # Tool Diameter
    fmt R 2 tlrad$ # Tool Radius
    fmt 9 trflat$ # Tool Flat Rad.
    fmt 9 tcr$ # Tool Corner Rad
    fmt D 4 tloffno$ # Diameter Offset Number
    fmt L 2 tlngno$ # Length Offset Number
    fmt 1 tlplnno$ # Tool Plane Number.
    # --------------------------------------------------------------------------
    # Spindle Speeds & Feedrate output formats
    # --------------------------------------------------------------------------
    fmt S 4 ss$ # Spindle Speed
    fmt 4 spprev # Hold previous selspin value for spin change
    fmt 4 cc_sav # Hold previous cc_pos value for comp change
    fmt 8 selspin # Spindle Dir
    fmt 5 fr$ # Feedrate
    fmt 5 fr2 # Feedrate 2
    fmt 5 frrapid # Rapid
    fmt 4 dirchg$ # Feerate Accel/Decel Flag
    # --------------------------------------------------------------------------
    # Miscellaneous output formats
    # --------------------------------------------------------------------------
    fmt 4 gcode$ # Format linear G-code selector for modality only
    fmt 4 coolant$ # Format coolant M-code selector for modality only
    fmt M 6 cantext$ # Canned text output variable
    # --------------------------------------------------------------------------
    # Drill variable formats
    # --------------------------------------------------------------------------
    fmt 1 drillcyc$ # drillcyc = 0..7
    fmt 1 drillcur$ # Drill with current cycle flag (=1 if true)
    fmt G 4 drillref # Initial / Reference Toggle (G98/G99)
    fmt 10 dwell$ # Dwell
    fmt Z 10 initht$ # Initial Height
    fmt Z 10 refht$ # Reference Height
    fmt 10 depth$ # Depth
    fmt 10 peck1$ # First peck increment (negative)
    fmt 10 peck2$ # Second or last peck (negative)
    fmt 10 setup # Safety Distance (-initht)
    fmt 10 peckg # Feed Depth (peck1)
    fmt 2 peckclr$ # Safety distance
    fmt 1 retr$ # Retract height
    fmt F 5 frplunge$ # Plunge feedrate in drill cycles

    # --------------------------------------------------------------------------
    # Formulas - Use ':' instead of '=' to initialize variables
    # --------------------------------------------------------------------------
    m_one : -1 # Define Constant
    zero : 0 # Define Constant
    one : 1 # Define Constant
    two : 2 # Define Constant
    three : 3 # Define Constant
    c9k : 9999 # Define Constant
    tooltable$ : yes$ # Output tool table?
    spaces$ : yes$ # Number of spaces to add between fields
    nobrk$ : no$ # omit breakup of x/y & z rapid moves
    omitcrlf$ : no$ # Omit CR/LF- Used for floppy output of - .NC files
    omitrefht : no$ # Don't use reference height on first non-canned Z move
    seqmax$ : 9999 # Max. sequence number
    omitseq$ : no$ # Omit sequence numbers?
    frrapid : 800 # Rapid feedrate? 800.0
    frmax : 800 # Maximum feedrate? 800.0
    ssmax : 6000 # Maximum spindle speed? 6000
    breakarcs$ : 0 # Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
    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
    ncldr$ : 20 # Number of leader characters
    ldrcode$ : 65 # Leader character dec. equiv.
    drlgsel : m_one # Drill Select Initialize
    spprev : m_one # Initial value for last spindle state

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


    # --------------------------------------------------------------------------
    # USE CANNED CYCLES?
    # --------------------------------------------------------------------------
    usecandrill$ : yes$ # Use canned cycle for Drill
    usecanpeck$ : yes$ # Use canned cycle for Peck
    usecanchip$ : yes$ # Use canned cycle for Chip Break
    usecantap$ : yes$ # Use canned cycle for Tap
    usecanbore1$ : yes$ # Use canned cycle for Bore1
    usecanbore2$ : yes$ # Use canned cycle for Bore2
    usecanmisc1$ : yes$ # Use canned cycle for Misc1
    usecanmisc2$ : yes$ # Use canned cycle for Misc2

    # --------------------------------------------------------------------------
    # DEBUG - Switches for debugging purposes
    # --------------------------------------------------------------------------
    fastmode$ : yes$ # Enable Quick Post Processing, (set to no for debug)
    bug1$ : 2 # 0=No display, 1=Generic list box, 2=Editor
    bug2$ : 30 # Add postline label to each line at column 'bug2' at ? Columns
    bug3$ : 0 # Add whatline to each line? yes/no
    bug4$ : 1 # Add -.nci line no. to each line? yes/no
    whatno$ : yes$ # Ignore whatline branches to plin1 etc.?
    linktolvar$ : 1 #Associate X tolerance variables to V9- variable?
    linkplnvar$ : 1 #Associate X plane specific variables to V9- variable?
    cant_tlchng$ : 1 #Ignore cantext entry on move with tlchng_aft?
    newglobal$ : 0 #Enable error checking for global variables?

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

    tlchng_aft$ : no$ #

    # --------------------------------------------------------------------------
    # Strings - String labels must start with 's' - they are not pre-assigned
    # --------------------------------------------------------------------------
    sdef : "CYCL DEF" #String Constants
    specking : "1.0 PECKING"
    stapping : "2.0 TAPPING"
    ssetup : "SET UP "
    sdepth : "DEPTH "
    speckg : "PECKG "
    sdwell : "DWELL "
    stoolcall : "TOOL CALL "
    sbeginpgm : "BEGIN PGM "
    sendpgm : "END PGM "
    sinch : "MM"
    smax : "MAX"
    strc : "C"
    strcc : "CC"
    strf : "F"
    strl : "L"
    strr : "R"
    strr0 : "R0"
    sm99 : "M99"
    strz : "Z"

    # --------------------------------------------------------------------------

    sg00 : "L" # Linear movement at rapid feedrate G code
    sg01 : "L" # Linear movement at feedrate G code
    sg02 : "DR-" # Circular interpolation CW G code
    sg03 : "DR+" # Circular interpolation CCW G code
    sgcode : "" # Target string for linear/circular motion G code

    fstrsel sg00 gcode$ sgcode 4 -1# Select motion G code string

    # --------------------------------------------------------------------------

    sm09 : "M9" # Coolant off
    sm08f : "M8" # Coolant on
    sm08m : "M8" # Coolant on
    sm08t : "M8" # Coolant on
    smcool : "" # Coolant code target string

    fstrsel sm09 coolant$ smcool 4 -1# Boolean handles modality
    # --------------------------------------------------------------------------

    sg40 : "R0" # cancel cutter compensation
    sg41 : "RL" # cutter compensation left
    sg42 : "RR" # cutter compensation right
    sccomp : "" # Select cutter compensation

    fstrsel sg40 cc_pos$ sccomp 3 -1

    # --------------------------------------------------------------------------
    # Misc. Postline labels
    # --------------------------------------------------------------------------
    pinit # Initialize Vars
    prv_fr$ = c9k
    prv_fr2 = c9k
    prv_frplunge$ = c9k
    prv_coolant$ = zero
    if opcode$ = three, prv_z$ = initht$
    progno$ = prv_progno$

    pcomment$ # Manual Entry - COMMENTS (on a block by itself) 1005,1006
    n$, strl, ";", scomm$,e$

    pcc # cutter comp
    if cc_sav <> cc_pos$, *sccomp
    else, strr
    cc_sav = cc_pos$

    pspdl # spindle and coolant state
    selspin = fsg2(coolant$) * three + fsg3(ss$)
    if spprev <> selspin, "M03" # M03 = spindle on, coolant on
    if spprev = selspin, pchk_cool
    spprev = selspin

    pchk_cool # Output coolant as needed
    if coolant$ <> prv_coolant$, smcool
    else, strm

    pfr # Feedrate
    if fr$ >= zero, fr2 = fr$
    if gcode$ = zero, fr2 = zero
    if fr2 > zero, strf, fr2
    if fr2 = zero, strf, smax

    psg00 # Output "G00" via String Select Function to maintain modality
    gcode$ = zero
    *sgcode

    # ------------------------------------------------------------------------
    # Postline - pre-assigned
    # ------------------------------------------------------------------------
    # Start / End Tool
    # --------------------------------------------------------------------------
    pheader$ # File header
    n$, sbeginpgm, sprogname$, sinch,e$

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

    psof$ # Start of file for non-zero tool number 1001
    pcan
    n$, stoolcall, t$, strz, *ss$,e$
    n$, strl, strr, strf, "M06",e$
    n$, strl, pcc, strf, smax, strm,e$
    pcan1, n$, strl, pcc, strf, smax, pspdl, strcantext, e$
    if opcode$ <> three, n$, strl, pcc, strf, smax, strm,e$
    pcan2
    pinit

    ptlchg0$ # Null tool change 1000
    if prv_ss$ <> ss$, n$, stoolcall, t$, strz, *ss$,e$
    pcan

    ptlchg$ # Tool change 1002
    pcan
    n$, stoolcall, t$, strz, *ss$,e$
    n$, strl, strr, strf, "M06",e$
    pcan1, n$, strl, pcc, strf, smax, pspdl, strcantext, e$
    if opcode$ <> three, n$, strl, pcc, strf, smax, "M03", strm,e$
    pcan2
    pinit

    peof0$ # End of file for tool zero 1003
    peof$

    peof$ # End of file for non-zero tool 1003
    n$, strl, strr, strf, "M25",e$
    n$, sendpgm, sprogname$, sinch,e$
    17,e$

    # --------------------------------------------------------------------------
    # Motion Output
    # --------------------------------------------------------------------------
    prapid$ # Linear line movement - at rapid feedrate 0
    pcan
    pcan1, n$, sgcode, x$, y$, z$, pcc, pfr, pspdl, strcantext, e$
    pcan2

    pzrapid$ # Linear movement in Z axis only - at rapid feedrate 0
    n$, sgcode, z$, pcc, pfr, pspdl,e$

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

    pz$ # Linear movement in Z axis only - at feedrate 1
    n$, sgcode, z$, pcc, pfr, pspdl,e$

    pcir$ # Circular interpolation 2
    pcan
    n$, strcc, xc$, yc$, e$
    pcan1, n$, strc, x$, y$, z$, *sgcode, pcc, pfr, pspdl, strcantext, e$
    pcan2

    # --------------------------------------------------------------------------
    # Drilling Section
    # --------------------------------------------------------------------------
    pdrill_calc # Drilling Calculations
    setup = abs(refht$) * m_one
    peckg = abs(peck1$) * m_one

    pdrill$ # Canned Drill Cycle
    pdrill_calc
    n$, sdef, specking,e$
    n$, sdef, "1.1", ssetup, setup,e$
    n$, sdef, "1.2", sdepth, depth$,e$
    n$, sdef, "1.3", speckg, peckg,e$
    n$, sdef, "1.4", sdwell, dwell$,e$
    n$, sdef, "1.5", strf, *fr$,e$
    n$, strl, *initht$, strr, strf, smax, strm,e$
    n$, strl, *refht$, strr, strf, smax, smcool,e$
    n$, strl, *refht$, strr, strf, smax, sm99,e$

    ppeck$ # Canned Peck Drill Cycle
    pdrill$

    pchpbrk$ # Canned Chip Break Cycle
    pdrill$

    ptap$ # Canned Tap Cycle
    pdrill_calc
    n$, sdef, stapping,e$
    n$, sdef, "2.1", ssetup, setup,e$
    n$, sdef, "2.2", sdepth, depth$,e$
    n$, sdef, "2.3", sdwell, dwell$,e$
    n$, sdef, "2.4", strf, *fr$,e$
    n$, strl, x$, y$, strr0, strf, smax, "M03",e$
    n$, strl, *initht$, strr, strf, smax, strm,e$
    n$, strl, *refht$, strr, strf, smax, smcool,e$
    n$, strl, *refht$, strr, strf, smax, sm99,e$

    pbore1$ # Canned Bore #1 Cycle
    pdrill$

    pbore2$ # Canned Bore #2 Cycle
    pdrill$

    pmisc1$ # Canned Misc #1 Cycle
    pdrill$

    pmisc2$ # Canned Misc #2 Cycle
    pdrill$

    pdrill_2$ # Canned Drill Cycle
    n$, strl, x$, y$, strr0, strf, smax, sm99,e$

    ppeck_2$ # Canned Peck Drill Cycle
    pdrill_2$

    pchpbrk_2$ # Canned Chip Break Cycle
    pdrill_2$

    ptap_2$ # Canned Tap Cycle
    pdrill_2$

    pbore1_2$ # Canned Bore #1 Cycle
    pdrill_2$

    pbore2_2$ # Canned Bore #2 Cycle
    pdrill_2$

    pmisc1_2$ # Canned Misc #1 Cycle
    pdrill_2$

    pmisc2_2$ # Canned Misc #2 Cycle
    pdrill_2$

    pcanceldc$ # Cancel canned drill cycle

    pcancelcc$ # Cancel cutter comp.

    # --------------------------------------------------------------------------
    # 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
    ]

    pwrtt$ # Tool table line format

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

    80. Communications port number for receive and transmit (1 or 2) ? 1
    81. Baud rate (110, 150, 300, 600, 1200, 2400, 4800, 9600)? 9600
    82. Parity (E/O/N)? E
    83. Data bits (7 or 8)? 7
    84. Stop bits (1 or 2)? 1
    85. Strip line feeds? N
    86. Delay after end of line (seconds)? 0.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? 6000
    107. Average time for tool change (seconds)? 2.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? y
    166. Enable Construction Plane button? y
    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. Default miscellaneous integer variable 1 (mi1)? 0
    302. Default miscellaneous integer variable 2 (mi2)? 0
    303. Default miscellaneous integer variable 3 (mi3)? 0
    304. Default miscellaneous integer variable 4 (mi4)? 0
    305. Default miscellaneous integer variable 5 (mi5)? 0
    306. Default miscellaneous integer variable 6 (mi6)? 0
    307. Default miscellaneous integer variable 7 (mi7)? 0
    308. Default miscellaneous integer variable 8 (mi8)? 0
    309. Default miscellaneous integer variable 9 (mi9)? 0
    310. Default 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? y

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

    [CTRL_TEXT_END]


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Have you edited post processors before?
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    40
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by txcncman View Post
    Have you edited post processors before?
    Yes we've edited out fanuc posts abit to fit our machines - so we got abit experience doing it.


  4. #4
    Registered
    Join Date
    Sep 2008
    Location
    Mexico
    Posts
    34
    Downloads
    0
    Uploads
    0
    Change this section of your post to the following:


    # --------------------------------------------------------------------------
    # Format Statements - i=incr, n=nonmodal, l=leave ldg, t=leave trlg, d=delta
    # --------------------------------------------------------------------------
    fs 1 +1^4
    fs 2 +1^4n
    fs 3 3 0
    fs 4 2 0n
    fs 5 4.1t
    fs 6 2 0ln
    fs 7 3 0ln
    fs 8 4 0n
    fs 9 1.4
    fs 10 1.4ln
    fs 11 +1.3ln
    fs 12 4 0ln

    That should take care of your Feedrate issue. as far as tool names not being posted, I don't see anywhere on the post a string to store/write the tool comments.

    Upload a copy of your post and I'll try to see what I can do.


  • #5
    Registered holbieone's Avatar
    Join Date
    Feb 2007
    Location
    usa
    Posts
    633
    Downloads
    1
    Uploads
    0
    on my 426 control

    F1000 = a feed rate of 100


    this looks correct

    10 BEGIN PGM 10655711 MM
    20 TOOL CALL 4 Z S2547
    30 L R F M06


  • #6
    Registered
    Join Date
    Sep 2008
    Location
    Mexico
    Posts
    34
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by holbieone View Post
    on my 426 control

    F1000 = a feed rate of 100


    this looks correct

    10 BEGIN PGM 10655711 MM
    20 TOOL CALL 4 Z S2547
    30 L R F M06
    Given I've never worked with this controller and the quoted post, are you sure your machine won't read the feed output as MC current output (F7640)??


  • #7
    Registered
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    40
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by MMTZ View Post
    Given I've never worked with this controller and the quoted post, are you sure your machine won't read the feed output as MC current output (F7640)??
    Yeah ive always used it when we did some manual programming on the machine.


  • #8
    Registered
    Join Date
    Jan 2010
    Location
    Denmark
    Posts
    40
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by MMTZ View Post
    Change this section of your post to the following:


    # --------------------------------------------------------------------------
    # Format Statements - i=incr, n=nonmodal, l=leave ldg, t=leave trlg, d=delta
    # --------------------------------------------------------------------------
    fs 1 +1^4
    fs 2 +1^4n
    fs 3 3 0
    fs 4 2 0n
    fs 5 4.1t
    fs 6 2 0ln
    fs 7 3 0ln
    fs 8 4 0n
    fs 9 1.4
    fs 10 1.4ln
    fs 11 +1.3ln
    fs 12 4 0ln

    That should take care of your Feedrate issue. as far as tool names not being posted, I don't see anywhere on the post a string to store/write the tool comments.

    Upload a copy of your post and I'll try to see what I can do.

    It worked..

    Im attatching the post here.
    Attached Files Attached Files


  • #9
    Registered
    Join Date
    Sep 2008
    Location
    Mexico
    Posts
    34
    Downloads
    0
    Uploads
    0
    Looks like you're going to have to upload a copy of your machine and control defs so I can test it. Do you know how to use the Zip2go utility??

    If you don't go to your Help menu and click on it, is pretty easy to use.


  • #10
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Does the control support comments? There are none shown in your sample file.
    http://www.kirkcon.com/


  • #11
    Registered
    Join Date
    Sep 2008
    Location
    Mexico
    Posts
    34
    Downloads
    0
    Uploads
    0
    Good point, although he did mention that was the wrong output he's getting from MC


  • #12
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    As you have already noted, to really help, one would need the machine definition file, the control definition file, and the current post processor. In addition, what is needed it a sample of the current code output and an edited version of the code output as it is desired to be. Even a common sample part to work with on a collaboration would help.
    http://www.kirkcon.com/


  • Similar Threads

    1. Posted to wrong place, disreguard
      By Harry_Y in forum General CAD Discussion
      Replies: 1
      Last Post: 10-05-2011, 11:59 AM
    2. Need Help!- Trying to virtual Gibbs file posted to fanuc 6m
      By Scottiedog in forum GibbsCAM
      Replies: 2
      Last Post: 01-27-2011, 07:25 AM
    3. Can someone look at this file, and tell me whats wrong?
      By blakemachine in forum Mastercam
      Replies: 3
      Last Post: 07-30-2009, 12:35 AM
    4. newbie Heidenhain tnc feedrates
      By bigtoad170 in forum Bridgeport and Hardinge Mills
      Replies: 2
      Last Post: 04-25-2008, 09:18 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.