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:

Irongate Machine Inc

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

484 profile views

Irongate Machine Inc's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Does anyone run Mastercam X on one of the newer Mac systems out there? We are looking at upgrading one of our stations and I have found some good info for running solidworks on a Mac but I have not found anything on Mastercam.
  2. I would suggest the Ingersoll quad drill for the drilling.
  3. ok, my current program is using local variable and now I can not get into the macro program. O8007(4 DIGIT PART NUMBER) N100 G20 N102 G0 G17 G40 G49 G80 G91 N104 T1 M6 G0 G90 G54 X0. Y0. S6500 M3 Z.25 M8 (FIND 4TH DIGIT) N1000 G66 P1010 A1. N1020 M9 M5 N1030 G67 G90 G0 G28 Z0 M19 N1040 G28 X0. Y0. N1050 M30 % The program reads to line 1000 and either jumps to line 1020 or back to the begining of the program depending on which macro call i give, G65, G66, G66.1?????
  4. I just threw in the If statement as an example and I should have posted more. The if statements in the program are as follows: IF[#590 EQ 0]GOTO 40 IF[#590 EQ 1.]GOTO 41 IF[#590 EQ 2.]GOTO 42 IF[#590 EQ 3.]GOTO 43 IF[#590 EQ 4.]GOTO 44 IF[#590 EQ 5.]GOTO 45 IF[#590 EQ 6.]GOTO 46 IF[#590 EQ 7.]GOTO 47 IF[#590 EQ 8.]GOTO 48 IF[#590 EQ 9.]GOTO 49 I have the #590 varialbe set to 3, when i run the program, the first IF statement passes and moves to line 40 where i go to a subprogram. Next question, when using the macro calls G65 and G66/66.1, the G65 call does not need a macro program number and the G66/66.1 does need a seperate macro program? I think I am running into errors with the G Codes and coresponding programs. I am basically trying to figure out the macro programing from the EIA manual, and don't have any good example programs. Thanks agiain.
  5. Hello all, I am currently tring to get a macro to run some simple engraving on a Mazak 640M control. I found a macro online to write progressive serial numbers, i have just modified this program to engrave a specific part number. The part numbers I need to engrave are random, so I decided to manually input the numbers into the common macro variables. Now, after the program starts and I am running into problems with the macro If statements. As the If statements search for the variable, the first If statement is not clearing when the statement is false. ex: If #101 EQ 0 GoTo 45 and the variable #101 is 3 Any help would be great, I have lots of Q's Thanks

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