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:

every 1 deg.


Recommended Posts

Might be setup in the machine definition that is not a full rotary axis and is only a 1 deg index. Do a search in the post for that setting and see if the machine definition is setup correctly. Sorry X8 here no access to X5 so cannot be of any assistance on that front.

 

Would not hurt to reach out to your Mastercam dealer and see what they say.

Link to comment
Share on other sites

All of the settings for Generic 5X Posts must be configured in the PST file itself.

Do you need to have the rotary breaks on? if not there is a variable inside post called:

 

use_clamp : 1 #Use the automatic clamp Mcode.    <--------    Change this to zero.

  • Like 1
Link to comment
Share on other sites
  • 7 years later...

Hello
I have a big problem with "brk_max_ang" (breaking all angles)
My machine is a TT 5-axis   CA  (A axis +45 ~ +30)

my post just convert the angles between A+45 to A0 by 5 degrees.
But when it goes from A0 to A-30, it cannot break the angle.

the setting  is :
brk_mv_head  : 1     #Break the 5 axis moves to remove gouge #** 0
brk_max_ang  : 2     #'brk_mv_head' maximum angle move, applied if chordal 5
 

GCODE :
;  operation: MJ1
90   L X-2.5 Y+120.108 C+0 A+45 R0 FMAX
100 L Z+286.03 R0 FMAX
110 L Z+188.03 R0 FMAX
120 L Z+186.03 F200
130 L Y+133.77 F1000
140 L Y+126.064 Z+190.075 A+43.216
150 L Y+118.045 Z+193.967 A+41.39
160 L Y+109.723 Z+197.68 A+39.522
170 L Y+101.111 Z+201.188 A+37.617
180 L Y+92.227 Z+204.464 A+35.677
190 L Y+83.091 Z+207.483 A+33.705
200 L Y+73.727 Z+210.222 A+31.707
210 L Y+64.166 Z+212.658 A+29.685
220 L Y+54.437 Z+214.774 A+27.645
230 L Y+44.575 Z+216.552 A+25.593
240 L Y+34.617 Z+217.982 A+23.532
250 L Y+24.601 Z+219.054 A+21.468
260 L Y+14.565 Z+219.764 A+19.407
270 L Y+4.549 Z+220.113 A+17.355
280 L Y-5.408 Z+220.105 A+15.315
290 L Y-15.271 Z+219.748 A+13.293
300 L Y-25.004 Z+219.053 A+11.295
310 L Y-34.576 Z+218.036 A+9.323
320 L Y-43.956 Z+216.715 A+7.383
330 L Y-53.119 Z+215.11 A+5.478
340 L Y-62.042 Z+213.243 A+3.61
350 L Y-70.708 Z+211.137 A+1.784
360 L Y-79.101 Z+208.815 A+0
370 L Y+12.888
380 L Y+76.688
390 L Y-67.803 Z+211.246 A-30
400 L Y-53.803
410 L Z+213.246 R0 FMAX
420 L Z+311.246 R0 FMAX
M5 M9
 

Link to comment
Share on other sites
3 hours ago, JParis said:

In a post I Have it is set like so...

brk_mv_head  : 1     #Break the 5 axis moves to remove gouge
brk_max_ang  : -40    #'brk_mv_head' maximum angle move, applied if chordal

but I want break angles in both positive and negative direction

Link to comment
Share on other sites

yes , but not working

I put here my 5axis setting 

---------------------------------------------------------------------

#Assign axis address

top_map      :3


str_pri_axis : "C"
str_sec_axis : "A"
str_dum_axis : "B"

mtype        : 0 

head_is_sec  : 0 

rotaxis1$ =-vecy         
rotdir1$  =-vecx 

 
rotaxis2$ =  vecz    
rotdir2$  =  -vecy     

p_nut_restore    #Postblock, restores original axis settings
      result = updgbl(rotaxis1$, "-vecy")#Zero      
      result = updgbl(rotdir1$, "-vecx")#Direction    
      result = updgbl(rotaxis2$, "vecz")#Zero      
      result = updgbl(rotdir2$, "-vecy")#Direction   
 

 

