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:

B AXIS MOVES BY ITSELF?


Recommended Posts

The Post Block that outputs any rotary in the standard Posts is 'pcout' or 'pfcout'.

 

pbld, n$, pcout, e$

That should get you B-Axis output. But, if the "last B position", and the "current B position" are the same, you won't get B output.

So, make it a "forced block". (Note, these blocks must actually "exist" in your Post before you call them, but they should be there "by default".)

pbld, n$, pfcout, e$

 

Just look for where the 'pcout' or 'pfcout' "output statements" are at, and make your edits there...

Link to comment
Share on other sites

Also, just for full disclosure; most of the Posts have two output "modes", which are controlled by the Radio buttons in the Rotary Axis Properties, inside the Machine Definition.

The two modes are: "Index only - machine positions to fixed positions only", or "Continuous".

With the Continuous option, there are 3 different sub-modes that control the "continuous" output.

These Continuous modes are:

1. Signed Continuous - Axis is allowed to "wind up" past 360 degrees, plus or minus. Post has no default logic for Rotary Limits, unless it is the Generic Fanuc 5X Mill Post (and in that case, the limits are set with variables inside the Post file, and the Limits in the Rotary Axis Properties are ignored).

2. Signed Direction, Absolute Angle - This option means the rotary output is limited to 720 degrees total travel. Output is limited to +-360 degrees, with the Sign controlling the rotary direction.

3. Absolute Angle 0-360. This option keeps rotary output positive, and limited to 360 total travel.

 

The secret squirrel option is to use the "Index mode" (machine positions to fixed angles), and just set the "axis resolution" to .001 degrees. (Typically the "Index mode" is used for machines with limited indexing options, typically 1 degree, or 0.1 degree.)

The point here is that the Index Mode is already setup to output the B-Axis on a separate line, with no Post mods. ( You may have to edit the Format Assignment variable for the output though.)

Typically for all of the Continuous modes, they use these two variables:

cabs

cinc

Index mode uses a different output variable, which I think is:

index_out

Or something like that. It will be located near the "fmt" lines for 'cabs' and 'cinc'.

All you should need to do is set "index mode" in the Rotary Axis Properties, and edit 'index_out' format Assignment to use like, #14?  (You want the 'fs2' with 'decimal, absolute, 3 place. No leading or trailing)

 

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