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:

Setting up for block drill


PeterDnz
 Share

Recommended Posts

I am trying to get X3, our post and our machine to use the block drill.

We have set up the block drill in the MD using the offsets for each of 9 drills.

Our machine has an Osai 10 control and we are using E variables to assign an incremental origin shift each time a different array of drills is dropped to suit the nested parts. It seems to work ok but is not very fast. Each time new drills are selected in the nc the machine goes to Z home first then drops the next lot of drills.

It just feels like I'm on the wrong track with this.

Here's just the block drill section of code.

 

;BLOCK DRILL 9 X 5MM DOWEL DRILL

;1|10MM STRAIGHT BIT

;2|9.6MM DIA COMPRESSION

E1=-92.5,-335.,-60.5,-335.,-28.5,-335.,3.5,-335.,35.5,-335.,35.5,-303.,35.5,-271.,35.5,-239.,35.5,-207.

G71

(UAO,1)

(UIO,Z(@MATERIAL))

G27

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE1,YE2)

G00X1906.049Y999.444

Z10.

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

X1778.049

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

Y837.444

G01Z-15.F2000.

G00Z10.

M88

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE3,YE4)

X1938.049

G01Z-15.F2000.

G00Z10.

M88

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE7,YE8)

X2109.549Y813.444

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

(UAO,1)

(UIO,XE9,YE10)

X2156.Y521.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X2132.Y317.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

Y189.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

X2156.Y82.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X1970.Y189.5

G01Z-15.F2000.

G00Z10.

M88

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE11,YE12)

Y349.5

G01Z-15.F2000.

G00Z10.

M88

M06 T28.28

(UAO,1)

(UIO,XE15,YE16)

X1716.Y521.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE9,YE10)

X1692.Y317.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

Y189.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

X1716.Y82.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X1530.Y189.5

G01Z-15.F2000.

G00Z10.

M88

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE11,YE12)

Y349.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE9,YE10)

X1252.Y322.5

G01Z-15.F2000.

G00Z10.

M88

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE11,YE12)

Y482.5

G01Z-15.F2000.

G00Z10.

M88

M06 T28.28

(UAO,1)

(UIO,XE15,YE16)

X1276.Y654.

G01Z-15.F2000.

G00Z10.

M88

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE7,YE8)

X1288.Y812.

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE1,YE2)

X1084.5Y836.

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

X956.5

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

X849.Y812.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

(UAO,1)

(UIO,XE9,YE10)

X836.Y654.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X812.Y450.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

Y322.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

X836.Y215.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X650.Y322.5

G01Z-15.F2000.

G00Z10.

M88

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE11,YE12)

Y482.5

G01Z-15.F2000.

G00Z10.

M88

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE7,YE8)

X657.38Y811.938

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE1,YE2)

X453.88Y835.938

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

X325.88

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

X218.38Y811.938

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

X325.88Y997.938

G01Z-15.F2000.

G00Z10.

M88

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE3,YE4)

X485.88

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

(UAO,1)

(UIO,XE9,YE10)

X396.Y654.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X372.Y450.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

Y322.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

X396.Y215.

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

X210.Y322.5

G01Z-15.F2000.

G00Z10.

M88

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE11,YE12)

Y482.5

G01Z-15.F2000.

G00Z10.

M88

M06 T21.21

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE1,YE2)

X956.5Y998.

G01Z-15.F2000.

G00Z10.

M88

M06 T22.22

M06 T23.23

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE3,YE4)

X1116.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

(UAO,1)

(UIO,XE9,YE10)

X1090.Y450.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

M06 T27.27

M06 T28.28

Y322.5

G01Z-15.F2000.

G00Z10.

M88

M06 T25.25

M06 T26.26

X1276.Y215.

G01Z-15.F2000.

G00Z10.

M88

M06 T24.24

M06 T25.25

(UAO,1)

(UIO,XE7,YE8)

X1670.549Y813.444

G01Z-15.F2000.

G00Z10.

M88

 

Cheers

Peter D.

Link to comment
Share on other sites

Thanks George for the feedback.

Our machine is an orphan. What I mean is it's builder is recently out of business so support is non-existent. I've been in touch with the Osai guys in Sydney (who I beleive wrote the logic)so hopefully they can help me work through this to a satisfactory solution.

 

If anyone is able to post a sample nc from a similar MD I would really appreciate it, just to get an idea of how others are handling what I thought should be a relatively simple operation.

 

Much thanks.

Peter.

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