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:

Need quick help editing pots processor


Recommended Posts

Hello everyone,

I am starter on editing Mastercam post processor. I need an advice what i have to change on my posts processor file or in  ( Mastercam X6 ) to get NC code like this :

%
/N10G74Z0
/N20G53D0H0
/N30G92Z965000
N40G54S1000M03
N50G0X70000Y-20000H1M08
N60G0Z75000
N70G0Z68000
N80G01X-490000F500
N90G01Y-230000
N100G0Z500000M09
N110
N120
N130
N140G53M05
N150G0X550000Y630000
/N160Z965000
/N170G92Z0
N180
N9999M30
 
Our post processor code is like this :
 
N10 M0
N20 G0 G21 G90
N30 X-9.6644 Y37.1746
N40 G92
N50 M0
N60 G42 G1 X-12.05 Y39.0569
N70 G2 X-12.55 Y39.557 J.5
N80 G1 Y46.55
N90 X12.55
N100 Y39.5569
N110 G2 X12.05 Y39.057 I-.5
N120 G40 G1 X11.0617 Y39.2093
 
Our chiron fz 33 machine with bosh micro cnc 8 control system gives me an error becouse code is with dots for example : N30 X-9.6644 Y37.1746    if i write code n30 x-964000 y 370000 than everythink works fine.
 
Maybe someone can give me an advice becouse i can't find it by my self 
 
Thank you for helping me ! 

 

Link to comment
Share on other sites

Pretty simple fix. Look for the fmt statement for the axis you need the change for. Then look for the fs2 that matches the output you need. Use that for the output you need. I just did this for a EB welder.

fs2 24  0 3 0 3lt    #Integer, force leading & trailing 3 places for X-Y-Z on EB Welder
fs2 25  0 2 0 2lt    #Integer, force leading & trailing 2 places for RA-RB-RC Axis on EB Welder


fmt  "X" 24  xout        #X position output
fmt  "Y" 24  yout        #Y position output
fmt  "Z" 24  zout        #Z position output

fmt  "RA" 25 p_out       #Primary output axis position
fmt  "RB" 25 s_out       #Secondary output axis position
fmt  "RC" 25 d_out       #Dummy output axis position

You want 4 places so the above format statements will not work for what you need and they were setup for 3 and 2 place outputs for the EB Welder I modified the post for.

 

HTH (hope that helps)

Link to comment
Share on other sites

If you have a maintenance package, I would just contact your reseller; simple fixes in your post can turn into small disasters from my past experiences. Our reseller has always been terrific to me, any changes or format issues I have, I just send to them and I can usually have my post back by days end if it's nothing major.

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