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:

ICT_Outkast

Verified Members
  • Posts

    45
  • Joined

  • Last visited

Posts posted by ICT_Outkast

  1. I have been digging through the forums and gotten my G10 lines to output correctly at the beginning of the programs on my Makino post. Now I am having trouble getting it to output a list of tool planes used. Someone set up our Okuma post to do similar to what I want, but I can't figure out what they have done. I can get it to output the plane name, but it only outputs the first one at every G10. Here is what I am getting....The L20 P2 should be the Right plane. How do I get the buffer to read and right the correct string? 

     

    My current code in the post for that area......

     

    # Ouptut the G10 list in order
           #------------------------------------------------------------------
           #--------------- Initialize variables
           size9 = rbuf(9,0)
           rc9 = 1
           wc9 = 1
           idx9 = 0
           b9_tox = 0
           b9_toy = 0
           b9_toz = 0
           b9_workofs = 0
    	   b9_stoolplname = 0
    
           while idx9 <= b9_test,
            [
            while rc9 <= size9,
             [
             b9_tox = rbuf(9,rc9)
             if b9_workofs = idx9,
              [
               p_wcs = b9_workofs + 1
               if use_g10 = 1,
                [
    			b9_toy = b9_toy - 33.4205          # Added for machine shift JWN
    			b9_toz = b9_toz - 37.4104          # Added for machine shift JWN
    			p_wcs = p_wcs - 6                  # Added to correct output of P word JWN
    			n$, "G10", "L20", *p_wcs, *b9_tox, *b9_toy, *b9_toz, e$
                n$, *scomm_str, stoolplname,*scomm_end, e$
    			#n$, "(-)", e$
                ]
               if use_g10 = 2,
                [
    			b9_toy = b9_toy - 33.4205          # Added for machine shift JWN
    			b9_toz = b9_toz - 37.4104          # Added for machine shift JWN
    			p_wcs = p_wcs - 6                  # Added to correct output of P word JWN
    			n$, "G10", "L20", *p_wcs, b9_tox, *b9_toy, *b9_toz, *srot_label, no_spc$, "0", e$
    			n$, *scomm_str, stoolplname, scomm_end, e$
    			#n$, "(-)", e$
                ]
              ]
             ]
            idx9 = idx9 + 1
            rc9 = 1
            ]
    		

    And the output I am getting....

     

    %
    O0000 (T)
    (MCX FILE  - C:\USERS\E0464088\DOCUMENTS\BILLYTHREADMILL.MCAM)
    (PROGRAM   - T.NC)
    (DATE      - JUN-30-2020)
    (TIME      - 9:46 AM)
    (MPMASTER GENERIC 3/4-AXIS HORIZONTAL)
    (MACHINE GROUP-1)
    ( **************************** )
    ( TOOL LIST )
    (T1   -  THREAD MILL - 0.745 - "R0.0000)
    (T2   -  THREAD MILL - 0.25  - "R0.0000)
    N100 G00 G17 G20 G40 G80 G90
    N110 (------------- WORK OFFSETS ------------)
    N120 G10 L20 P1 Y-33.4205 Z-37.4104 B0
    N130 ( FRONT )
    N140 G10 L20 P2 Y-33.4205 Z-37.4104 B0
    N150 ( FRONT )
    N160 (------------- WORK OFFSETS ------------)
    N170 G91 G28 Z0.
    N180 (MASTERCAM OPERATION NUMBER : 1 )
    N190 (TOOLPLANE NAME - FRONT)
    N200 (COMPENSATION TYPE - WEAR COMP)
    N210 T1 M06 ( THREAD MILL - 0.745)

     

  2. I am working on a MPMaster post to output G10s on a horizontal. I have it so it will output the first work offset, but will not post the remaining rotations. I have tried, most everything I can find in the forums, but am having no luck. The buffering is over my head. I am wondering if anyone has a copy of the G10 posts that were on the old ftp site. I cannot access that anymore. Might be my firewall at work, or it's just gone. Thanks in advance.

  3. I have this problem also. Have tried everything. I have to exit and restart MC. It will chain correctly once I do this. Real pain in the @ss. We engrave all of our fixtures, so it's a daily routine. Although it only happens on my PC. The other programmers are not having that problem.

  4. I'm finding that the setup sheets for multi axis lathes, that come with MC, pretty much suck. What are you guys using for setup sheets? I would like something that will output the lathe AND milling tools together. Using X3 MU1 btw. Thanks in advance.

     

    Jerry

    banghead.gif

  5. Already having trouble with using solids as material in verify. If I click the X to exit verify, I get an error about art. Also leaves a wierd blank image on the screen that I can't get rid of. Would like to see if anyone else can duplicate this, as I had some strange things going on before with tool wireframe staying on the screen after backplotting in X3.

  6. This is the second time this has happened. I ran the createboundry chook. Selected the entire model. When done creating boundry,I have a set of ghost geometry as if the solid were unshaded and highlighted, or at least the wireframe in white. I can't get rid of it. I've turned off ALL layers and it still shows on the screen. Can't select it, can't blank it, can't hide it. It's just there. The first time was when saving geometry from a tool path. The cutter decided to hang out with me for the remainder of the job. Odd thing that time tho, I eventually was able to select it as geometry and delete it. Doesn't make sense, I know.

     

    Not impressed with all the bugs in X3 so far, but there is no turning back. I really like MasterCam, but this release is a mess.

  7. I am getting the solids regen error when I save, or try to save, a file I am working on. I don't show any solids to be dirty in my solid tree. I have searched a little, but have not found any real answers to the problem. I have a few days in this project, and don't want to lose that time. Anyone have any idea how to fix this? Again, I'm running X3. I don't think, with all the bugs, this was ready for release. banghead.gif

     

    Respects,

     

    Jerry

  8. Have noticed several graphics issues with X3. Part I am working now has a wireframe tool, left behind from a backplot, that I can't get rid of. Also have had the auto highlight issue you just described. Sometimes it locks tighter than xxxx hatband, and I can't do anything. Usually, if I turn shading on and off, it clears up that, and the highlight problem. Not always tho.

     

    Respects,

     

    Jerry

  9. Mine is as follows...

     

    pwrtt #Buffer toolchange information, tooltable = 3 calls on 1003

    if gcode = 1001, psetup

    pcut_cctyp

    if opcode=104 | opcode=105 | opcode=three | opcode=16, cc_pos = zero

    if gcode <> 1001, plast_recd

    pcur_recd

    if gcode <> 1003, cc_pos = zero

    !opcode, !tool_op

    if gcode = 1003,

    [

    size1 = rbuf (one, zero)

    rc1 = one

    if rc1 < size1, preadcur_nxt

    if cc_1013 = zero, cc_pos = zero

    ]

     

     

    if t > 0, ptoolcomment

     

    I tried adding what you posted and got an error.

  10. I am having a problem with the tool list in the NC file created by v9 and x. I am sure it is something simple that I am overlooking in the post. Can someone tell me what to look for? When I post the program the tool list is fine, up to the last tool. It outputs the last tool twice, then goes on. It is looking like this:

     

    %

    O6669

    (PROGRAM NAME - 6669 )

    ( POST DATE: 31-08-07 )

    ( TIME: - 11:35 )

    ( = )

    ( PART NUMBER - 114-810048-3 )

    ( MACHINE - SKT250SY )

    ( CNC OPERATION - DRILL AND SLOT )

    ( = )

    ( STOCK SIZE - PREVIOUSLY MACHINED PART )

    ( FIXTURE - CHUCK )

    ( PROGRAMMER - JWN )

    ( PROGRAM REVISION - "NEW" )

    ( = )

    ( G54 )

    ( -Z- ZERO - FRONT EDGE OF PART )

    ( = )

    ( C-AXIS CROSS DRILL )

    (TOOL - 1 OFFSET - 1)

    (#3 CENTERDRILL)

    (TOOL - 2 OFFSET - 2)

    ( 1/4 DRILL)

    (TOOL - 3 OFFSET - 3)

    (6.0 DIA X .281 WIDE VALENITE WHEEL CUTTER)

    (TOOL - 3 OFFSET - 3)

    (6.0 DIA X .281 WIDE VALENITE WHEEL CUTTER)

    (TOOL - 1 OFFSET - 1)

    (#3 CENTERDRILL)

    G0 T0101

    G19

    M43

     

    Thanks in advance,

     

    Jerry

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...