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:

Leaderboard

Popular Content

Showing content with the highest reputation on 04/24/2020 in all areas

  1. This is a post related issue and might need talk to them about getting a better post or added ability to your post.
    2 points
  2. Program with Vector output (I,J and K) as opposed to Rotary Angle (A, B, C) and FANUC doesn't care either. So take that program you wrote for your A/B HMC and drop it in your B/C VMC and #SendIt
    2 points
  3. Bore with shift. Make sure your machine shifts correctly!
    1 point
  4. Morph between 2 curves or Parallel to curve.
    1 point
  5. Xeon.... In my experience those chips have not performed as well as i7's....good, not great
    1 point
  6. No problem you have my email.
    1 point
  7. Have you tried putting a value in MR1
    1 point
  8. Is this a Postability post? If so check out the Misc page There are 2 fields, lower right that control retract behavior By default they are 0, change them to 3 If it's not a Postabilty post, check the Misc page anyway. Look for a Safe Retract switch and turn it off
    1 point
  9. You have to understand the "calling structure" of the MP Post Language, in order to understand why this is happening. The call to 'pretract' happens in 'ptlchg1002$'. This is the "start tool change sequence". So, by the time you've hit 'pretract', you are already reading the "next operation's MI/MR values", as you've discovered. If you are using MPMaster, there is a mechanism that was built into the Post, in order to tract the "last MI/MR values". But it only tracks a couple "by default", meaning you have to add variables to capture the rest of the values. Search for 'plast'. That is the Post Block where the 'last MI/MR values' are captured. Add variables in the "variable define section". #Last variables (see plast) last_op_id : 0 last_cuttype : 0 last_rot_axis : 0 last_rotary_type : 0 last_tlplnno : 0 last_mr1 : 0 last_mr2 : 0 #Added additional last_ values to track MI/MR values at tool change last_mi1 : 0 #Added to track Z Variable Output Formatting last_mi7 : 0 Then, add logic to 'plast' to capture the new values: plast last_op_id = op_id$ last_cuttype = cuttype last_rotary_type = rotary_type$ last_tlplnno = tlplnno$ last_mr1 = mr1$ last_mr2 = mr2$ last_mi1 = mi1$ last_mi7 = mi7$ Then, add your code in 'pretract' to do whatever you want with that value: pretract #End of tool path, toolchange phsm_off sav_absinc = absinc$ absinc$ = one sav_coolant = coolant$ coolant$ = zero # if nextop$ = 1003, #Uncomment this line to leave coolant on until eof unless # [ # explicitely turned off through a canned text edit if all_cool_off, [ #all coolant off with a single off code here if coolant_on, pbld, n$, *sall_cool_off, e$ coolant_on = zero ] else, [ local_int = zero coolantx = zero while local_int < 20, [ coolantx = and(2^local_int, coolant_on) local_int = local_int + one if coolantx > zero, [ coolantx = local_int pbld, n$, scoolantx, e$ ] coolantx = zero ] coolant_on = zero ] # ] #cc_pos is reset in the toolchange here cc_pos$ = zero if convert_rpd$ = one, [ gcode$ = one feed = maxfeedpm ipr_type = zero ] else, gcode$ = zero pbld, n$, sccomp, *sm05, psub_end_mny, e$ pcancel_rot_coord pbld, n$, sgabsinc, sgcode, [if gcode$ = 1, sgfeed], *sg28, "Z0.", [if gcode$ = 1, feed], scoolant, e$ # if lock_codes = one & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$ # pbld, n$, *sg28, "X0.", "Y0.", protretinc, e$ # if lock_codes = one & rot_on_x & cuttype = 0, pbld, n$, *slock, slockcomm, e$ if abs(fmtrnd(cabs)) > 360 & nextop$ <> 1003 & not(index), [ if lock_codes = one, pbld, n$, *sunlock, sunlockcomm, e$ rotretflg = 1 pbld, n$, `sg28, protretinc, e$ rotretflg = 0 if lock_codes = one & cuttype = 0, pbld, n$, *slock, slockcomm, e$ ] absinc$ = sav_absinc coolant$ = sav_coolant uninhibit_probe$ if last_mi7 = 1, [ #Set Z back to normal output result = nwadrs(str_z_pstd, zabs) #Assign original prefix string to zabs result = nwsufx(str_z_sstd, zabs) #Assign original suffix string to zabs? zabs = sav_zabs, !zabs #set current to output, update variable to maintain proper modality last_mi7 = zero #Reset Flag. If next op has MI7 set, it will update at PLAST ]
    1 point
  10. Caveat, my definition is for a VMC with a table/table configuration type machine. Biggest difference between G54.2 and G68.2 is G54.2 requires 2 offsets to be used; 1) The Work Offset itself - which must be the center of rotation, and 2) The Dynamic offset - which is the distance from the center of rotation to the workpiece datum. This is how the positions are calculated by the control. G68.2 uses a group of 6 parameters in the machine. One defines the distance in X from machine home to center of rotation relative to the primary rotary axis, one defines the distance in Y from machine home to center of rotation relative to the primary rotary axis, one defines the distance in Z from machine home to center of rotation relative to the primary rotary axis, one defines the distance between the center of rotation to the center of the secondary rotary axis in X - known as 1/2 offset X, one defines the distance, one defines the distance between the center of rotation to the center of the secondary rotary axis in Y - known as 1/2 offset Y, and the last parameter defines the distance from the center of rotation of the primary rotary axis to the top of secondary rotary axis table - known as 1/2 offset Z. G68.2 is superior to G54.2 in that you can compensate for things that you cannot compensate for like the 1/2 offsets which are most easily defined as the amount of axis intersection error when they assemble the rotary tables. Most builders' values are very small. G54.4 is used to compensate not only for linear error but rotary axis error. G54 is a linear compensation method not taking into account all the degrees of freedom. Yeah you can hack stuff, using the work offset but it's not the right way. G54.4 is the right way to comp or error. G54.4 is mainly used for machining castings or reworking already machined components. It can slash setup time dramatically. So instead of shimming, tapping, indicating, etc... throw it up there, measure the errors, put the values in the correct table location and go. HTH
    1 point
  11. Create the center lines for the knurl above the part in 2D mode in the pattern that is required. Then project them to the surface. Then use a contour toolpath with the Compensation type set to "Off" to follow the lines. Set you depth as required.
    1 point
  12. Typically I would cut them all from the top down at the same time. Instead of 1 rib at a time. That is what the thin wall function does, but does it better by staggering the depth of cut.
    1 point
  13. Version 1.0.0

    607 downloads

    The Mastercam 2020 Mill Essentials Training Tutorial features concept-filled tutorials, challenging practice exercises and short quizzes following every tutorial providing a comprehensive look at geometry creation and 2D toolpathing for Mastercam Mill. This book begins with the absolute basics by introducing the Mastercam user interface and it will have you creating geometry, drilling and creating contour toolpaths before you know it. Its gradual progression lends way to more advanced concepts such as multiple setup scenarios and 2D High Speed Toolpaths. All of the parts within the book are designed with machinability in mind. A multitude of topics are covered including 2D geometry, solid geometry, tool settings, stock setup, drilling, tapping, contouring, pocketing, circle milling and slot milling. You will learn the 2D High Speed Toolpaths such as Dynamic Mill, Area Mill, Dynamic Contour, Peel Mill & Blend Mill, how to import a solid and machine it and using the WCS in multiple fixture applications.
    Free
    1 point
  14. yeah they don't even draw you pictures
    0 points
  15. Well it's not like you can look at a HH program and figure out what's going on anyway.
    0 points
  16. Actually it's Thursday. So Winner Winner Tacos for dinner
    0 points

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