Re: [Emc-users] math challenged Q

2022-03-11 Thread Chris Albertson
You want the corner to corder distance of a 2 inch square.  That would be
the square root of 8 which is about 2.83 inches.  A 2" square should just
fit inside a circle that is square root of 8.  And have a few thousandths
clearance inside of 2.83 diameter circe

Remember c = sqrt( a^2 + b^2)
for a = b = c you get c = sqrt(8)



On Fri, Mar 11, 2022 at 7:44 PM gene heskett  wrote:

> Greetings all;
>
> I need to setup a starting point, a preliminary turn operation, ahead of
> the thread carving just to get that over with before the finer work of
> actually carving the thread, with a .25" LOC 1/16th" round nosed tool.
>
> This will involve cutting a 2x2", probably a few oversized, so a caliper
> will measure it as 51.5x51.5mm square. My question seems like there ought
> to be a tan involved since the answer is over unity, but I can't get
> sensible answers out of my ti-36x pro using the tan function.
>
> The max radius the corners of that stick, as its turned, ought to be some
> figure plus the 26 starting point when the square has been turned 45
> degrees, bringing its largest offset under the tool/probe. So assuming I
> have it touched off at 25.75mm, what is the max circle radius the tips of
> the square will describe as it turns?
>
> 8th grade algebra was for me both 74 years ago and taught by a male
> teacher who was far more interested in getting into the girls panties
> than he was in teaching algebra. After I quit school and went to work
> fixing them new-fangled things called tv's, he got caught and was invited
> to leave town forever by one of the girls fathers who was carrying a
> loaded 12 ga at the time the invite was issued. He was AH enough to leave
> another older girl behind already pg with his child. My bitching about it
> beforehand to the super because I felt I was being cheated out of an
> education was ignored.  Kharma has a way of coming to roost. Apparently
> schools only go downhill from there.
>
> But I still need to know how to calculate that answer...
>
> Thanks all.
>
> 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, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
>
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] math challenged Q

2022-03-11 Thread Thaddeus Waldner
That’s one for the Babylonians, and later Pythagoras.

Sqrt(51.5^2 + 51.5^2) =72.83 will give you the diameter.

With trig, 51.5/sin(45) will give you the same number. 

> On Mar 11, 2022, at 9:44 PM, gene heskett  wrote:
> 
> Greetings all;
> 
> I need to setup a starting point, a preliminary turn operation, ahead of 
> the thread carving just to get that over with before the finer work of 
> actually carving the thread, with a .25" LOC 1/16th" round nosed tool.
> 
> This will involve cutting a 2x2", probably a few oversized, so a caliper 
> will measure it as 51.5x51.5mm square. My question seems like there ought 
> to be a tan involved since the answer is over unity, but I can't get 
> sensible answers out of my ti-36x pro using the tan function.
> 
> The max radius the corners of that stick, as its turned, ought to be some 
> figure plus the 26 starting point when the square has been turned 45 
> degrees, bringing its largest offset under the tool/probe. So assuming I 
> have it touched off at 25.75mm, what is the max circle radius the tips of 
> the square will describe as it turns?
> 
> 8th grade algebra was for me both 74 years ago and taught by a male 
> teacher who was far more interested in getting into the girls panties 
> than he was in teaching algebra. After I quit school and went to work 
> fixing them new-fangled things called tv's, he got caught and was invited 
> to leave town forever by one of the girls fathers who was carrying a 
> loaded 12 ga at the time the invite was issued. He was AH enough to leave 
> another older girl behind already pg with his child. My bitching about it 
> beforehand to the super because I felt I was being cheated out of an 
> education was ignored.  Kharma has a way of coming to roost. Apparently 
> schools only go downhill from there.
> 
> But I still need to know how to calculate that answer...
> 
> Thanks all.
> 
> 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, 1940)
> If we desire respect for the law, we must first make the law respectable.
> - Louis D. Brandeis
> 
> 
> 
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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


