584,800 active members*
4,574 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > SYSTEM VARIABLES HELP
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2018
    Posts
    74

    SYSTEM VARIABLES HELP

    HI EVERYONE,

    I WOULD LIKE TO STORE A CURRENT POSITION OF A TOOL (X,Z) IN COMMON VARIABLES. I WANT TO KNOW WHAT SYSTEM VARIABLES STORE THE CURRENT POSITION OF TOOLS.


    THANKS

  2. #2
    Join Date
    Jun 2015
    Posts
    4131

    Re: SYSTEM VARIABLES HELP

    hello again, you may use the VSIO* sys vara

    if you wish, you may create a file with those coordinates ( so to inspect the file only once and see 999+ values, rather then checking frequently the common variable; if this is will help you, then you will have much more time for beer, or whatever ... beer+whatever )

    please, why do you need this ? kindly

    Code:
        G01 X256 Z789
        V1 = VSIOX
        V2 = VSIOZ
        G01 X879 Z156
        V1 = VSIOX
        V2 = VSIOZ
        G05 X888 Z-0.11111111111
        V1 = VSIOX
        V2 = VSIOZ
    or

    Code:
        G01 X256 Z789
        CALL OSUB
        G01 X879 Z156
        CALL OSUB
        G05 X888 Z-0.11111111111
        CALL OSUB
    
    ...
    
    M02
    
    OSUB
    
        V1 = VSIOX ( or NOEX V1 = VSIOX )
        V2 = VSIOZ ( or NOEX V1 = VSIOZ )
    
    RTS
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  3. #3

    Re: SYSTEM VARIABLES HELP

    How about the X and Y command in the last block? I'm trying to find the system variable that stores the X and Y positions that were commanded in the last block last. Any ideas would be appreciated.

Similar Threads

  1. System Variables
    By 442jet in forum Parametric Programing
    Replies: 8
    Last Post: 06-29-2017, 09:40 PM
  2. System Variables
    By zooloader in forum Mori Seiki lathes
    Replies: 3
    Last Post: 08-02-2012, 03:53 AM
  3. System Variables???
    By springer82 in forum NCPlot G-Code editor / backplotter
    Replies: 3
    Last Post: 03-12-2011, 07:39 PM
  4. System variables in a O-MD
    By AZDEN in forum Fanuc
    Replies: 1
    Last Post: 10-23-2007, 04:50 PM
  5. System variables
    By jorgehrr in forum G-Code Programing
    Replies: 8
    Last Post: 02-19-2007, 02:26 AM

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
  •