Thread Engagement
:lbl AA
:disp "input TPI"
:input A
:disp "head thickness"
:input B
:disp "bolt leangth"
:input D
:disp "top plate thickness"
:inpute E
:disp "bottom plate thickness"
:input F
:B+.005->G
:E-G->H
:D-H-B->I
:1/A->J
:I+(2*J)->K
:I+(5*J)->L
:if L<= 0
:goto BB
:if (B*1.5)>I
:goto CC
:if L>F
:goto DD
:disp "C-Bore depth"
:disp G
:disp "Tap depth"
:disp K
:disp "drill depth"
:disp L
:stop
:lbl BB
:Disp "No thread engagement."
:Goto AA
:lbl CC
:disp "not enough TE."
:disp "try:"
:(B*1.5)+B+H->Z
:Disp Z
:goto AA
:lbl DD
:disp "too long of bolt."
:goto AA
To Inches
:disp "input unit in mm." :input A :A*.0394->B :disp B
|
Tolerence
:lbl AA :disp "Enter Diameter" :input A :if A<= 0 :goto AA :disp "enter upper value"
:disp "as stated in book"
:inpute B
:disp "enter in lower value"
:input C
:A+(B*.0010)->D
:A-(C*.0010)->E
:disp D
:disp E
|