[Emc-users] math challenged Q

2022-03-11 Thread gene heskett
Greetings all;

I need to setup a starting point, a preliminary turn operation, ahead of 
the thread carving just to get that over with before the finer work of 
actually carving the thread, with a .25" LOC 1/16th" round nosed tool.

This will involve cutting a 2x2", probably a few oversized, so a caliper 
will measure it as 51.5x51.5mm square. My question seems like there ought 
to be a tan involved since the answer is over unity, but I can't get 
sensible answers out of my ti-36x pro using the tan function.

The max radius the corners of that stick, as its turned, ought to be some 
figure plus the 26 starting point when the square has been turned 45 
degrees, bringing its largest offset under the tool/probe. So assuming I 
have it touched off at 25.75mm, what is the max circle radius the tips of 
the square will describe as it turns?

8th grade algebra was for me both 74 years ago and taught by a male 
teacher who was far more interested in getting into the girls panties 
than he was in teaching algebra. After I quit school and went to work 
fixing them new-fangled things called tv's, he got caught and was invited 
to leave town forever by one of the girls fathers who was carrying a 
loaded 12 ga at the time the invite was issued. He was AH enough to leave 
another older girl behind already pg with his child. My bitching about it 
beforehand to the super because I felt I was being cheated out of an 
education was ignored.  Kharma has a way of coming to roost. Apparently 
schools only go downhill from there.

But I still need to know how to calculate that answer...

Thanks all.

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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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


[Emc-users] Joint 0 on Limit Switch error

2022-03-11 Thread Alan Condit
I have been adjusting the limit switches on my G4000 lathe. Suddenly I am 
getting Joint 0 on limit switch error and Joint 1 on limit switch error when I 
try to turn on the spindle. The spindle turns on and then immediately off with 
the error messages.

The X limit switch is set at 3.45" so that at 0.0" the tip of the tool is at 
X=0.000. The Z limit switch is set at 13.4806"so the tip of the tool at the end 
of the jaws on my 3 jaw chuck is Z=0.000". Until the last change this 
subroutine was working perfectly. At the point I get the error messages the X 
and Z axis are nowhere near the limits.

The last change I made was to flip A+ and A- on the x-axis so that I don’t have 
to go in and had edit X-Axis STEP_SCALE to change it to negative every time 
that I use pncconf.

