On Saturday 16 January 2021 10:08:12 Gene Heskett wrote:

Ping...

> Greetings all;
>
> What do I have to do to make the A axis into a B axis, skipping A?. I
> found it was rotating in the back plot about the X axis, and need it
> to move about the Y axis instead, preferably with the same hotkey's,
> the [] keys.
>
> The code loads and runs fine as an A axis, but I changed all the A
> stuff to B in the gcode, ini and hal files. Obviously I need something
> else yet.

I seem to have it running as an A axis. However homeing is now 
considerable labor as I have to totally strip the ER chuck in order the 
get clearance to home the beast.  This way it has to pass over the A to 
home X and Y

The idea here is to mount a 2" solid cbn disk 50 thou thick, as high in 
the chuck as I can get it, meaning the motor clamps have to be loosened 
and the motor slid up 3/4", running a g2 arc in G19 mode, and between 
the g2 and the A motion in synch, sharpen an HSS lathe tool, hopefully 
with a tiny radius on the tip. But I'm tuckered for the night so 
tomorrow is test day. A very cautious test as the solid cbn disks are 
both fragile and costly at around $110/copy.

gcode attached if somebody else wants to try it. Be my guest.  Feedback 
welcomed.

Thank you.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
( sharpen-lathe-tool.ngc copyright 2021 Maurice Heskett )
( license gplv2 )
( touch off x & z at tool tip straight up and 0.0 )
( touch off B straight up and 0.0 )
( will take 10 thou off tool per run )
G19( YZ mode )
G20 ( inch mode )
(S10000 M3) ( start spindle )
( set some vars )
#<_y_start> = -0.390700000
#<_z_start> = -0.327800000
#<_y_end>   =  0.390700000
#<_G2_YS>   =  0.390700000
#<_G2_ZS>   =  0.327800000
#<_G2_I>    =  0.390700000
#<_G2_K>    = -0.327800000
#<_G2_ZT>   =  [#<_z_start> - 0.010000000]
#<_G2_ZI>   =  0.000500000
#<_G2_ZD>   = -0.010000000
#<_Z_CL>   =  0.010000000
#<_G2_AE>   =  140.0000000 ( degrees )
#<_G2_AS>   =  40.00000000  ( degrees )
#<_AS>      =  0.000000000 ( degrees )
#<_z_tmp>   =  0.000000000  ( init for WHILE below )
G1F150 Z#<_Z_CL> ( clear tool )
G1F180 Y0.0000000 ( put Y at center )
G1F2500 A#<_AS>    ( turn tool straight up )
M60 ( pause to check clearance, s/b 10 thou )
G1F1500 A#<_G2_AS> ( turn A to start pos )
G1F150 Y#<_y_start> ( move y to start pos )
G1F150 Z#<_z_start> ( move z to start pos )

o100 WHILE [#<_z_tmp> gt #<_G2_ZD>]

G1F1500 A#<_G2_AE> ( turn A to start pos )
G1F150 Y#<_y_start> ( move x to start pos )
#<_z_tmp> = [#<_z_tmp> - #<_G2_ZI>]
G1F30 Z[#<_z_start> - #<_z_tmp>] ( move z to start pos )
G2 F5 A#<_G2_AS> Y#<_G2_YS> Z[#<_z_start> - #<_z_tmp>] J#<_G2_I> K#<_G2_K>
G1 F180 Z#<_Z_CL>
G1 F2500 A#<_G2_AS>
G1 F180 Y#<_y_start>

o100 ENDWHILE

M2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to