What's new
What's new

(LATHE-FANUC 18i) Z Parameter for G54

cnc-poldi

Plastic
Joined
Feb 20, 2018
Hello

I try to write a macro to caught for cut off the ring.
I want to read the parameter for the z-zeropoint (G54).
Then I want to calculate the one with the length of a rod in the tailstock.
With the value, I position the tailstock so that the ring is caught on the pole when tapping.

My problem is the parameter (1221).
N01221
A1 P 0 (X)
A2 P 117500 (Z)
A3 P 0 (C)
A4 P 0 (y)
A5 P 0 (B)
A6 P 0 (E)

I only need the value for z (e.g. 117500).
How can I get this value?

THX
 
I hope so.
But the only variable or parameter for the G54 Z-Zeropoint is 1221.
But there are 6 values in it.
My problem is to read one (!) value of 1221 or from a systemvariable I don't know now.
 
Thanks to both of you
with so many manuals I still have not really the overview.
I thought, for example the parameter and system variables are the same.
But with your information, I'll definitely get it.
 








 
Back
Top