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:

Wire Post


CNCGUY
 Share

Recommended Posts

Im working on a post for our Sodik EDM (MARK21 Control).

 

At this point I am modifying MPWSD280 and getting

code:

" C451 H088 ; "

" G01 X-.054 Y-.2658 ; "

" X-.00207 ; "

" X.00647 Y-.25726 ; "

" G02 X.01 Y-.2558 I.00353 J-.00354 ; "

" G01 X.06 ; "

" G02 X.065 Y-.2608 I0. J-.005 ; "

How do I get rid of the " and ; ?

 

Is there a diff. post I should use that might work better?

 

Thanks for the help wink.gif

Link to comment
Share on other sites

In most posts, you will find this 'arcoutput' option ->>

 

arcoutput : 0 #IJ arc, 0 = IJK, 1 = R no sign, 2 = R signed neg. over 180

 

 

In the MPWSDMK30.PST the arc center outputs occur in the PARC postblock ->

 

code:

parc            #Arc center output - IJ, arctype controls form

if arcoutput = zero | do_full_arc,

[

iout = i

jout = j

iout, jout

]

else,

[

if abs(sweep) <= 180 | arcoutput = one,

result = nwadrs(srad, arcrad)

else, result = nwadrs(srminus, arcrad)

*arcrad

]

If you wish to always FORCE output both I & J, on every arc block, you can add an "*" (asterisk) to the 'iout' and 'jout' variables ->

 

code:

parc            #Arc center output - IJ, arctype controls form

if arcoutput = zero | do_full_arc,

[

iout = i

jout = j

*iout, *jout

]

else,

[

if abs(sweep) <= 180 | arcoutput = one,

result = nwadrs(srad, arcrad)

else, result = nwadrs(srminus, arcrad)

*arcrad

]

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