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:

Possible to speed up Fanuc control?


Recommended Posts

1 hour ago, AMCNitro said:

Stupid question...Are you using filters on the 3D part of the program?  It would greatly reduce the size of the code, might allow you to run it off of the machine memory.

Yes I am. But for the desired finish there is still too much program for my machine memory.

  • Like 1
Link to comment
Share on other sites

There are a lot of good suggestions here,  but this one was not listed  and it  works well. 

Has any one tried Macro-B and M99 and a N number, I have had this issue in the past with the search slowing down the control, and I have run very large files using M99 this will jump and not search saving a lot of time and you can do it all in one file. It will cost you the time of making N numbers if you don't set your post up to output it. See example below,

%
O1234(SAMPLE FILE) 
G0G17G21G40G49G80G90 

N1T9001(100196 FACE MILL)
M6 
G543H109.990(CHECK GL) 
G65P8304B0.(COORDINATE ROTATION) 
M11
G0G90G54B0.M8
M10
G0G90G54X-110.76Y39.39S440M3T9002
G43H99Z150.
#21=2001  <-----(Set return line number)
M99P1001  <-----(Jump to Sub)
N2001 <-----(Return line number)
G0G90G55X-110.76Y39.39 
Z150.
#21=2002  <-----(Set new return line number)
M99P1001 <-----(Jump to Sub)
N2002 <-----(Return line number)
M5 
G0G91G30Z0.M9
G0G91G30X0.Y0. 
M01

G0G91G30Z0.M9
G0G91G30X0.Y0. 
M11
G0G28G91B0.
M10
M30 

N1001(100196) <-----(Sub)
Z46.5
G1Z44.F304.
X-12.35
X63.85 
G0Z150.
M99P#[21] <-----(Jump to return line number)

%

  • Like 1
Link to comment
Share on other sites
7 hours ago, Craig-B said:

There are a lot of good suggestions here,  but this one was not listed  and it  works well. 

Has any one tried Macro-B and M99 and a N number, I have had this issue in the past with the search slowing down the control, and I have run very large files using M99 this will jump and not search saving a lot of time and you can do it all in one file. It will cost you the time of making N numbers if you don't set your post up to output it. See example below,


%
O1234(SAMPLE FILE) 
G0G17G21G40G49G80G90 

N1T9001(100196 FACE MILL)
M6 
G543H109.990(CHECK GL) 
G65P8304B0.(COORDINATE ROTATION) 
M11
G0G90G54B0.M8
M10
G0G90G54X-110.76Y39.39S440M3T9002
G43H99Z150.
#21=2001  <-----(Set return line number)
M99P1001  <-----(Jump to Sub)
N2001 <-----(Return line number)
G0G90G55X-110.76Y39.39 
Z150.
#21=2002  <-----(Set new return line number)
M99P1001 <-----(Jump to Sub)
N2002 <-----(Return line number)
M5 
G0G91G30Z0.M9
G0G91G30X0.Y0. 
M01

G0G91G30Z0.M9
G0G91G30X0.Y0. 
M11
G0G28G91B0.
M10
M30 


N1001(100196) <-----(Sub)
Z46.5
G1Z44.F304.
X-12.35
X63.85 
G0Z150.
M99P#[21] <-----(Jump to return line number)

%

The control always seems faster looking for an n number in memory or run mode instead of searching in edit

  • Like 1
Link to comment
Share on other sites
14 hours ago, Craig-B said:

There are a lot of good suggestions here,  but this one was not listed  and it  works well. 

Has any one tried Macro-B and M99 and a N number, I have had this issue in the past with the search slowing down the control, and I have run very large files using M99 this will jump and not search saving a lot of time and you can do it all in one file. It will cost you the time of making N numbers if you don't set your post up to output it. See example below,


%
O1234(SAMPLE FILE) 
G0G17G21G40G49G80G90 

