588,146 active members*
6,175 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > G-Code Programing > Question on using g10 for work offsets HMC Fanuc
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    440

    Question on using g10 for work offsets HMC Fanuc

    I have not been able to find this in the manuals for the Fanuc control (310is). We use G10 to set the work offsets, normally center or rotation of the rotary axis, but I haven't been able to find out what the L address signifies. Our programs that predate me use L2 but I'd like to understand why and how it is used. I'd appreciate any illumination that someone is willing to share.

    Thanks
    Scott
    Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
    Mark Twain

  2. #2
    Join Date
    Mar 2003
    Posts
    2932
    L2 specifies the standard WCS (1 to 6 - G54 to G59) (see attached .jpg)
    L20 specifies the additional WCS (1 to 48 - G54.1 P1 to P48)
    Also remember, G91 can be used to add or subtract from the value currently in the register.

    So:

    G10 L2 P2 X-12.3456 sets X of G55 to -12.3456

    G10 L20 P2 X-12.3456 sets X or G54.1 P2 to -12.3456

    G91 L20 P6 X-0.03 reduces the value in G54.1 P6 by 0.03.
    Attached Thumbnails Attached Thumbnails 310is Programmable WCS modification.jpg   310is Additional WCS Setting.jpg  

  3. #3
    Join Date
    Jun 2006
    Posts
    440
    So the only values for L are 2 which sets G54-G59 depending on the P value of 1-6, or 20 which allows for 48 additional WCS that would be called in a program as G54.1 Pnn. Is that correct?

    Quote Originally Posted by dcoupar View Post
    L2 specifies the standard WCS (1 to 6 - G54 to G59) (see attached .jpg)
    L20 specifies the additional WCS (1 to 48 - G54.1 P1 to P48)
    Also remember, G91 can be used to add or subtract from the value currently in the register.

    So:

    G10 L2 P2 X-12.3456 sets X of G55 to -12.3456

    G10 L20 P2 X-12.3456 sets X or G54.1 P2 to -12.3456

    G91 L20 P6 X-0.03 reduces the value in G54.1 P6 by 0.03.
    Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
    Mark Twain

  4. #4
    Join Date
    Feb 2008
    Posts
    586
    No, L2 and L20 have to do with the work offsets, but other "L"s are for things like parameters, tool offsets, pitch comp, and things you usually don't want to mess with from inside a program.

  5. #5
    Join Date
    Jun 2006
    Posts
    440
    Quote Originally Posted by beege View Post
    No, L2 and L20 have to do with the work offsets, but other "L"s are for things like parameters, tool offsets, pitch comp, and things you usually don't want to mess with from inside a program.
    OK. I appreciate the explanations thanks.
    Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
    Mark Twain

Similar Threads

  1. Replies: 12
    Last Post: 04-05-2019, 10:21 PM
  2. Fanuc 0T Work offsets
    By John3 in forum Fanuc
    Replies: 7
    Last Post: 10-17-2009, 05:21 AM
  3. Work Offsets
    By RMT in forum Mach Mill
    Replies: 14
    Last Post: 12-14-2008, 04:49 PM
  4. work offsets
    By 5axisdan in forum Mazak, Mitsubishi, Mazatrol
    Replies: 0
    Last Post: 07-04-2005, 04:17 PM
  5. Work Offsets
    By new2cnc in forum Mastercam
    Replies: 3
    Last Post: 04-30-2005, 04:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •