right away, we choose a simpler method that seg ments (or splits) the vari able in put into

right away, we choose a sim pler method that seg ments (or splits) the vari able in put into


smaller portions, and makes it more man age able (and def i nitely much eas ier to read) (The Ex am –


ple 5 shows nested ver sion of the for mula) The next ver sion of the ex am ple shows you this better


way We use vari able #5 for the Z-depth cal cu la tion, and re de fine it sev eral times – all you need is


one cal cu la tion at a time


O0015 (MAIN PROGRAM 4)


#1 = 150


(DRILL DIAMETER – D IN THE FORMULA)


#2 = 130


drilling Machine


(PLATE THICKNESS)


#3 = 1180


(DRILL POINT ANGLE – A IN THE FORMULA)


#4 = 15


(PENETRATION CLEARANCE ADDED)


 


#5 = #3/2


(ONE HALF OF TOTAL DRILL POINT ANGLE)


#5 = 90-#5


(ANGLE TO BE CALCULATED)


#5 = TAN[#5]


(TANGENT OF THE ANGLE TO BE CALCULATED)


#5 = #1/2*#5


(DRILL POINT LENGTH P FOR A GIVEN DRILL DIA)


#5 = #5+#2+#4


(PLATE THICKNESS AND CLEARANCE ADDED)


 


N1 G21


N2 G90 G00 notching machine G54 X1000 Y500 S800 M03


N3 G43 Z50 H01 M08


N4 G99 G81 R25 Z-[ABS[#5]] F1500


(DISTANCE-TO-GO IS Z-215)


N5 G80 Z50 M09


N6 G28 X1000 Y500 Z50 M05


N7 M30


%


This pro gram ming method takes four ar gu ments (in puts) rather than the orig i nal two, but can be


used with any drill di am e ter and with any pen e tra tion clear ance amount By re de fin ing the vari –


able #5, the com puter mem ory is man aged in a more ef fi cient way There is no cnc machining china need for each


state ment (cal cu la tion) to have busbar bending machine its own vari able, be cause there is no real ben e fit


One in ter est ing com ment – the pro gram com ment in block is not true any more – at least not ex –


actly The ex pected dis tance-to-go be cause in stead of us ing a

tags: , , , ,
posted in Uncategorised by admin

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Leave Your Comment

 
Powered by cnc machine tools | drilling machine. Design by CNC punching machine . Edit by drill machine | punching machine