Move the Z-axis only at the current feed rate to the Z position. Dwell for the P number of seconds. Retract the Z-axis at the current feed rate to clear Z. Return to G-code list. G90 & G91 Distance Mode. Interpretation of Mac code can be in one of two distance modes: absolute or incremental. To go into absolute distance mode, program G90.
- Forum Actions
- Quick Links
Thread Tools
Display
- Aluminum
- Join Date
- May 2008
- Location
- Fallbrook, CA
- Posts
- 86
- Post Thanks / Like
- Likes (Given)
- 2
- Likes (Received)
- 2
Fanuc tool offset behavior
Hello all,
I'm trying to find out if there is any way to change the tool offset behavior of a Fanuc 10M based milling machine. As it is now, every time I command a G43 Hxx, the head instantly moves to correct the position by the offset amount. As you can imagine, this significantly increases the pucker factor when working on this machine. It doesn't matter if I'm in G90 or G91, or whether I also give it a Z value. What I want is for the offset amount to simply shift the coordinate position, or wait until a z move is commanded. I've looked all over the parameter manual for this control, and I can't find anything that seems to address this. There are two parameters, LGT and LWT, #60000 bit 2 and 3 that seem apparently address this, but the manual says they are only for the 10T/11T/12T series of lathe controls. I've tried setting them anyway, but they didn't have any apparent effect.
Anyone know what I'm missing? or is this just not possible on this vintage of control?
Thanks,
Cameron - Heinz R. PutzStainless
- Join Date
- Mar 2006
- Location
- Columbus, Ohio
- Posts
- 1,115
- Post Thanks / Like
- Likes (Given)
- 3
- Likes (Received)
- 124
Fanuc tool offset behavior
Hello Cameron:
Here is a simple program that should work on any machine with the 10M control.
01000
G90 G80 G40
T1 M6
G54 G0 X1.0 Y1.0S800 M3
G43 H1 Z1.0
G81 X1.0 Y1.0 R.1 Z-.5 F10.0 M8
G80
G91 G28 Z0
G28 X0 Y0
M30
Its one of the programs I have as an example on my website, all the steps ar explained. There are more, take a look.
This program has worked on every 10M I have trained shops on for the last many years.
www.doccnc.com
Heinz. - Dan from OaklandTitanium
- Join Date
- Sep 2005
- Location
- Oakland, CA
- Posts
- 2,329
- Post Thanks / Like
- Likes (Given)
- 209
- Likes (Received)
- 607
Cameron- I think it is just a parameter change, but I'm not near my manuals right now.
Do you have the control manual for a 10 M with the parameter info? I'll take a look and see what I can dig up. Someone else may chime in here with the solution- lots of 10Ms out there. Are you programming a Z position in your g43 line as above? I would try that 1st as Heinz suggested.
Dan - Cast Iron
- Join Date
- May 2009
- Location
- wa
- Posts
- 271
- Post Thanks / Like
- Likes (Given)
- 0
- Likes (Received)
- 8
This may work too. I have not tried it. The reason it takes off is the GO commands rapid. If you have a rapid override then you can slow it down.
Anytime you call a feed rate you can of course slow it down with the feed rate dial, well that is if it has one, the stinking buttons like HAAS is way to slow.
O1324
G91G28Z0
T2M6
G90G0G54
X0.0Y0.0
S1000M3
G1G43H2Z2.0F20.0 <<<<<< G1 and Feed ???? Maybe
AND ON AND ON
Also it kinda does not make sense to command an H compensation shift before any Z is commanded.
Why? Because of the various values used. Some cases the shift is a plus value, and that would want to
jam the upper limit switch. If its a minus value then it wants to of course move down. That sort of thing may cause more problems, the way it works is just fine. - Aluminum
- Join Date
- May 2008
- Location
- Fallbrook, CA
- Posts
- 86
- Post Thanks / Like
- Likes (Given)
- 2
- Likes (Received)
- 2
Heinz, thanks for the help, the program works just fine. The problem is that when I do the G43 command, either with or without a Z parameter, the spindle goes to Zxx + Tool Length if I have a Z value defined, or just Z0.0 + tool length if I don't. This isn't so much of a problem, it's when my CAM program thows in a G49 to cancel the offset, that it tries to put the tool through the table. I'm having to retract to at least the tool length to avoid touble, but on some of the longest tools this is difficult. From reading other posts on the subject, it sounds as though on many machines the g43 / g49 commands don't actually result in movement, simply a shifting of coordinates by the tool length. I'm hoping it's possible to make my machine behave similarly.
Thanks,
Cameron - Cast Iron
- Join Date
- Sep 2008
- Country
- UNITED STATES
- State/Province
- Florida
- Posts
- 356
- Post Thanks / Like
- Likes (Given)
- 29
- Likes (Received)
- 93
I dont know the answer to your question, but you are correct in stating that on a Fanuc (10M, anyway) any time you command G43 Hxx and a Z move the tool length offset realized at the machine will be added, not simply changed. Haas does not do this. It does what you wish, it simply alters the tool length, but does not add to it. G49 cancel (or I believe G28 Zxx also) is the only way(s) to cancel the current offset. I fully understand what your concern is, because Ive seen more than one operator crash a machine by invoking a G43 with one already active.
- Hot Rolled
- Join Date
- May 2007
- Country
- UNITED STATES
- State/Province
- Massachusetts
- Posts
- 828
- Post Thanks / Like
- Likes (Given)
- 13
- Likes (Received)
- 70
My parameter book has param. # 6000, bit #7 (first one on the left):
Tool offset is applied:
0: Even in a block containing no movement command
1: Only in a block containing a movement command
Not sure this is the parameter you need to change, but maybe? - Aluminum
- Join Date
- May 2008
- Location
- Fallbrook, CA
- Posts
- 86
- Post Thanks / Like
- Likes (Given)
- 2
- Likes (Received)
- 2
Beege, I just tried #6000, bit 7. Unfortunately it doesn't seem to make any difference. From what I can tell from that area of the parameter manual, it looks like what I want is only available on the lathe controls, not for milling. :-( I've played around some more, and I think I will be fine as long as I specify a Z value along with every G49 something like G49Z19.0 will cause it to go to a safe Z value rather than dive for the table.
- Plastic
- Join Date
- Apr 2005
- Location
- East Texas, USA
- Posts
- 26
- Post Thanks / Like
- Likes (Given)
- 0
- Likes (Received)
- 1
Would this work?
O2020
start up code, etc.
G0 G43 Z.1 H1
yada
yada
yada
G0 G43 Z0.0 H0 (to send Z to home position)
This is what I used to use on an old 6M.
GW - Aluminum
- Join Date
- Sep 2008
- Location
- San Jose, California
- Posts
- 118
- Post Thanks / Like
- Likes (Given)
- 0
- Likes (Received)
- 1
Originally Posted by gwWould this work?
O2020
start up code, etc.
G0 G43 Z.1 H1
yada
yada
yada
G0 G43 Z0.0 H0 (to send Z to home position)
This is what I used to use on an old 6M.
GW
No
G0 G49 Z0.0 H0 (to send Z to home position) - Aluminum
- Join Date
- Oct 2009
- Country
- UNITED STATES
- State/Province
- Massachusetts
- Posts
- 116
- Post Thanks / Like
- Likes (Given)
- 9
- Likes (Received)
- 16
I have always sent the Z to a position when turning on and off the H offset.
example
G00 G90 G43 H1 Z1.
G00 G49 G53 Z0.
- Site Areas
- Forums
- Manufacturing Today
- Specific Machine Forums
- Open Discussion
- Commerce
- Machinery Manual, Brochure and Photo Archives
- Forum features
«Previous Thread | Next Thread»
Bookmarks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
- BB code is On
- Smilies are On
- [IMG] code is On
- [VIDEO] code is On
- HTML code is Off
Recently I had to solve a problem of a very slow transfer of files between two computers on a LAN network using Ethernet cable. Both machines had Windows 7 x64 installed and the transfer speed was ridiculously slow at 10-15kb/s. Using Task Manager under Networking tab, Network Utilization was showing only around 0.25% for Local Area Connection.
I looked around the web for solutions and found quite a few suggestions how to tackle this problem. Those that I tried and the one that finally solved my problem are discussed here.
Turning off 'Remote Differential Compression'
One of the first suggestions that I came across was to turn off this Windows Feature in Windows 7.
This suggestion is common on the web but it turns out to be just a myth.
From TechNet:
This is 100% false. Neither Windows Update or file copy operations use RDC at all.
So I ignored this suggestion and continued looking.
Disabling 'TCP Auto-Tuning'
This is another common suggestion that I came across and it uses NETSH command-line utility used for displaying and modifying the network configuration. To make the necessary changes, we need to run that utility as an Administrator.
- Open Command Prompt as Administrator:
- Click on Start Menu
- Type Command in search box
- Command Prompt will show up in results. Right-click on it to open Context Menu
- Select Run as administrator
- If User Account Control Window shows up asking if you want to allow the following program to make changes, select Yes
- Type:
netsh interface tcp set global autotuning=disabled
- Restart the computer
- To verify that the auto-tuning is still disabled type in Command Prompt:
netsh interface tcp show global
This suggestion still didn't solve my problem, so I looked further, but before doing that I wanted to set Auto-tuning back to the default value by typing
netsh interface tcp set global autotuning=normal
in the Command Prompt (running as an Administrator).Disabling 'Large Send Offload (LSO)'
Large Send Offload is a technique of improving network performance while at the same time reducing CPU overhead. Apparently it does not work very well, so it was suggested to disable it. If you would like to know about LSO, check this MSDN article from 2001.
LSO is an option located in a Device Manager under your network adapter, so this solution requires Administrator Privileges.
Follow these steps:
- Open Start Menu, right-click on Computer and select Properties
- Under Control Panel Home located on the left side of the window click on Device Manager
- You will get a list of all devices on your machine. Expand Network Adapters.
- Find your Network Card and double-click on it.
- Select Advanced tab. You will get a list filled with different options.
- Select Large Send Offload V2 (IPv4) and set the value to Disabled
- Do the same for Large Send Offload V2 (IPv6) if it is available
- Click OK
After clicking OK, I tried to send a file over the LAN network. The transfer speed started very slow, but it was gradually picking up speed. I decided to restart the computer and try to send that file again and this time it worked like a charm.
Now that sending of files worked as it should, I also checked speed for receiving files. It turned out that it was still slow but all I had to do to fix that was to disable Large Send Offload V2 on the other computer. Once done, the problem was solved for receiving files as well.
Conclusion
In this post we examined different ways to solve slow speed on a LAN network. One of them is just a common myth, but for other two you need to have administrator privileges. I hope you found this article useful. Consider sharing it on a social networks. Comments are also welcome.
If you solved your slow LAN speed problem in a different way, let me know how and I might add that solution to the list.