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
Printable View
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
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 :)
orCode:G01 X256 Z789
V1 = VSIOX
V2 = VSIOZ
G01 X879 Z156
V1 = VSIOX
V2 = VSIOZ
G05 X888 Z-0.11111111111
V1 = VSIOX
V2 = VSIOZ
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
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.