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:

10LIONS

Verified Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Uncategorized

  • Location
    Northern Michigan

Recent Profile Visitors

540 profile views

10LIONS's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

2

Reputation

  1. Colin nevermind, thanks everyone for your help, i'm obviously in over my head, i will continue to study though. God Bless the USA!!!!!
  2. 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 #Assign string select type outputs if cantext$ = three, bld = one if cantext$ = four, bld = zero #Build the cantext string if cantext$ = one, strcantext = strcantext + sm00 if cantext$ = two, strcantext = strcantext + sm01 if cantext$ > four, [ strtextno = no2str(cantext$) strcantext = strcantext + strm + strtextno ] [STARTBIN] Thanks Kalibre, Colin, is this what you were looking for?
  3. yes that will be next, i'm trying to learn to edit mcam posts in my spare time and just wanted to do this myself, thanks though.
  4. Still not solved, any help would be appreciated, thanks guy's.
  5. thank you Colin, I have almost zero experience at this and am afraid I'm working in the wrong area according to your pcant_out directions, searching for pcant_out took me here pcant_1 #Canned text - output call cantext$ = cant_val1$ pcant_out I've been working here, I'm sure this is very elementary for you but am I in the wrong area? # Tool Comment / Manual Entry Section # -------------------------------------------------------------------------- ptoolcomment #Comment for tool tnote = t$ toffnote = tloffno$ tlngnote = tlngno$ pbld, n$, "(", pstrtool, *tnote, *toffnote, *tlngnote, *tldia$,")", e$ pstrtool #Comment for tool if strtool$ <> sblank, [ strtool$ = ucase(strtool$) pbld, n$, *strtool$, " " ] pcomment$ #Comment from manual entry scomm$ = ucase (scomm$) if gcode$ = 1007, "(", scomm$, ")",e$ else, pbld, n$, "(", scomm$, ")", e$
  6. Hey guy's, I'm using a rotary and I am limited in my Z axis travel, I can't rotate with the tool over the work piece, I must move it home and then rotate, so I've added the rotations as manual entry's but my post will not output them as code, they're always output in parenthesis, needing to be edited to be obeyed, example: (G0G91G28Z0) (G0G91G28Y0) G0G90G54A180. Can someone please show me how to change this post to output comments as code, removing the parenthesis, thank you. here is the top portion of our post, # Post Name : MPMAZAKM # Product : MILL # Machine Name : GENERIC MAZAK # Control Name : GENERIC (M32/M-Plus/Fusion) # Description : GENERIC MAZAK EIA MILL POST # 4-axis/Axis subs. : YES # 5-axis : NO # Subprograms : YES # Executable : MP 9.13 # # 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 setup v8.1 # CNC 01/09/02 - Initial post update for V9.0 # CNC 01/06/03 - Moved feed assignment below pcom_moveb to address bug w/feed in 4 axis # CNC 02/04/03 - Initial post update for V9.1 # CNC 05/28/03 - Initial post update for V9.1SP1 # CNC 03/17/04 - Added update to cc_pos and cutpos2 after each move. # # Axsys 9/5/08 - Fixed tap cycle coming up with another F that was not based on pitch <swk> # Also added aggregate head to control definition and logic for # turning canned drill cycles into long form for aggregate ops. # # Axsys 9/30/08 Binned for Hasp # 55907 and 117435 # # Axsys 10/16/08 - Removed comment line at start of file. # # Axsys 04/09/21 - New post from 2000_stage post with special incremental rotary axis output <jvw> # # -------------------------------------------------------------------------- # Features: # -------------------------------------------------------------------------- # This post supports Generic Mazak EIA output for 3 and 4 axis milling. # It is designed to support the features of Mastercam Mill V8. # # The Mazak requires eight character numeric program names with the EIA # extension. # If you are using a floppy disk for file I/O the program must reside in a # sub-directory for the control to recognize it. # # Following Misc. Integers are used: # # mi1 - Work coordinate system # 0 = Reference return is generated and G92 with the # X, Y and Z home positions at file head. # 1 = Reference return is generated and G92 with the # X, Y and Z home positions at each tool. # 2 = WCS of G54, G55.... based on Mastercam settings. # # mi2 - Absolute or Incremental positioning at top level # 0 = absolute # 1 = incremental # #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 # 3 = Bld on = turn on block delete codes in NC lines # 4 = bLd off = turn off block delete codes in NC lines # #Milling toolpaths (4 axis) #Layout: # The term "Reference View" refers to the coordinate system associated # with the Top view (Alt-F9, the upper gnomon of the three displayed). # Create the part drawing with the axis of rotation about the axis # of the "Reference View" according to the setting you entered for # 'vmc' (vertical or horizontal) and 'rot_on_x' (machine relative # axis of rotation). # vmc = 1 (vertical machine) uses the top toolplane as the base machine # view. # vmc = 0 (horizontal machine) uses the front toolplane as the base machine # view. # Relative to the machine matrix - # Rotation zero position is on the Z axis for rotation on X axis. # Rotation zero position is on the Z axis for rotation on Y axis. # Rotation zero position is on the X axis for rotation on Z axis. # The machine view rotated about the selected axis as a "single axis # rotation" are the only legal views for 4 axis milling. Rotation # direction around the part is positive in the CCW direction when # viewed from the plus direction of the rotating axis. Set the variable # 'rot_ccw_pos' to indicate the signed direction. Always set the work # origin at the center of rotation. # #Toolplane Positioning: # Create the Cplane and Tplane as the rotation of the machine view about # the selected axis of rotation. The toolplane is used to calculate # the position of the rotary axis. This is the default setting. # #3 Axis Rotary (Polar) # Polar positioning is offered in Mastercam 3 axis toolpaths through the # rotary axis options dialog. The selected toolpath is converted to angle # and radius position. The axis of rotation is forced to zero. # #Axis substitution: # Use the Rotary axis substitution by drawing the geometry flattened # from the cylinder. The rotary axis button must be active for axis # substitution information to be output to the NCI file. The radius of # the rotary diameter is added to all the Z positions at output. # #Simultaneous 4 Axis (11 gcode): # Full 4 axis toolpaths can be generated from various toolpaths under the # 'multi-axis' selection (i.e. Rotary 4 axis). All 5 axis paths are # converted to 4 axis paths where only the angle about the rotation axis # is resolved. # #Drill: # All drill methods are supported in the post. See Simultaneous 4 Axis. # #Additional Notes: # 1) Disable 4 axis by setting the numbered question 164. to 'n'. # 2) G54 calls are generated where the work offset entry of 0 = G54, # 1 = G55, etc. # 3) Metric is applied from the NCI met_tool variable. # 4) Incremental mode calculates motion from home position at toolchanges. # The home position is used to define the last position of the tool # for all toolchanges. # 5) The variable 'absinc' is now pre-defined, set mi2 (Misc. Integer) for # the 'top level' absolute/incremental program output. Subprograms are # updated through the Mastercam dialog settings for sub-programs. # 6) Always avoid machining to the center of rotation with rotary axis! # 7) Transform subprograms are intended for use with G54.. workshifts. # #Subprograms: # All program output files are created using the 8 digit program number # that is assigned. You should name your NC file using the program number # and padded to 8 digits for the file to be found by Mastercam and the # editors. # #Mazak Notes: # 1) G28 must be programmed with G0 # 2) See 'Mazak Parameter Settings' section below to match machine # # END_HEADER$
  7. easy JParis, that's why I stayed specific to our machine and what worked for us big guy
  8. not sure if you've figured it out yet but I dealt with the same circumstances, final answer, In- House (Alex Dales) removed the G5 P2 from being output at all in our programs and Jason Sturgis Mazak Apps, helped me to dial in the L parameters very quickly (he knew his stuff) for G61.1 for our particular machine, the machine runs like it should now, also if I run without G61.1, the toolpaths will violate every time, G61.1 is needed for our machine. hope this helps (T2 - 1" HELICAL .03R-4.125" LOC - DIA 1." - CORNER RAD .03) T2 M06 T3 G00 G17 G90 G54 M08 M46 M43 (A-AXIS UNLOCK, C-AXIS UNLOCK) G68.2 X0. Y0. Z0. I0. J270. K0. G53.1 P2 M47 M44 (A-AXIS LOCK, C-AXIS LOCK) S12000 M03 X8.758 Y7.023 G43 H#3020 Z6. G61.1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (no G5 P2, also no K value) Z1.534 Z-1.569 G01 G94 Z-1.594 F300.
  9. # Revision log: # -------------------------------------------------------------------------- # Programmers Note: # CNC 01/12/01 - Initial post setup v8.1 # CNC 01/09/02 - Initial post update for V9.0 # CNC 01/06/03 - Moved feed assignment below pcom_moveb to address bug w/feed in 4 axis # CNC 02/04/03 - Initial post update for V9.1 # CNC 05/28/03 - Initial post update for V9.1SP1 # CNC 03/17/04 - Added update to cc_pos and cutpos2 after each move. # # Axsys 9/5/08 - Fixed tap cycle coming up with another F that was not based on pitch <swk> # Also added aggregate head to control definition and logic for # turning canned drill cycles into long form for aggregate ops. # # Axsys 9/30/08 Binned for Hasp # 55907 and 117435 # # Axsys 10/16/08 - Removed comment line at start of file. # thank you nickbe10, this is the second time you've helped me out, no hurry.
  10. alright all you brilliant machinist and post developers out there, we all start somewhere and I have zero training in this area, so quit laughing! when we post a program with only one tool, our post does not generate a tool change, I've tried finding and correcting the issue in the post but have spent too much time on this when I know how simple this probably is for one of you, also, the force tool change check box didn't fix this. thanks guy's, here's an example O1(PROGRAM - 860175113) N1 (DATE - 23-07-20 TIME - 09:53) (PULSE PART=8601751-1 OPERATION=OP1 QTY=1 ) (MCX FILE - P:\2000 ENGINEERING\MASTER CAM\BP\8601751-1\8601751-1.MCAM) (NC FILE - C:\Users\eholt03\Documents\My Mastercam 2021\Mastercam\Mill\NC\860175113.EIA) G65P79998 N37 G20 G0G40G80G90G94G98 G0G28G91Z0. G0G28X0.Y0. (HANDTMANN SAW BLADE TOOL - 37 DIA. OFF. - 1 LEN. - 1 DIA. - 15.748) G0G54G90X-7.9012Y4.4813S5000M3 G43H1Z137.M7 Z136.09 G1Z135.891F125. X10.8988F75. Z136.091F275. G0Z137. M9 M5 G64 G0G28G91Z0. G0G28X0.Y0. G65P79999 M30 here's the beginning of our post POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V23.00 P0 E1 W23.00 T1592475229 M23.00 I0 O0 # Post Name : MPMAZAKM # Product : MILL # Machine Name : GENERIC MAZAK # Control Name : GENERIC (M32/M-Plus/Fusion) # Description : GENERIC MAZAK EIA MILL POST # 4-axis/Axis subs. : YES # 5-axis : NO # Subprograms : YES # Executable : MP 9.13 # # WARNING: THIS POST IS GENERIC AND IS INTENDED FOR MODIFICATION TO # THE MACHINE TOOL REQUIREMENTS AND PERSONAL PREFERENCE.
  11. (2.5 MM CARBIDE DRILL 4MM SHANK TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .098425) T1T2M6 G0G55G90X-1.0591Y-2.5204A45.S4800M3 G43H1Z7.4462M8 G98G81Z1.2R1.5462F20. G80 M9 M5 G64 G0G28G91Z0. G0G28A0. ***********************This is the code that needs to be removed M01 N2 G0G40G80G90G94G98 G0G28G91Z0. (M3 X .05 TAP TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA. - .118) T2T1M6 G0G55G90X-1.0591Y-2.5204A45.S1000M3 G43H2Z6.M8 G98G84Z1.1R1.5462F.0198 G80 M9 M5 G64 G0G28G91Z0. G0G28X0.Y0. G0G28A0. ***********************obviously this one kept ( this is a better example than my first, thanks) M30
  12. [POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V23.00 P0 E1 W23.00 T1592475229 M23.00 I0 O0 # Post Name : MPMAZAKM # Product : MILL # Machine Name : GENERIC MAZAK # Control Name : GENERIC (M32/M-Plus/Fusion) # Description : GENERIC MAZAK EIA MILL POST # 4-axis/Axis subs. : YES # 5-axis : NO # Subprograms : YES # Executable : MP 9.13 # # WARNING: THIS POST IS GENERIC AND IS INTENDED FOR MODIFICATION TO # THE MACHINE TOOL REQUIREMENTS AND PERSONAL PREFERENCE. i'm afraid this is all I can think of to give you,
  13. G0G55G90X-1.0591Y-2.5204A45.S4800M3 G43H1Z7.4462M8 G98G81Z1.2R1.5462F20. X-8.5394 X-16.0197 X-23.5 X-30.9803 X-38.4606 X-45.9409 G80 M9 M5 G64 G0G28G91Z0. G0G28X0.Y0. G0G28A0. ****************I need to get rid of this line, except for the close of the prgm. Hello, i'm trying to add the A fourth axis rotation to a generic Mazak 3 axis post which is 4 axis capable, I've succeeded accept I don't want the A to return home every tool change, only at the end of a program do I want the A axis to go home, i'm a newbie so if you have an answer please explain it like your teaching a beginner, thanks for your help.

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