×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Fanuc 21m programming question

Fanuc 21m programming question

Fanuc 21m programming question

(OP)
Hello,

I have come across something in a program that I have never seen. The program has 4 lines in it that will have either a x or y axis move followed by K0.

example
x240.5 k0
y100.2 k0

Any idea what the K0 is?
thanks,
Bob

RE: Fanuc 21m programming question

The Fanuc has a repeat function used in the G80 series commands.

Example would be:

G81 Z-20.0 R5.0 F100.0 K2
X100.0 K2

The K in these examples would drill twice at each location. Perhaps the programmer was anticipating a problem?

Dave

RE: Fanuc 21m programming question

(OP)
thanks for the reply. Im assuming the K0 is dont drill at all. This is during a move with the B axis turned over and the drill moving around a clamp cylinder. I figure it was for safety but still not sure it was needed.
Im actually on the maintenace end of things but trying to learn the programming side also.

Thanks,
Bob

RE: Fanuc 21m programming question

Somebody once told me that a K0 would let you skip some holes in a hole pattern.  Say you broke a tap in hole 3 of 8, but wanted to tap 4-8 before removing the broken tap.  Put K0 in the xy lines of the holes you want to bypass.

RE: Fanuc 21m programming question

(OP)
maybe this person did something like grid drilling and just put the K0 at the holes they didnt want to drill? I will take them out and single block thru it (slow speed of course) and let ya know.

thanks,
Bob

RE: Fanuc 21m programming question

K0 = data set only

Typically K0 is used to data set a canned cycle so that the action is not carried out when the cycle line is read. This is normally used when a sub-program is holding the hole positions for instance.

i.e.
G81 X1. Y1. R.5 Z-1. F1. K0
M98P1000

If the K was left out the cycle would execute before calling sub.

In effect, as mentioned above, it is usable as a position skip.

Older FANUC's use L instead of K. Nornmally a K with a value is used in conjuction with INCREMENTAL values in a canned cycle and will produce a grid shift with each instance. ABSOLUTE will run twice at same location as previously mentioned.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources