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:

Werktuigbouwer

Verified Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Werktuigbouwer

  1. In the past we had an employee which had also rashes due to the coolant. In his case i believe it was chrome.

    First i would do an allergy test and with those results go to you're coolant supplier. Because just changing does not have to help you.

    • Like 1
  2. In the mastercam file when mirroring in also creates a new plane which is rotated around the Z-axis. This gives the mirrored values of the X and Y axis.

    The only way I can come up with is:

    1) Mirror operation around Y0 of operation

    2) Ghost this operation before posting

    3) Translate the mirrored operation the distance between the fixed faces in your example 2.69

    4) Translate operation and last translate for G56 and G57

    See also attached solution

    Output code:

    %
    O0001(A-22863-2)
    (DATE=DD-MM-YY - 29-06-23 TIME=HH:MM - 21:23)
    (MCAM FILE - C:\USERS\JHM\DESKTOP\DOUBLE_VISE_SAMPLE.MCAM)
    (NC FILE - C:\USERS\JHM\DOCUMENTS\MY MASTERCAM 2022\MASTERCAM\MILL\NC\A-22863-2.NC)
    (MATERIAL - STEEL INCH - 1010 - 200 BHN)
    ( T1 | 3/4 X 90 CARBIDE SPOT DRILL | H1 )
    G20
    G0 G17 G40 G49 G80 G90
    ( SPOT DRILL )
    T1 M6
    G0 G90 G54 X.625 Y-.625 A0. S1300 M3
    G43 H1 Z1.
    Z.1
    G99 G81 Z-.265 R.1 F20.
    X5.125
    G80
    Z1.
    ( TRANSLATE FIXED DISTANCE OF JAWS )
    ( SPOT DRILL )
    ( MIRROR COöRDINATES )
    G55 X.625 Y.625 Z1. A0.
    Z.1
    G99 G81 Z-.265 R.1 F20.
    X5.125
    G80
    Z1.
    ( TRANSLATE FOR G56 AND G57 )
    ( SPOT DRILL )
    G56 X.625 Y-.625 Z1. A0.
    Z.1
    G99 G81 Z-.265 R.1 F20.
    X5.125
    G80
    Z1.
    ( SPOT DRILL )
    ( MIRROR COöRDINATES )
    ( TRANSLATE FIXED DISTANCE OF JAWS )
    G57 X.625 Y.625 Z1. A0.
    Z.1
    G99 G81 Z-.265 R.1 F20.
    X5.125
    G80
    Z1.
    M5
    G91 G28 Z0.
    G28 X0. Y0. A0.
    M30
    %

     

    double_vise_sample.mcam

  3. Try on you're own risk:

          if return_mode = one,
            [
            pbld, n$, [if gcode$, sgfeed], sgabsinc, sgcode, *sg28ref, "Z0.", [if gcode$, feed], scoolant, e$
            if nextop$ = 1003 | tlchg_home, pbld, n$, *sg28ref, "X0.", "Y0.", protretinc, e$
            else, pbld, n$, protretinc, e$
            ]
          else,
            [
            pbld, n$, sg00, sg53, *g53_return_z, scoolant, e$
    		if mi10$ = 0, 
    		  [
    		  pbld, n$, sg53, *g53_return_x, *g53_return_y, "(Tool change Location)", e$
    		  if nextop$ = 1003 | tlchg_home, pbld, n$, sg53, protretinc, e$
    		  ]
    		else, pbld, n$, "G53 Y0. X-24. (Tool Check at Door)" , e$ 
    		]

     

    • Like 1
  4. As far as I know it, the post processing is only processing the operations with the same NC file name. With multiple NC file names, it will process it separate per NC file name.

    To see in Mastercam the program number and NC file name do the following:

    In the toolpath manager, right click on a operation and select "Display options"

    enable "Toolpath file name" and "Program number", the values are placed at the toolpath line of the operation. 

     image.jpeg.8c94a9b366124aa077a234a1b6ce92a3.jpeg

    To solve you're problem select all operations and right mouse click --> Edit selected operations --> Change NC Filename

  5. Thank you for the input, but i made sure a long time ago, that these settings where set.

    After some other strange errors i found out that some key on the keyboard was stuck (not visible by eye).

    By pressing all the keys multiple times the errors went away.

    Tomorrow i am going to buy some spare keyboards.

    So problem solved.

    • Like 2
  6. Hello,

    In my shop we have one PC where we cannot draft. The start and endpoint can be selected, but setting it to its correct place is not possible.

    It ask to Select another dimension to use its formatting, see picture. Selecting another dimension is also not possible (i tried). Also the pop-up menus of Font, Height etc. are also not working. Other PC's are fine.

    I also removed the Mastercam folder within documents, and in the shared folder.

    -Mastercam version 2018

    What could i try next?

    758363776_Errordrafting.jpg.f2e29e5ccc27f2fa340b024e0514d39f.jpg

    Greetz Jan

  7. Try this:

    #declaration of variables:

    blockno : 0 #Mastercam operation number

     

    #format statement

     

    fmt  "N" 4 blockno     #Output mcam opperation no. to NC file

     

    #add this starting in a first column:

    pfn             #Output block numbers = mcam op number
    	  blockno = opinfo(15240,0)
    	  if op_id$ <> prv_op_id$ & blockno<>-99999,
    	    [
    	    *blockno
    	    ]

    #add this where the toolchange is:

    pbld, *pfn, *t$, "M6",e$

     

    • Like 1

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