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:

Dmu 50 post configuration


Recommended Posts

Hello

I am working on dmu 50 post

here is the post setup:

#Assign axis address
str_pri_axis : "B" 
str_sec_axis : "C"    
str_dum_axis : "A"

#Toolplane mapped to top angle position strings
str_n_a_axis : "A"    
str_n_b_axis : "B"    
str_n_c_axis : "C"

mtype        : 3

head_is_sec  : 0

 

rotaxis1$ = vecz   #Zero          
rotdir1$  = vecx  #Direction    

rotaxis2$ = vecx  #Zero           
rotdir2$  = vecy  #Direction      
                                       
p_nut_restore    
      result = updgbl(rotaxis1$, "vecz") #Zero
      result = updgbl(rotdir1$,  "vecx") #Direction
      result = updgbl(rotaxis2$, "vecx") #Zero
      result = updgbl(rotdir2$, "vecy")  #Direction

 

saxisx       : 0     #The axis offset direction?
saxisy       : 0     #The axis offset direction?
saxisz       : 155 #The axis offset direction?

r_intersect  : 0     #Rotary axis intersect on their center of rotations
 

n_saxisx     : 0     #The axis offset direction?
n_saxisy     : 0     #The axis offset direction?  178.763
n_saxisz     : 0     #The axis offset direction?

n_r_intrsct  : 0     #Rotary axis intersection with nutating (normally zero) 0
frc_cinit    : 1

top_type     : 2

shift_90_s   : 1 

vmc          : 1  
rot_on_x     : 3   #0 = Off, 1 = About X, 2 = About Y, 3 = About Z
                  
rot_ccw_pos  : 0  
rot_type     : 1  

adj2sec      : 1 

 auto_set_lim : 1  
pri_limtyp$  : 0
sec_limtyp$  : 0

pri_limlo$   : 0    
pri_limhi$   : 360
#Set intermediate angle, in limits, for post to reposition machine
pri_intlo$   : -5
pri_inthi$   : 365

#Set the absolute angles for axis travel on secondary
sec_limlo$   : -75
sec_limhi$   : 75
#Set intermediate angle, in limits, for post to reposition machine
sec_intlo$   : -80
sec_inthi$   : 80

 

bias_null    :     0

use_tool_plane_as_bias : no$ 

 

#Machine base matrix (Base matrix to map positions into)
matb1$       : 1
matb2$       : 0
matb3$       : 0
matb4$       : 0
matb5$       : 1 # 1
matb6$       : 0
matb7$       : 0
matb8$       : 0.707107
matb9$       : -0.707107

 

 

 

 

 

I get tis error when generating G-codes  "ERROR-SETUP FOR PRIMARY OR SECONDARY AXIS IS ILLEGAL"

 

image.thumb.png.b61cbb5033c6710344129d68d53cfb7b.png

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