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:

arc center output in 3d contour


Jim Helberg
 Share

Recommended Posts

our post is putting an i0 or j0 when making the NC file.

What do I have to change to make it not put the i0 and j0 in 3d contours? I know i need to put (d)Delta in, but which line? or do I just add an fs 10, and then change the fmt on the arc output?

 

Thanks in advance,

 

Jim

 

 

# Format Statements - i=incr, n=nonmodal, l=leave ldg, t=leave trlg, d=delta

# --------------------------------------------------------------------------

 

fs 1 0.4l

fs 2 0.4

fs 3 4 0

fs 4 1 0ln

fs 5 0.1t

fs 6 2 0ln

fs 7 4 0n

fs 8 0.4li

fs 9 0.4ln

fs 10 1 0

 

# --------------------------------------------------------------------------

# Format Assignments

# fmt X 1 x - x, y, z, i, j, k, xh, yh, zh, xr, yr, zr

# are init. fs 1, with 'normal' prefix letter

# --------------------------------------------------------------------------

# --------------------------------------------------------------------------

# Axis output formats - Linear

# --------------------------------------------------------------------------

fmt X 1 x$ # X Axis Pos

fmt Y 1 y$ # Y Axis Pos

fmt Z 1 z$ # Z Axis Pos

fmt X 1 xr$ # X Rapid Pos

fmt Y 1 yr$ # Y Rapid Pos

fmt Z 1 zr$ # Z Rapid Pos

fmt X 1 xh$ # X Home Pos

fmt Y 1 yh$ # Y Home Pos

fmt Z 1 zh$ # Z Home Pos

# --------------------------------------------------------------------------

# Axis output formats - Circular

# --------------------------------------------------------------------------

fmt I 1 i$ # Arc center description in X

fmt J 1 j$ # Arc center description in Y

fmt K 1 k$ # Arc center description in Z

fmt 1 xc$ # Arc Center X

fmt 1 yc$ # Arc Center Y

fmt R 9 arcrad$ # Arc Radius

fmt 1 sa$ # Start angle for arc

fmt 1 so$ # Start octant for arc

fmt 1 ea$ # End angle for arc

fmt 1 eo$ # End octant for arc

fmt 1 sweep$ # Angle between start and end of arc

Link to comment
Share on other sites

Look up your "parc"

 

code:

 #Arc output for IJK

# If you do NOT want to force out the I,J,K values,

# remove the "*" asterisks on the *i, *j, *k 's below...

if plane$ = zero, *iout, *jout, kout #XY plane code - G17

if plane$ = one, iout, *jout, *kout #YZ plane code - G19

if plane$ = two, *iout, jout, *kout #XZ plane code - G18

!i$, !j$, !k$

Take out the (*) in the iout, jout and kout. The * forces the output weather it has a value or not. Like it says.....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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