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:

Limiting C axis output to 0-359.9999


Zoffen
 Share

Recommended Posts

What post are you using?

Changing these below from zero to two worked for me...

pang_output : 2 	#Angle output options, primary                               		
sang_output : 2 	#Angle output options, secondary
               	#0 = Normal angle output
               	#1 = Signed absolute output, 0 - 360
               	#2 = Implied shortest direction absolute output, 0 - 360

Link to comment
Share on other sites

What post are you using?

Changing these below from zero to two worked for me...

pang_output : 2 	#Angle output options, primary                               		
sang_output : 2 	#Angle output options, secondary
               	#0 = Normal angle output
               	#1 = Signed absolute output, 0 - 360
               	#2 = Implied shortest direction absolute output, 0 - 360

 

Yes this will work for getting the correct angles, but if you're also using inverse time feedrate you'll get a problem.

 

Forum link

Link to comment
Share on other sites

What post are you using?

Changing these below from zero to two worked for me...

pang_output : 2 	#Angle output options, primary                               		
sang_output : 2 	#Angle output options, secondary
               	#0 = Normal angle output
               	#1 = Signed absolute output, 0 - 360
               	#2 = Implied shortest direction absolute output, 0 - 360

I am using GENERIC FANUC 4X MT_LATHE post.

 

I cannot find pang_output and sang_output either

Link to comment
Share on other sites

found this in my post:

#C-axis variables for calculations
c_axistype   : 0     #1 = C axis winds-up, 2 = C axis signed absolute
                    #3 = index positioning, 4 = shortest direction (do not set here, use string)
rev_brkflag  : 0     #Revolution break flag. 0 = No break, 1 = Break every 90 or 360 degrees (see plin0$)                      
ipr_type     : 0     #Feedrate for Rotary, 0 = UPM, 1 = DPM
csav         : 0     #Initial c axis result from pxyzcout call
czero_csav   : 0     #Save csav when circle at zero detected
c_wnd        : 0     #Calculation for c axis position tracking (abs-wind)
prvc_wnd     : 0     #Saved cout calculation from deg., this is cabs in mpfan
rev          : 0     #C axis wind-up multiplier
prvfrdeg     : 0     #Feedrate deg/min actual
circum       : 0     #Circumference
ldelta       : 0     #Linear distance for deg/min, linear
cdelta       : 0     #Total linear and angular motion for deg/min
cdelta_calc  : 0     #Rotation calculation
cldelta      : 0     #Calculation for deg/min, linear and rotary
sav_rev      : 0     #Saved revolution counter
indx_out     : c9k   #Rotation direction calculation
fmt     17  frdeg    #Feedrate deg/min actual
fmt     20  indx_mc  #Rotation direction calculation

and this:

#SET BY MD - Variables to capture parameter values - use to set post switches in pset_mach
rot_axis     : 0     #Axis of rotation - 1=X, 2=Y, 3=Z
rot_type     : 0     #Rotary type - 0=signed continuous, 1=signed absolute, 2=shortest direction
rot_dir      : 0     #Rotary direction - CW is positive, 0 = false, 1 = true
rot_index    : 0     #Index or continuous - 0 = continuous, 1 = index
rot_angle    : 0     #Degrees for each index step with indexing spindle
component_type : 0   #Component type: (See documentation for complete list - )
                      #0 = MACHINE
                      #1 = STOCK_COMPONENT
                      #2 = MISC_COMPONENT
                      #3 = MACHINE_BASE_COMPONENT
                      #4 = LINEAR_AXIS_COMPONENT
                      #5 = ROTARY_AXIS_COMPONENT
                      #6 = RECT_TABLE_COMPONENT
                      #12 = CHUCK_COMPONENT
                      #24 = TOOL_SPINDLE_COMPONENT
                      #23 = ATC_COMPONENT
xpos_dir     : 0     #X Axis direction flag
ypos_dir     : 0     #Y Axis direction flag
zpos_dir     : 0     #Z Axis direction flag
axis_label   : 0     #Axis label - 1=X,2=Y,3=Z

Link to comment
Share on other sites

i tried forcing my C output to 1 degree indexing in the mach def but that had no effect.

 

It appears to me that the logic isn't built into my post. Can someone point me in the right direction what logic i have to add to the post. I probably have to add some variables then capture parameters from the machine definition but then where would i place this logic?

 

Or can someone post some of their logic out of their post for this?

 

thanks a bunch!

Link to comment
Share on other sites
  • 9 years later...
On 7/21/2011 at 12:22 AM, Zoffen said:

i tried forcing my C output to 1 degree indexing in the mach def but that had no effect.

 

It appears to me that the logic isn't built into my post. Can someone point me in the right direction what logic i have to add to the post. I probably have to add some variables then capture parameters from the machine definition but then where would i place this logic?

 

Or can someone post some of their logic out of their post for this?

 

thanks a bunch!

Hi Zoffen, 

 

Since this is an old forum lost, I want to ask you did you solve your problem? 

 

I ran into same problem with my machine. C axis is rotating in material without going to some safe distance. What part of Post I need to modify? I am not familiar with variables or any kind of post processor modification.

 

Thanks for your help! 

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