Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

AlbertZini

Verified Members
  • Posts

    179
  • Joined

  • Last visited

Posts posted by AlbertZini

  1. I wrote ptoolffsets because this postblock will fill up your buffer.

    Then in your psof$, drop in your ptooloff postblock call. (to read your buffer)

    Should work.

    Yes it works great ! :thumbsup:

    I am interested why 255 and not 80?

    And I'm interested in how he writes and reads as buffer

  2. I made a mistake here... I guess your tldia$ value is not formatted (fmt....) so its a numeric value and you have to convert it to string

    So: string2 = "#[ 2400 + " + no2str(tldia$) + "] = 0"

    I only see it :help:

    (==== TOOL LIST ====)

    (T271 = 75 FACE MILL)

    (==== OFFSET ====)

    (T219 = 10. FLAT ENDMILL)

    (==== OFFSET ====)

    (T213 = 4. FLAT ENDMILL)

    (==== OFFSET ====)

     

     

    and i write

     

     

    pwrtt$ #Pre-read NCI file

    if tool_info > 1 & t$ > 0 & gcode$ <> 1003,

    [

    ptooltable

    ptooloff <---------------

    ]

  3. What am I doing wrong?

    And now where I need to write buffer (ptooloff)

    after tooltable ?

     

    toolffsets

    string2 = "#[ 2400 + ", tldia$,"] = 0", e$

    string2 = wbuf (2, wc2)

     

     

    ptooloff

    pbld, "(==== OFFSET ====)", e$

    size2 = rbuf (2, 0)

    rc2 = 1

    while rc2 <= size2,

    [

    string2 = rbuf (2, rc2)

    pbld, *string2, e$

    ]

  4. Please Help !

    If use a milling cycle G112, at the end of the program I need to modify

     

     

    G3 X3320. C70.5 I-70.5

    X3179. C0. J-70.5

    X3320. C-70.5 I70.5

    X3461. C0. J70.5

    G113 ->>>----------------|

    G1 G40 X3451 | move in

    G0 Z8 | this line

    <<< ------------------------|

    M9

    G28 U0. V0. W0. H0. M55

    T1200

    M30

    %

  5. There is no easy way to evaluate the size of the NC file inside the post. The way that I would adress this issue is with a fq statement. This will popup a question for the programmer when he runs the post, asking if N numbers should be output or not.

     

    My question for you is: Why only on files larger than 300k? It hurts nothing for them to be there on all files, even if you don't use them in the smaller files.

    More than 300 kb I wrote for example, in fanuc 0mc memory of 256 kb and so we have to work with flash cards, to search for the tool in the program have to write N there is a search Nsrh

    With first question - I understand, but how to be with second question - shutdown G94

  6. 1.Is it possible to add to the post, if the size of the NC file more than 300kb ,writes the serial number in the tool change ? I need it to search a tool when working with flash cards

    2. How to disable the G94 in MPMASTER&

     

     

    N1 T271 M06 (75 FACE MILL)

    T219(MAX Z5.| MIN Z0.)

    G00 G17 G90 G54 X-95.339 Y.093 S2000 M03

    G43 H271 Z5.

    M08

    G94 G01 Z0. F1000.

    X93.261

    G00 Z5.

    M09

    M05

    G91 G28 Z0.

    M01

    N2 T219 M06 (10. FLAT ENDMILL)

    T213(MAX Z5.| MIN Z-6.2)

    G00 G17 G90 G54 X-10.539 Y54.093 S6500 M03

    G43 H219 Z5.

    ......

     

     

    if smaller 300kb

     

     

    T271 M06 (75 FACE MILL)

    T219(MAX Z5.| MIN Z0.)

    G00 G17 G90 G54 X-95.339 Y.093 S2000 M03

    G43 H271 Z5.

    M08

    G94 G01 Z0. F1000.

    X93.261

    G00 Z5.

    M09

    M05

    G91 G28 Z0.

    M01

    T219 M06 (10. FLAT ENDMILL)

    T213(MAX Z5.| MIN Z-6.2)

    G00 G17 G90 G54 X-10.539 Y54.093 S6500 M03

    G43 H219 Z5.

    M08

    G94 G01 Z-3.1 F1200.

     

    ........

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...