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:

G83 drill cycle on the sub spindle


Recommended Posts

Hi Guys

 

At work im running a 2006 Doosan 2000sy 6 axis lathe with a Fanuc 18i-TB control. When I post (from mastercam x6 with MPLmaster post) a face drilling cycle for the sub spindle the code comes out like this.

 

 

(TOOL - 1 OFFSET - 19)

(#7 DRILL)

(C-AXIS FACE DRILL)

G55

T0919

G17G98

M135

G0A45.

G0X3.875Y0.Z-.25M8

G97S3000M33

G83Z.45R.15Q1000F6.M189

A-45.Q1000

A0.Q1000

A165.Q1000

A75.Q1000

A120.Q1000

A-75.Q1000

A-165.Q1000

A-120.Q1000

G80

M9

M190

G28U0.V0.W0.H0.M35

T0100

M30

 

 

This puts the machine in alarm. I figure its the M189. If I add M389 before the G83 drill cycle and add M189 to every drill point and close the section of code with M289 all seems to work properly. The code below works perfectly. My question, is it possible to make the mplmaster post processor output the M389 just before the G83 cycle and output M289 after the G80 statment.

Just to be clear

 

M189 = Sub Spindle full brake

M190 = Sub Spindle brake release

 

 

 

(TOOL - 4 OFFSET - 4)

(15/32" DRILL)

G55

T0404

G17G99

M135

M7

G0A0.

G0Y0.Z-.25 M389

X3.5

G97S2000M33

Z.865

G83Z1.34R0.F.008M189

X4.5A-12.M189

X3.5A-24.M189

X4.5A-36.M189

X3.5A-48.M189

X4.5A-60.M189

X3.5A-72.M189

X4.5A-84.M189

X3.5A-96.M189

X4.5A-108.M189

X3.5A-120.M189

X4.5A-132.M189

X3.5A-144.M189

X4.5A-156.M189

X3.5A-168.M189

X4.5A-180.M189

X3.5A-192.M189

X4.5A-204.M189

X3.5A-216.M189

X4.5A-228.M189

X3.5A-240.M189

X4.5A-252.M189

X3.5A-264.M189

X4.5A-276.M189

X3.5A-288.M189

X4.5A-300.M189

X3.5A-312.M189

X4.5A-324.M189

X3.5A-336.M189

X4.5A-348.M189

G80

Z-.25

M289

M9

M190

M35

G28U0.V0.

M01

  • Like 1
Link to comment
Share on other sites

The M389 dose not need to be set for the main spindle under normal operation, unless I forget to add the M389 at the end of code when drilling on the sub. I would not really need this feature to be turned on or off. I would just like to have the M289,M389 output with all G83 drill cycles used on the sub spindle. Thanks for your reply SRD93PGT

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