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:

Bar pull in X6 lathe


DaveR
 Share

Recommended Posts

Is it a dual spindle sl? What it's doing is using the sub spindle to pull the bar. Are you using it that way, or lie a royal spring gripper or coolant powered bar puller in the turret?

 

 

Oh no, I though it would do the bar pull from a turret mounted device.

 

My misundertanding.

 

I don't have a dual spindle machine.

Link to comment
Share on other sites

Bar pull on Haas Lathe. There is an unlimited number of ways to do it.

Regardless of method (bar-pull, bar-feed, sub spindle), your post will need to be modified for your application. All methods are supported.

 

 

 

Below is an example using M97 with an L value to repeat the process for the number of parts per bar.

 

The "Bar-Pull" operation would be the 1st operation in your program.

 

 

*** Add info below to your toolchange section in PST file. This would be included on all programs that included a Bar Pull operation.

 

if opcode$ = 109, # BAR PULL

[

bpull1 = abs(stck_init_z$ - stck_final_z$)

l_word = (46 - bpull1) / bpull1

"M97 P999", *l_word, "(SET REPEAT FOR BAR PULL)", e$

"(BAR LENGTH - LEFT OVER / W-VALUE)", e$

"M30", e$

"N999", e$

" ", e$

]

 

 

*** Add info below to the "pstc_bar_fd" section of your PST file. This is the sequence for the actual bar pull, and will vary depending on the type of puller you are using.

 

 

 

pstck_bar_fd$ #NCI code = 902 available variables:

misc_op_z1 = stck_init_z$ + stck_clear$

misc_op_z2 = stck_init_z$ - stck_grip$

misc_op_z3 = stck_final_z$ - stck_grip$

misc_op_z4 = stck_final_z$ + stck_clear$

 

#~stck_init_z$, ~stck_final_z$, e$

 

# This is only set-up for a simple bar-pull at START of program

 

# bpull1 = abs(misc_op_z1) + abs(misc_op_z4)

bpull1 = abs(stck_init_z$ - stck_final_z$)

gcode$ = 0

toolchng = 1

n$, *sgcode, pwcs, "X0", *misc_op_z1, "M5", e$

n$, *misc_op_z2, e$

n$, "M11 (CHUCK OPEN)", e$

n$, "G04 P0.5 (PAUSE)", e$

n$, "G0", *bpull1, "(PART LENGTH + PART-OFF + FACE OFF)", e$

n$, "M10 (CHUCK CLOSE)", e$

n$, "G04 P1. (PAUSE)", e$

n$, "G0", "W.5 (CLEAR)", e$

n$, "G0", "X6. (CLEAR)", e$

 

!gcode$

bar_pull_flag = 1

toolchng = 0

 

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