Results 1 to 5 of 5

Thread: Order of register assignments in a block

  1. #1
    Registered
    Join Date
    Jun 2008
    Location
    finland
    Posts
    12
    Downloads
    0
    Uploads
    0

    Order of register assignments in a block

    Hi,

    I'm not able to experiment this myself right now, so I'm asking here.
    For example, consider these two blocks (on Fanuc 0T):

    G97 S300 M3
    M3 S300 G97
    (G97=Constant spindle speed, S300=300 revolutions/minute, M3=Spindle CW)

    Does the first block equal to the second one, or does the controller's internal parser execute each register assignment in order they are given?

    Thanks


  2. #2
    Registered
    Join Date
    Feb 2012
    Location
    USA
    Posts
    1
    Downloads
    0
    Uploads
    0
    yes, but I would prefer the first


  3. #3
    Registered
    Join Date
    Jun 2008
    Location
    finland
    Posts
    12
    Downloads
    0
    Uploads
    0
    That's what I thought. Thank you.


  4. #4
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    In a word-address format, the sequence of different words is not important. However, if you command more than one G-code from the same group, the one specified last becomes active.
    There are exceptions, however.
    For example, all arguments of G65 must come after G65.
    Also, if a block contains both G- and M-code, the G-code may or may not start before execution of M-code is complete.
    It is better to split a block if it is likely to create confusion.


  • #5
    Registered fordav11's Avatar
    Join Date
    Aug 2011
    Location
    Fordaville
    Posts
    1,667
    Downloads
    0
    Uploads
    0
    the first block is better. at least Fanuc execute the commands in the order S T M then axis movement.


  • Similar Threads

    1. Job Opening CAD/CAM/CAE Projects available, register your interest.
      By eProjects in forum Employment Opportunity
      Replies: 2
      Last Post: 12-24-2008, 03:23 AM
    2. need advice - Workoffset B register
      By Kevin Schmidt in forum Haas Lathes
      Replies: 0
      Last Post: 11-19-2008, 06:47 PM
    3. Pin assignments - software
      By viroy in forum General Laser Engraving & Cutting Machine Discussion
      Replies: 1
      Last Post: 08-04-2008, 06:48 AM
    4. UK Workshop (Register your interest)
      By ynneb in forum Europe Club House
      Replies: 17
      Last Post: 06-19-2008, 05:52 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.