lowCountryCamo
Stainless
- Joined
- Jan 1, 2012
- Location
- Savannah, Georgia, USA
I recently installed a probe thanks to VancBikers help. And that works great. I learned much about macros since. Although sometimes when setting work offsets for first ops I just want to move a drill point to the corner of a plate and zero G54.
My Fanuc O does not have an Input softkey to transfer the machine coordinate to G54 register.
This macro will do just that. Scroll down to the register you want and cycle start through x, y, and z if needed. I been using this for a month and thought others might could use it also.
%
O7054(SET ALL)
(G54 SET)
N1054
#2501=#5021(X);
M00
N2054
#2601=#5022(Y);
M00
N3054
#2701=#5023(Z);
M30
(G55 SET)
N1055
#2502=#5021(X);
M00
N2055
#2602=#5022(Y);
M00
N3055
#2702=#5023(Z);
M30
(G56 SET)
N1056
#2503=#5021(X);
M00
N2056
#2603=#5022(Y);
M00
N3056
#2703=#5023(Z);
M30
(G57 SET)
N1057
#2504=#5021(X);
M00
N2057
#2604=#5022(Y);
M00
N3057
#2704=#5023(Z);
M30
(G58 SET)
N1058
#2505=#5021(X);
M00
N2058
#2605=#5022(Y);
M00
N3058
#2705=#5023(Z);
M30
(G59 SET)
N1059
#2506=#5021(X);
M00
N2059
#2606=#5022(Y);
M00
N3059
#2706=#5023(Z);
M30
%
My Fanuc O does not have an Input softkey to transfer the machine coordinate to G54 register.
This macro will do just that. Scroll down to the register you want and cycle start through x, y, and z if needed. I been using this for a month and thought others might could use it also.
%
O7054(SET ALL)
(G54 SET)
N1054
#2501=#5021(X);
M00
N2054
#2601=#5022(Y);
M00
N3054
#2701=#5023(Z);
M30
(G55 SET)
N1055
#2502=#5021(X);
M00
N2055
#2602=#5022(Y);
M00
N3055
#2702=#5023(Z);
M30
(G56 SET)
N1056
#2503=#5021(X);
M00
N2056
#2603=#5022(Y);
M00
N3056
#2703=#5023(Z);
M30
(G57 SET)
N1057
#2504=#5021(X);
M00
N2057
#2604=#5022(Y);
M00
N3057
#2704=#5023(Z);
M30
(G58 SET)
N1058
#2505=#5021(X);
M00
N2058
#2605=#5022(Y);
M00
N3058
#2705=#5023(Z);
M30
(G59 SET)
N1059
#2506=#5021(X);
M00
N2059
#2606=#5022(Y);
M00
N3059
#2706=#5023(Z);
M30
%