N1T9001(100196 FACE MILL)
M6 
G543H109.990(CHECK GL) 
G65P8304B0.(COORDINATE ROTATION) 
M11
G0G90G54B0.M8
M10
G0G90G54X-110.76Y39.39S440M3T9002
G43H99Z150.
#21=2001  <-----(Set return line number)
M99P1001  <-----(Jump to Sub)
N2001 <-----(Return line number)
G0G90G55X-110.76Y39.39 
Z150.
#21=2002  <-----(Set new return line number)
M99P1001 <-----(Jump to Sub)
N2002 <-----(Return line number)
M5 
G0G91G30Z0.M9
G0G91G30X0.Y0. 
M01

G0G91G30Z0.M9
G0G91G30X0.Y0. 
M11
G0G28G91B0.
M10
M30 


N1001(100196) <-----(Sub)
Z46.5
G1Z44.F304.
X-12.35
X63.85 
G0Z150.
M99P#[21] <-----(Jump to return line number)

%

Great tip mind showing us the post mods to maker that happen? 😉 Not sure if I can figure that one out. :whistle:

Link to comment
Share on other sites
16 hours ago, Craig-B said:

There are a lot of good suggestions here,  but this one was not listed  and it  works well. 

Has any one tried Macro-B and M99 and a N number, I have had this issue in the past with the search slowing down the control, and I have run very large files using M99 this will jump and not search saving a lot of time and you can do it all in one file. It will cost you the time of making N numbers if you don't set your post up to output it. See example below,


%
O1234(SAMPLE FILE) 
G0G17G21G40G49G80G90 

N1T9001(100196 FACE MILL)
M6 
G543H109.990(CHECK GL) 
G65P8304B0.(COORDINATE ROTATION) 
M11
G0G90G54B0.M8
M10
G0G90G54X-110.76Y39.39S440M3T9002
G43H99Z150.
#21=2001  <-----(Set return line number)
M99P1001  <-----(Jump to Sub)
N2001 <-----(Return line number)
G0G90G55X-110.76Y39.39 
Z150.
#21=2002  <-----(Set new return line number)
M99P1001 <-----(Jump to Sub)
N2002 <-----(Return line number)
M5 
G0G91G30Z0.M9
G0G91G30X0.Y0. 
M01

G0G91G30Z0.M9
G0G91G30X0.Y0. 
M11
G0G28G91B0.
M10
M30 


N1001(100196) <-----(Sub)
Z46.5
G1Z44.F304.
X-12.35
X63.85 
G0Z150.
M99P#[21] <-----(Jump to return line number)

%

Ooooo I like this. I ended up splitting my program into separate programs but I will definitely be trying this out!

Thank you for your tip!

  • Like 1
Link to comment
Share on other sites
1 hour ago, Craig-B said:

Sure as long as you guys don't laugh at it. Its an old  V8 MPmaster post that needs to be upgraded from from a long time a ago back when I was a post tweaker 😀 

I would do it totally different now a days, but it was good for the time and still works. 

see the attachment

Sample_M99_Jump.mcpost

Thank you sir. Always good to see how someone else goes about doing something. :respect:

Link to comment
Share on other sites
On 9/7/2020 at 1:21 PM, Tinger said:

Hi all,

I'm running 3 parts at a time using local subprograms that are called with M98 Qxxx. There is a bit of 3D work so the programs are long. My issue is when it searches for the subprogram, the control will take up to 20 seconds per sub, per part. Other than separating the sub into separate programs ( I really want to to keep everything in the same program), Is there a way to allow the control to zip thru the code faster to find the correct sub? The machine is a 2018 Doosan DNM5700 with a "Doosan Fanuc i Series" controller.

 

Thanks for your time.

Your problem is that the search the way your currently doing is that the search always starts at the beginning of the program no matter where the search is called from. The only way to speed the search is to search for subprograms. There are a lot fewer O numbers to search for than line numbers. If your reason is having to individually delete the subprograms due to wanting to keep certain programs in memory then you should make those programs O8xxx or O9xxx and lock those programs using your machine parameters. You can then delete all the part programs in one process without deleting the programs you want to keep in memory.

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