use_tlength  : 0 
                 
toollength   : 0 
shift_z_pvt  : 0 
 

shft_misc_r  : 0

 

#Offset in head
saxisx       : 0     #
saxisy       : 0     #
saxisz       : -60

 

 

brk_mv_head  : 1
brk_max_ang  : 2
 

top_type     : 4 

shift_90_s   : 1 

adj2sec      : 1

pri_limlo$   : -99999     #C_axis
pri_limhi$   : 99999

pri_intlo$   : -365
pri_inthi$   : 365

sec_limlo$   : -45 # A_axis
sec_limhi$   : 45
sec_intlo$   : -45
sec_inthi$   : 45

bias_null    : 1 

spind_align  : 3 

 

#Machine base matrix

matb1$       : 1
matb2$       : 0
matb3$       : 0
matb4$       : 0
matb5$       : 1
matb6$       : 0
matb7$       : 0
matb8$       : 0
matb9$       : 1

----------------------------------------------------------

also a my machine axis is attached.

 

 

Axises.PNG

Link to comment
Share on other sites
On 11/26/2022 at 4:42 AM, amir_cnc said:

Hello
I have a big problem with "brk_max_ang" (breaking all angles)
My machine is a TT 5-axis   CA  (A axis +45 ~ +30)

my post just convert the angles between A+45 to A0 by 5 degrees.
But when it goes from A0 to A-30, it cannot break the angle.

the setting  is :
brk_mv_head  : 1     #Break the 5 axis moves to remove gouge #** 0
brk_max_ang  : 2     #'brk_mv_head' maximum angle move, applied if chordal 5
 

GCODE :
;  operation: MJ1
90   L X-2.5 Y+120.108 C+0 A+45 R0 FMAX
100 L Z+286.03 R0 FMAX
110 L Z+188.03 R0 FMAX
120 L Z+186.03 F200
130 L Y+133.77 F1000
140 L Y+126.064 Z+190.075 A+43.216
150 L Y+118.045 Z+193.967 A+41.39
160 L Y+109.723 Z+197.68 A+39.522
170 L Y+101.111 Z+201.188 A+37.617
180 L Y+92.227 Z+204.464 A+35.677
190 L Y+83.091 Z+207.483 A+33.705
200 L Y+73.727 Z+210.222 A+31.707
210 L Y+64.166 Z+212.658 A+29.685
220 L Y+54.437 Z+214.774 A+27.645
230 L Y+44.575 Z+216.552 A+25.593
240 L Y+34.617 Z+217.982 A+23.532
250 L Y+24.601 Z+219.054 A+21.468
260 L Y+14.565 Z+219.764 A+19.407
270 L Y+4.549 Z+220.113 A+17.355
280 L Y-5.408 Z+220.105 A+15.315
290 L Y-15.271 Z+219.748 A+13.293
300 L Y-25.004 Z+219.053 A+11.295
310 L Y-34.576 Z+218.036 A+9.323
320 L Y-43.956 Z+216.715 A+7.383
330 L Y-53.119 Z+215.11 A+5.478
340 L Y-62.042 Z+213.243 A+3.61
350 L Y-70.708 Z+211.137 A+1.784
360 L Y-79.101 Z+208.815 A+0
370 L Y+12.888
380 L Y+76.688
390 L Y-67.803 Z+211.246 A-30
400 L Y-53.803
410 L Z+213.246 R0 FMAX
420 L Z+311.246 R0 FMAX
M5 M9
 

You show that your "Break Max Angle" is set to "2". Try setting it to "5". Your break angle should be evenly divisible into the total +- Angle Range for your Secondary Axis.

You should also try setting "adj2sec" to "-1".

Are you only using the "Table/Table" functions on this machine? (Tool always stays "vertical" and aligned to the Machine Z Axis?)

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