System Variables


Results 1 to 9 of 9

Thread: System Variables

  1. #1
    Registered
    Join Date
    Jun 2017
    Location
    United States
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default System Variables

    I am looking for the system variable that is used to store the "initial point" for canned cycles.
    I use several different Fanuc and Mazak controls but this system variable should be the same for all of them.

    Thanks in advance.

    John

    Similar Threads:
    Last edited by 442jet; 06-22-2017 at 01:03 PM.


  2. #2
    Member
    Join Date
    Feb 2006
    Location
    india
    Posts
    1792
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    There is no such system variable on Fanuc.



  3. #3
    Registered
    Join Date
    Jun 2017
    Location
    United States
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    Then where is the value for the initial point stored? It has to be stored some where as you can go back and forth from G98 to G99 and the control know what point to return to.



  4. #4
    Member
    Join Date
    Feb 2006
    Location
    india
    Posts
    1792
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    When we call a canned cycle, control remembers the specified data. Storing data in some system variable is a different thing.



  5. #5
    Registered
    Join Date
    Jun 2017
    Location
    United States
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    Ok. Let me rephrase what I am looking for. Maybe we can expand the answers by expanding the question.

    I am writing a custom drilling cycle using a modal call, "G66", and would like to return to the initial point or the R-plane depending on G98 or G99. In order to do that I need be able to recall both values.

    Does anyone know where the values are stored and how they can be recalled?

    Thank you,
    John



  6. #6
    Member
    Join Date
    Feb 2006
    Location
    india
    Posts
    1792
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    #4010
    If G98 is active, it stores 98
    If G99 is active, it stores 99.
    After reading its value, appropriate action can be taken.
    IF [#4010 EQ 98] GOTO ...



  7. #7
    Registered
    Join Date
    Jun 2017
    Location
    United States
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    Quote Originally Posted by sinha_nsit View Post
    #4010
    If G98 is active, it stores 98
    If G99 is active, it stores 99.
    After reading its value, appropriate action can be taken.
    IF [#4010 EQ 98] GOTO ...

    I understand all of that. I am hung up trying to take the appropriate action.

    IF [#4010 EQ 99] GOTO100
    G00 Z "Initial Point"
    GOTO150
    N100 G00 Z "R-plane"
    N150 M99



  8. #8
    Member
    Join Date
    Feb 2006
    Location
    india
    Posts
    1792
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    If you are defining your own drilling cycle, you would define your R-point and initial point, which you would use.
    Several drilling macros are available on the net. Some of these might exactly suit your requirement. At least, the logic can be studied.



  9. #9
    Member
    Join Date
    Jul 2010
    Location
    South Africa
    Posts
    118
    Downloads
    0
    Uploads
    0

    Default Re: System Variables

    Hi John,
    the below example is in the fanuc manual:
    O9110;
    #1=#4001; .......................Stores G00/G01.
    #3=#4003;.........................Stores G90/G91.
    #4=#4109;.........................Stores the cutting feedrate.
    #5=#5003;.........................Stores the Z coordinate at the start of drilling.
    G00 G90 Z#18;.................Positioning at position R
    G01 Z#26 F#9;..................Cutting feed to position Z
    IF[#4010 EQ 98]GOTO 1; Return to position I
    G00 Z#18;.........................Positioning at position R
    GOTO 2;
    N1 G00 Z#5;........................Positioning at position I

    hope this help

    norbert



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

System Variables

System Variables