Global variables are:
(==)
(=== Define Constants/Variables ===)
#<_xorigin>=[0.]  ( X axis offset for 
Coordinate sys 2 )
 ( to correct too small diameter add positive value equal to 1/2 error to 
#<_xorigin> )
 ( to correct too large diameter subtract positive value equal to 1/2 error 
from #<_xorigin> )
#<_zorigin>=[0.861]   ( Z axis offset for 
Coordinate sys 2 )
#<_toolnum>=2 ( Set Tool Number )
#<_tooldia>=0.000 ( Set the tool diameter )
#<_toolrad>=[#<_tooldia>/2]   ( Tool radius )
#<_cutoffwidth>=0.09375   ( Cutoff Tool Width )
#<_feedrate>=3.5  ( X Feed rate )
#<_plungerate>=1.2( Z Feed rate )
#<_finefeed>=1.0  ( Fine Feed rate )
#<_partoffrate>=0.2   ( Part off feed rate )
#<_spindlespeed>=500  ( Spindle Speed )
#<_X_dia>=0.9000  ( Starting Diameter of 
Material )
#<_X_rad>=[#<_X_dia>/2]   ( Starting Radius )
#<_Xfinish>=0.750 ( Edge of Material )
#<_X_depth>=[[#<_X_dia>-#<_Xfinish>]/2]   ( Final Diameter of Material )
#<_Xcut>=0.010( X cut depth )
#<_close_X>=0.050 ( Close to X surface )
#<_clear_X>=[#<_X_rad>+#<_close_X>]   ( distance to clear X axis at 
end )
#<_safe_X>=[#<_X_rad>+#<_close_X>]( distance to move X for safe 
z moves )
#<_Zcut>=0.010( Z Cut depth )
#<_Zthick>=0.603  ( Thickness of Material )
#<_ZFace>=0.000   ( Z surface )
#<_Zdepth>=[#<_ZFace>-#<_Zthick>] ( Depth to cut in Z direction 
)
#<_close_Z>=0.050 ( Close to top )
#<_safe_Z>=[#<_ZFace>+#<_close_Z>]( Z clear height )
#<_clear_Z>=1.000 ( Distance for final retract )
#<_sqcorner>=[[SQRT[2]-1]*[#<_toolrad>+0.0001]]   ( Offset of Tool radius to 
corner )
(#518=[2*[SIN[15]**2]])
(#518=[2*[SIN[15]^2]])
#<_referencetool>=#5063

The subroutine is:
( Turn Outer Surface )
o SUB ([1] [2] [3] [4])   ( #1=X Diameter, #2=ZStart, 
#3=Xsize, #4=ZLength )
# = [#1/2] ( starting radius )
#=[0.0-#2]
# = [#3/2]( depth to cut to )
#=[#-#4]
# = #<_feedrate>  ( variable feed rate )
o DO
   m0 (DEBUG, Turn Arbor Stub1 X = [#+#<_close_X>]; Zstart = 
[#+#<_close_Z>]; ZEnd = [#] ...  unpause[S] when ready)
   G0 X[#+#<_close_X>]   ( move X close to start position 
)
  Z[#+#<_close_Z>]   ( move Z close to start 
position )
   o IF [# LT [# - #<_Xcut>]]( set up X cutting position )
  # = [#-#<_Xcut>]
   o ELSE
  # = #
  # = #<_finefeed>( change feed rate for finish 
cut )
   o ENDIF
   m0 (DEBUG, Turn Arbor Stub2 X = [#]; ZEnd = [#] ...  unpause[S] 
when ready)
   G01 X# F#<_finefeed> ( Position for X cut )
   Z# F#( Make Z cut )
o WHILE [# LT # ]   ( Loop until we cut to depth )
G0 X[#+#<_close_X>] ( move X close to final cut 
position )
   Z[#+#<_close_Z>]  ( move Z close to start 
position )
G01 X# F#<_finefeed>( Position for X spring cut )
Z# F#( Make Z spring cut )
G0 X#<_clear_X>( Retract X to clear )
G0 Z#<_safe_Z> ( Retract Z to clear )
o ENDSUB

The calling sequence is:
   m0 (DEBUG, be sure Arbor Stub is sticking out from chuck ... unpause[S] when 
ready)
   m0 (DEBUG, Mount Turning Tool ...  unpause[S] when ready)
   T#<_toolnum> M6
   m0 (DEBUG, Turn on Spindle ...  unpause[S] 

Re: [Emc-users] LinuxCNC in debian, but not there yet. When?

2022-03-11 Thread gene heskett
On Friday, 11 March 2022 00:19:37 EST gene heskett wrote:
Talking to myself again.

> This machine is running bullseye.
> 
> And I need to setup a sim of my 6040 mill for gcode writing purposes.

And a thought just came to mind because the backplot can't trace the tool 
points z motion. So I can't watch the spiral take shape in the backplot, 
no way to offset the tool tip image fom zero. So regardless of what B 
does, I get a straight single red line in the backplot.  To say thats 
unhelpfull is an understatement.

Setup a code loop to carve the shape of the tooth in terms of y and z 
offsets\motions to prove the shape of the tooth in the backplot. Then 
plug a subroutine into the loop that actually does the carving. But for 
that, I need to turn off the backplot trace during the subroutine to keep 
it from overwriting everything else.

So I could track the screws tooth shape and cutting progress in the 
backplot without cluttering it with the YB motions of the subroutine.  Is 
such a thing do-able? If it is, how?

Thanks.

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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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