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:

parkerbender

Verified Members
  • Posts

    7
  • Joined

  • Last visited

    Never

parkerbender's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm still lost in here, I've been moving N$'s and E$'s around, and can't make it stop doing what it's doing... Here's a copy of my motion control section: # Axis Motion Definition section # -------------------------------------------------------------------------- protaxis1 # Substitute Axis X/Y with Rotary axis (Custom Post Required) pcan1, n$, sccomp, pccdia, sgcode, xangle, y$, z$, pfr, strcantext, e$ protaxis2 # Substitute Axis X/Y with Rotary axis (Custom Post Required) pcan1, n$, sccomp, pccdia, sgcode, x$, yangle, z$, pfr, strcantext, e$ protaxis # Substitute Axis X/Y with Rotary axis (Custom Post Required) xangle = x$ * 2 * rad2deg$ / rotdia$ yangle = y$ * 2 * rad2deg$ / rotdia$ if gcode$ > 1, "(ERROR - ARCS MUST BROKEN)", e$, ex$ pcan if rotaxis$ = 1, protaxis1 if rotaxis$ = 2, protaxis2 pcan2 prapidm # Linear line movement - at rapid feedrate 0 pcan pcan1, n$, sgplane, sccomp, pccdia, sgcode, x$, y$, z$, strcantext, !fr$, pcan prapid$ # Linear line movement - at rapid feedrate 0 if rotaxis$ <> 0, protaxis if rotaxis$ = 0, prapidm pzrapid$ # Linear movement in Z axis only - at rapid feedrate 0 n$, sccomp, pccdia, sgcode, pccdia, z$, e$ pedm # 5-Axis example (Custom Post Required) 11 "(5 AXIS EXAMPLE)", *xnci$, *ynci$, *znci$, *u$, *v$, *w$ #*i, *j, *k plinm # Linear line movement - at feedrate 1 pcan pcan1, n$, sccomp, sgcode, x$, y$, z$, pfr, strcantext, e$ pcan2 plin$ # Linear line movement - at feedrate 1 if rotaxis$ <> 0, protaxis if rotaxis$ = 0, plinm pz$ # Linear movement in Z axis only - at feedrate 1 n$, ptllncomp, sgcode, z$, pfr,e$ pcirm # Circular interpolation 2 pcan pcan1, n$, sgplane, sccomp, pccdia, psgcode, x$, y$, z$, pijk, pfr, strcantext, e$ pcan2 pcir$ # Circular interpolation 2 if rotaxis$ <> 0, protaxis if rotaxis$ = 0, pcirm
  2. okay, now I have a post that is mostly working, but it inserts line numbers on both the front and back of the line following a G0, when there is only an X and Y coordinate on the line. e.g. N7310 G0 Z.25 N7320 X1.1675 Y-.4467 N7320 <------ N7330 Z.1 N7340 G1 Z0. F12.0 N7350 G3 X1.1751 Y-.4262 I0. J0. F43.2 N7360 G2 X1.2609 Y-.3479 I1.2926 J-0.4688 N7370 G3 X1.302 Y-.1254 I1.2292 J-0.227 N7380 G2 X1.2498 Y-.0216 I1.3748 J-0.0238 N7390 G3 X1.25 Y.0003 I0. J0. N7400 G2 X1.1771 Y-.1134 I1.125 J0.0002 N7410 G3 X1.14 Y-.3145 I1.2292 J-0.227 N7420 G2 X1.1675 Y-.4467 I1.0507 J-0.402 N7430 G1 Z.1 F45.0 N7440 G0 Z.25 N7450 X1.2498 Y.0232 N7450 <-------- N7460 Z.1 N7470 G1 Z0. F12.0 Does anybody know what I did wrong? thanks again! -Parker
  3. okay, I think that I found a correct example. I'm sorry for the confusion, I'm an engineer, not a machinist... "Here is the G83 for a Hurco BX: N10G83X4.0Y3.0Z.8Z.5Z.2F10.0 after a rapid to X4Y3 Z will feed a distance of .5 rapid out, rapid in and feed a distance of .2, rapid out .7, rapid in and feed .1 for a total z feed of .8. The Z moves in Hurco canned cycles are INCREMENTAL from the Z location commanded in the prevoius block. The 1st z in the G83 code is the total z travel, the 2nd z is the incremental move for the 1st peck only, the 3rd z is the peck increment for all remaining pecks until the z specified in the 1st z distance is reached. Z2 must be smaller than Z1. If no third Z is entered then the 2nd Z is the peck increment for all remaining pecks." Thanks again for any help!
  4. That's how they're posting out of bobcad, with the correct post. So, that's how they are supposed to look, at least I think...
  5. Here is a post of the G81, G83, and G84 cycles. Also, is it hard to make the post only use feedrates with one decimal place? Thanks for all the help! -Parker % G0 Z0.1M8 G81 X3. Y1. Z0.6F5.0 G80 G0 Z0.1M8 G83 X1.Z0Z0Z.125F3.0 G80 G0Z0 S400M3 G0 Z0 G84 X3. Y2.Z0.5F25 G80 E
  6. Hello All! I am trying to throw together a post for my older Ultimax 2 machine. I'm prety computer-fluent, but am having a hard time figuring out how to make a working post. I'm working with Mastercam x3, and can't figure out how to change the Z values after a canned cycle is called out. I have been told to use a standard Fanuc post, I'm assuming that means to start with the 'generic Fanuc 3X Mill.pst file. The tricky part is Hurco uses standard Fanuc until you go into a canned cycle. Once in canned, all z values become a positive value to reach a negative point after you have reached the R plane. Once R is reached the final Z depth will be incramental from the R plane. Does anyone have a clue how to make that happen? Thanks so much for any ideas/insight! -Parker

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