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:

Adding a decimal point to B moves


Recommended Posts

Good morning everyone. I am using a mpmaster post on an OKK 800 HMC. The machine has a live table so i need the B moves to output with a deciamal point after every B axis move. is this something in the post or in the machine def? I have played with both and have no results.

 

Thanks for any and all help.

Link to comment
Share on other sites


fmt  X  2   xabs        #X position output
fmt  Y  2   yabs        #Y position output
fmt  Z  2   zabs        #Z position output
fmt  X  3   xinc        #X position output
fmt  Y  3   yinc        #Y position output
fmt  Z  3   zinc        #Z position output
fmt  A  11  cabs        #C axis position
fmt  A  14  cinc        #C axis position
fmt  A  14  cout_i      #C axis position

 

 

Use the debugger to find which variable (cabs is for absolute positioning, cinc for incremental) puts out your B moves, then change the format statement (replace the 11 and/or 14 with a 2 or a 3, respectively).

Link to comment
Share on other sites

yes, i want B233. which i got by telling the machine def it was capable of continuous milling. but when i did that it put all the code between the lock and unlock code so i had to change the way it output that. It should work the way i have it.

 

Thanks again, have a great day.

Link to comment
Share on other sites
  • 8 months later...

# Toolchange / NC output Variable Formats

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

fmt T 4 t$ #Tool number

fmt T 4 first_tool$ #First tool used

fmt T 4 next_tool$ #Next tool used

fmt D 4 tloffno$ #Diameter offset number

fmt H 4 tlngno$ #Length offset number

fmt G 4 g_wcs #WCS G address

fmt P 4 p_wcs #WCS P address

fmt S 4 speed #Spindle Speed

fmt M 4 gear #Gear range

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

fmt N 21 n$ #Sequence number

fmt X 2 xabs #X position output

fmt Y 2 yabs #Y position output

fmt Z 2 zabs #Z position output

fmt X 3 xinc #X position output

fmt Y 3 yinc #Y position output

fmt Z 3 zinc #Z position output

fmt A 11 cabs #C axis position

fmt A 14 cinc #C axis position

fmt A 2 indx_out #Index position <<<<<<<<<<<<<<< B0. output

fmt R 14 rt_cinc #C axis position, G68

fmt I 3 iout #Arc center description in X

fmt J 3 jout #Arc center description in Y

fmt K 3 kout #Arc center description in Z

fmt R 2 arcrad$ #Arc Radius

fmt F 15 feed #Feedrate

fmt P 11 dwell$ #Dwell

fmt M 5 cantext$ #Canned text

fmt F 2 pitch #Tap pitch (units per thread)

  • Like 1
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...