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:

SLuong

Verified Members
  • Posts

    30
  • Joined

  • Last visited

Uncategorized

  • Location
    United States, California

Recent Profile Visitors

369 profile views

SLuong's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. Hello, I would like to use MR1$ in the MISC and I've been trying to use a statement like this. If LAST_MR1 <> MR1$ then show alarm but I think it could not store the previous value of MR1$ and it is showing "0". I have MR1$ = 1 on operation#2 and operation#7 I have input MR1$ = 2 Would you guys tell me what is the easiest way to make this work? ps: I have a alarm message such as Thank you. Output...
  2. Thank you Crazy MillMan, this is what I have adjusted and you are so right. Once, again. THANK YOU.
  3. Hello support, I have OKUMA INDEXER such as taking + and - degrees or ABSOLUTE. Somehow my post spits out as a COMPLETE TURN whereas the index built-in MACRO SHORTEST rotation such as A70, A113 from A0, left turn and right turn. My post as ONE WAY turn such as A70° and all the way to A247° of which is the same but not turning to the side such as: A360°-A247° = A113°, same as above. My question is which section of the post that I can make it going to A113° instead of A247°? Thank you ========================= NT21(SPOT 4X .380 THRU HOLES, CUT#7) G0 G17(XY PLANE) G40 G80 G90 M19 G30 P2(ZY HOME) G0 G90 A70.(A INITIAL ROTATION) G116 T21(.25, 1/4 SPOTTER - 140° 140.°, CBD, 140.°) G90 G15 H2(WOS) X-.835 Y.0241 S1500 M3(SPOT DRILL CYCLE) G56(TLO) HA Z3.5(DOC= Z.475) T3(OKUMA NEXT TOOL WAITING) M8(ADOC=.025DP) G71 Z3.5(CORRELATES M53) Z.625(RETRACT) G81 Z.475 R.625 F5. M53(READS G71=G98) X-2.785 X-4.735 X-6.685 X-8.635 G80 G0 G90 Z3.5(OKUMA DRILL CLEARANCE) M9 (*) (PROGRAM JUMPS HERE) (FROM A70.° TO A247.°) (*) NT2102(SPOT 4X .180 THRU HOLE, CUT#8) (.25, 1/4 SPOTTER - 140° 140.°, CBD, 140.°) G0 G90 G15 G17(XY PLANE) H2(WOS) X-4.515 Y0. S1500 M3(SPOT DRILL CYCLE) A247.(INDEX MID ROTATION) =========================> Should be A113° G56(TLO) HA Z3.5(DOC= Z.475) M8 G71 Z3.5(CORRELATES M53) Z.625(RETRACT) G81 Z.475 R.625 F5. M53(READS G71=G98) G80 G0 G90 Z3.5(OKUMA DRILL CLEARANCE) M9 G30 P2(ZY PULL IT UP) M5 M1
  4. I agree with you at certain point. Owners don't pay extra for the MACHINE SIMULATION. Even some mom and pop shops when they see programmer to do the regular VERIFY he started to get angry about. He only likes back plot as saving time. As the result, I saw he crashed the machine and he angry on the part and screaming on the floor. That was the MOLDING shop in REDWOOD CITY, California as a VERTICAL with FULL 4A-XIS part. That is why I try to catch as much as I can when I take someone's program because some, they don't even try to do the VERIFY due to the owner's demand. Tough but it is always a way for me a way check throughout the post.
  5. This is what I worry about when people cannot have CLEARANCE ON, RETRACT ON . Setup men need some kind of precoding as "Z" value for them to SINGLE BLOCK and double check their distance and program distance. I've seen people crash 5-Axis the spindle (I am not saying you). N1(TOOLPATH NOTE) G0 G17 G40 G49 G80 G90 G91 G28 Z0. T1 M6(TOOL NAME) G0 G90 G54 X0 Y0 S1500 M3 G43 H1 Z5.(CLEARANCE) Z1.(AWAY FROM PART) Z.125(RETRACT) G1 Z-2.5 F5. (CUTTING INTO PARTS) G2 X Y.... (CUTTING....) G3 XY..... G0 G90 Z.125(RETRACT) Z1.(AWAY FROM PART) Z5.(CLEARANCE) (NEXT POCKET WITH SAME TOOL)
  6. I did as PERPENDICULAR and below here are the codes. Still got an alarm... NT22(FINISH WALLS, THRU*, CUT#3) G0 G17(XY PLANE) G40 G80 G90 M19 G30 P2(ZY HOME) G0 G90 A14.553(A INITIAL ROTATION) G116 T22(.5, 1/2 BULL EM, .031RAD, , FIN, TiNC,) G90 G15 H1(WOS) X-1.9877 Y0. S4000 M3 G56(TLO) HA DA(D22) Z5.(DOC= Z.8125, .0625 THRU) M8 Z1.125 G1 Z.8125 F5. G41 D22 X-1.628 A-5.349 F572.96 X-1.6156 A-4.481 X-1.6056 A-3.513 X-1.5984 A-2.468 X-1.5942 A-1.37 X-1.593 A-.249 X-1.594 A3.323 X-1.5977 A7.101 X-1.6036 A10.869 X-1.6119 A14.623 X-1.6226 A18.357 X-1.6398 A23.417 X-1.6688 A30.491 X-1.7918 A56.402 X-1.825 A64.406 A115.621
  7. Hello everyone, I am programming live 4 axis with WEAR turned on as 3D CONTOUR. However, it has an alarm the the following line (see imabe). My question is where is the best for me to put G41 Dxx value? I also tried to use the standard post they they have the same problem. Thanks, S.Luong ========================== G-CODES ===================== NT22(FINISH WALLS, THRU*, CUT#3) G0 G17(XY PLANE) G40 G80 G90 M19 G30 P2(ZY HOME) G0 G90 A-8.032(A INITIAL ROTATION) G116 T22(.5, 1/2 BULL EM, .031RAD, , FIN, TiNC,) G90 G15 H1(WOS) X-2.2157 Y0. S4000 M3 G56(TLO) HA DA(D22) Z5.(DOC= Z.8125, .0625 THRU) M8 A-8.032 Z1.125 G1 Z.8125 F5. G41 D22 X-1.7158 A-7.534 X-1.6962 A-7.427 X-1.6773 A-7.145 X-1.6593 A-6.697 F572.96 X-1.6427 A-6.094 X-1.593 A-.249 (CUTTING...) X-1.6787 A366.927 X-1.6977 A367.196 X-1.7172 A367.291 G40 X-2.2172 A367.464 G0 Z5. A367.466 A367.464 M9 G30 P2(ZY PULL IT UP) M5 G0 G90 A0.(A HOME)
  8. I am trying to make it work for my daily life, would you tell me where can I put my G41 in side the PCCDIA? Thank you.
  9. Hello Crazy MillMan, I am trying to put a statement at the PCCDIA such as: If TOOLPATPTH IS HORIZONTAL AREA then out put as G41 and end as G40 (see codes below..). I didn't do right, can you assist me to do so? Thank you. =========================== #Region pccdia pccdia #Cutter Compensation #Force Dxx# if mmr1 = 4.1, tloffno$ = 3020 if mmr1 = 4.1 & (strstr("VERTICAL", sMachineDefinitionManagerDescription) | strstr("VERTC", sMachineDefinitionManagerDescription) | strstr("VERT", sMachineDefinitionManagerDescription) | strstr("VTC", sMachineDefinitionManagerDescription) | strstr("VER", sMachineDefinitionManagerDescription)), result = nwadrs ("D#", tloffno$) if mmr1 = 4.2, tloffno$ = 51999 if mmr1 = 4.2 & (strstr("VERTICAL", sMachineDefinitionManagerDescription) | strstr("VERTC", sMachineDefinitionManagerDescription) | strstr("VERT", sMachineDefinitionManagerDescription) | strstr("VTC", sMachineDefinitionManagerDescription) | strstr("VER", sMachineDefinitionManagerDescription)), result = nwadrs ("D#", tloffno$) if (mmr1 = 4.1 | mmr1 = 4.2) & (strstr("HOR", sMachineDefinitionManagerDescription) | strstr("HORI", sMachineDefinitionManagerDescription) | strstr("HORIZONTAL", sMachineDefinitionManagerDescription) | strstr("HORIZONTALS", sMachineDefinitionManagerDescription) | strstr(" HRZ", sMachineDefinitionManagerDescription)), result = nwadrs ("D#", tloffno$) #ToolDia = tldia$/2 #if HorizontalCellSystem = 3 & prv_cc_pos$ <> cc_pos$ & not(cc_pos$ = 0), "#2499=[2400+#129]-", no_spc$, *ToolDia, e$ #if HorizontalCellSystem = 3, tloffno$ = 99 if not(xform_type = 13 | xform_type = 16 | xform_type = 18) & prv_cc_pos$ <> cc_pos$ & cc_pos$, prv_tloffno$ = c9k sccomp if cc_pos$ & (mmr1 < 4 | mmr1 = 4.1 | mmr1 = 4.2 | mmr1 = 5), tloffno$ str_comp = slout(comp_dir, sdir0) if cc_pos$ = two & cc_error_flg = zero & ContourMultiPassesRoughPassCutDirectionIO = 0, [ if mprint(sG42, 2) = 2, exitpost$ #G42 was used cc_error_flg = one #Set flag to suppress redundant calls to error message at operation level ] #EndRegion pccdia ======================================== NT26(FINISH EVERYTHING, BABY!!!, CUT#5) G0 G17(XY PLANE) G40 G80 G90 M19 G30 P2(ZY HOME) G116 T26(.5, 1/2 EM, FIN, TiNC,) G90 G15 H1(WOS) X-.6298 Y-.5477 S3500 M3 G131(OKUMA LOOK AHEAD ON) G56(TLO) HA Z1.(DOC= Z-.8795) M8 G1 Z.1599 F25. X-.6306 Y-.5481 Z.1484 X-.633 Y-.5492 Z.1372 X-.6369 Y-.5509 Z.1266 X-.6423 Y-.5533 Z.1167 X-.649 Y-.5562 Z.1079 X-.6568 Y-.5597 Z.1002 X-.6656 Y-.5636 Z.094 X-.6752 Y-.5678 Z.0893 X-.6853 Y-.5723 Z.0862 X-.6958 Y-.5769 Z.0849 X-.6984 Y-.578 G41 G2 X-1.0281 Y-.4503 Z.0156 I-.101 J.2287 ================> G41 HERE G3 X-1.4235 Y-.3649 Z.0141 I-.2287 J-.101 X-1.3825 Y-.7674 Z.0125 I.1667 J-.1863 X-1.0124 Y-.604 Z.0109 I.1257 J.2161 (CUTTING...) G1 X-1.453 Y-1.306 X.3591 G3 X.4341 Y-1.231 Z-.8587 I0. J.075 G40 G1 Y-1.2281 Z-.8586 ================> G40 HERE Y-1.2167 Z-.8573 Y-1.2056 Z-.8543 Y-1.1952 Z-.8496 Y-1.1855 Z-.8433 Y-1.177 Z-.8357 Y-1.1697 Z-.8269 Y-1.1638 Z-.817 Y-1.1595 Z-.8063 Y-1.1569 Z-.7952 Y-1.156 Z-.7837 Z-.7587 G0 Z1. G130(OKUMA LOOK AHEAD OFF) M9 G30 P2(ZY PULL IT UP) M5
  10. Hello everyone, Surface HIGH SPEED Horizontal is great toolpath for me to finish walls and floors and the only thing it keeps me anxious about it is the "COMP". There is not G41 and G40 in the toolpath at all. Is there away I can manually add it in the toolpath or post? Thank you, S.Luong
  11. Hello everyone, I just want to cheer you guys over the holiday and I have found some previous programmers of which turned off the CLEARANCE and RETRACT planes. I got so mad about it and I have written a warning because it is very DANGEROUS for HORIZONTAL and 5 AXIS... =======================
  12. Hello everyone, I already had the solid models for my Horizontal machine + index attached to it. I would like to look for someone who can create Machine Simulation files for me to simulate. I did ask my dealer but he stated that IMPOSIBILITY company demand my company to purchase post + machine simulation. However, we already have post for it. The post itself it costs us $2,500 we can't just purchase another post + machine simulation. If any of you guys know where I can get only machine simulation service company, let me know so I can request my company to purchase from. Deal's debate was the machine simulation is tight to the post and that is not very convince able. I used to use the machine only without the post, it worked fine. When on the machine simulation crash, it means outside crash as well. I think nowadays dealers are must making harder for end users to get what they need not what dealer want (more money charge). ps: I already had the solid models, all I need is a person to create the machine simulation. Thanks
  13. I have tried like the way you've done it and it ended up with I have to type every single time with a different part number, job, etc... However, there is a way to make it AUTOMATICALLY of which pulling the data from SOURCE. Here how I made it work as below. PRORAM NAME AS "NC FILE" MACHINE GROUP COMMENT AS "CUSTOMER NAME" SOURCE FILE AS "PART NUMBER" I have been working on this templates several years (15 minutes per day) and now this is finally completed as really want. I think it may take you up to six months to if you have your own layout and design it through ACTIVE REPORT.

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