MachineSMM
08-04-2003, 09:20 AM
Does anyone out there have an engraving macro for a Fanuc control?
|
View Full Version : Engraving Macro MachineSMM 08-04-2003, 09:20 AM Does anyone out there have an engraving macro for a Fanuc control? Atom 08-19-2003, 04:54 PM Don't bother. Use desk engrave by Deskam. www.deskam.com It's free and easy. Atom. E-Stop 08-21-2003, 12:17 PM Yep. Atom is right. DeskEngrave is better than any Fanuc Macro, unless you are looking for something like putting serial numbers on your parts and want the number to increase sequencially on each part. Then you're going to need that Macro. One thing I had fun with using DeskEngrave was using a picture font (WingDings, ect.) and you can add little pictures to your engraving projects with ease. Mr.Ed 08-22-2003, 04:16 AM Hey Atom, Looking at your avatar, did you make those? Do you have any info on these 3d item? Websites? etc? I have seen them somewhere before and planning on making one myself in future. If possible... I hope...Still bussy making my own CNC machine. Greetz, Ed. Atom 08-22-2003, 10:24 AM Mr. Ed Yep, made them myself. One, the cubes are fixed and the other, the cubes are loose inside each other. I can post the prog if you want (if I can remember where I put it). http://members.lycos.co.uk/photopage/hpbimg/Cubes.JPG Atom. Rekd 08-22-2003, 10:41 AM I can post the prog if you want (if I can remember where I put it). That would be cool. :cheers: 'Rekd teh Where can I get me one of these! Atom 08-23-2003, 11:01 AM First of all machine a cube 46mm square. ( all programs are in metric). Then run this program on each face. Z "0" is the top face, XY "0" is the centre of the square. I've also included the macro's used in the program. Have fun. O0001(CUBE) M06 T01(6MM DRILL) G0 X0 Y0 G57 S3000 M13 G43 Z10 H1 G83 Z-24 R1 Q3 F300 G80 M09 N2 M06 T02(6MM SOLID CARBIDE L/S) G00 X0 Y-3.G57 S7000 M13 G43 Z 1. H2 G01 Z-1.949 F100 G03 X 0. Y 3. I 0. J 3.F2000 X 0. Y-6. I 0. J-4.5 X 0. Y 6. I 0. J 6. X 0. Y-9. I 0. J-7.5 X 0. Y 9. I 0. J 9. X 0. Y-12. I 0. J-10.5 X 0. Y12. I 0. J12. X 0. Y-15. I 0. J-13.5 X 0. Y15. I 0. J15. X 0. Y-18. I 0. J-16.5 X-0.565 Y-17.991 I 0. J18. G91 G03 X0 Y2 I0 J1 G90 G00 Z-1.8 X 0. Y-3. G01 Z-3.899 F100 G03 X 0. Y 3. I 0. J 3.F2000 X 0. Y-6. I 0. J-4.5 X 0. Y 6. I 0. J 6. X 0. Y-9. I 0. J-7.5 X 0. Y 9. I 0. J 9. X 0. Y-12. I 0. J-10.5 X 0. Y12. I 0. J12. X 0. Y-15. I 0. J-13.5 X 0. Y15. I 0. J15. X 0. Y-18. I 0. J-16.5 X-0.565 Y-17.991 I 0. J18. G91 G03 X0 Y2 I0 J1 G90 G00 Z-3.8 X 0. Y-3. G01 Z-5.848 F100 G03 X 0. Y 3. I 0. J 3.F2000 X 0. Y-6. I 0. J-4.5 X 0. Y 6. I 0. J 6. X 0. Y-9. I 0. J-7.5 X 0. Y 9. I 0. J 9. X 0. Y-12. I 0. J-10.5 X 0. Y12. I 0. J12. X 0. Y-15. I 0. J-13.5 X 0. Y15. I 0. J15. X 0. Y-18. I 0. J-16.5 X-0.565 Y-17.991 I 0. J18. G91 G03 X0 Y2 I0 J1 G90 G00 Z -5.7 X 0. Y-3. G01 Z-7.797 F100 G03 X 0. Y 3. I 0. J 3.F2000 X 0. Y-6. I 0. J-4.5 X 0. Y 6. I 0. J 6. X 0. Y-9. I 0. J-7.5 X 0. Y 9. I 0. J 9. X 0. Y-12. I 0. J-10.5 X 0. Y12. I 0. J12. X 0. Y-15. I 0. J-13.5 X 0. Y15. I 0. J15. X 0. Y-18. I 0. J-16.5 X-0.565 Y-17.991 I 0. J18. G91 G03 X0 Y2 I0 J1 G90 G0 Z-7.7 G00 X 0. Y 1.45 G01 Z-9.512 F100 G03 X 0. Y-4.45 I 0. J-2.95 F2000 X 0. Y 4.45 I 0. J 4.45 X 0. Y-7.45 I 0. J-5.95 X 0. Y 7.45 I 0. J 7.45 X 0. Y-10.45 I 0. J-8.95 X-0.328 Y-10.445 I 0. J10.45 G91 G03 X0 Y2 I0 J1 G90 G00 Z-9.4 X 0. Y 1.45 G01 Z-11.324 F100 G03 X 0. Y-4.45 I 0. J-2.95 F2000 X 0. Y 4.45 I 0. J 4.45 X 0. Y-7.45 I 0. J-5.95 X 0. Y 7.45 I 0. J 7.45 X 0. Y-10.45 I 0. J-8.95 X-0.328 Y-10.445 I 0. J10.45 G91 G03 X0 Y2 I0 J1 G90 G00 Z-11.2 X 0. Y 1.45 G01 Z-13.136 F100 G03 X 0. Y-4.45 I 0. J-2.95 F2000 X 0. Y 4.45 I 0. J 4.45 X 0. Y-7.45 I 0. J-5.95 X 0. Y 7.45 I 0. J 7.45 X 0. Y-10.45 I 0. J-8.95 X-0.328 Y-10.445 I 0. J10.45 G91 G03 X0 Y2 I0 J1 G90 G0 Z-13 G00 X 0. Y-2.36 G01 Z-14.868 F100 G03 X 0. Y 2.36 I 0. J 2.36 F1000 X 0. Y-5.36 I 0. J-3.86 X-0.168 Y-5.357 I 0. J 5.36 G91 G03 X0 Y2 I0 J1 G90 G00 Z-14.7 X 0. Y-2.36 G01 Z-16.735 F100 G03 X 0. Y 2.36 I 0. J 2.36 F1000 X 0. Y-5.36 I 0. J-3.86 X-0.168 Y-5.357 I 0. J 5.36 G91 G03 X0 Y2 I0 J1 G90 G00 Z-16.6 X0 Y0 G01 Z-17.923 F100 G03 X 0. Y-2. I 0. J-1. F700 X-0.0 Y-2. I 0. J 2. G03 X 0. Y 0. I 0. J 1. G01 Z-19.111 F100 G03 X 0. Y-2. I 0. J-1. F700 X-0.0 Y-2. I 0. J 2. G03 X 0. Y 0. I 0. J 1. G90 G0 Z10 M09 N3 M06 T03(6MM CARBIDE 90 DEG. CHAMF) G0 X0 Y0 G57 S7000 M03 G43 Z10 H3 G13 X0. Y0. I21. D23. Z-2. R-2. Q1. F2000. G13 X0. Y0. I13.45 D23. Z-9.797 R-9.797 Q1. F2000. G13 X0. Y0. I8.36 D23. Z-15.136 R-15.136 Q1. F2000. G13 X0. Y0. I5. D23. Z-18.735 R-18.735 Q1. F600. G13 X0. Y0. I3. D23. Z-21.111 R-21.111 Q1. F400. G61 G65 P8030 X-23. Y-23. Z-2. R10. I46. J46. K0.0 Q15. D23. F1000. S0.0 B4000. C0.0 G64 M09 M30 :8030(OUTSIDE FRAME MACRO CORNER CHAMF) (X,Y = ABS. CO-ORDS. BOTTOM LEFT CORNER) (Z = DEPTH) (R = R PLANE) (I,J = X & Y AXIS LENGTH) (K = FINISH ALLOWANCE) (Q = PECK) (D = TOOL OFFSET NUMBER) (F = ROUGH FEED) (S = FINISH FEED) (B = Z FEED) (C = CORNER CHAMFER) #10=#[11000+#7] #11=#6+#10 #1=#3+#11 #20=#25-[#11+5.0] #21=#4-[#3*2] #22=#5-[#3*2] #27=#24-#11 #29=[#25+#5]-#3 #15=#5003 #16=#4003 G90 G00X#27Y#20 G00Z#18 #32=#18 DO1 #32=#32-#17 IF[#32GT#26]GOTO1 #32=#26 N1G01Z#32F#2 G1Y#29F#9 G91G1X#1Y#1 G1X#21 G1X#1Y-#1 G1Y-#22 G1X-#1Y-#1 G1X-#21 G1X-#1Y#1 G3X-1.0Y1.0I-1.0J0 G90G01X#27Y#20F[4*#9] IF[#32LE#26]GOTO6 END1 N6G00Z#18 IF[#6LE0]GOTO7 #1=#1-#6 #27=#27+#6 G00X#27Y#20 G01Z#32F[10*#2] G1Y#29F#19 G91G1X#1Y#1 G1X#21 G1X#1Y-#1 G1Y-#22 G1X-#1Y-#1 G1X-#21 G1X-#1Y#1 G3X-1.0Y1.0I-1.0J0 G90G00Z#15 N7G#16 M99 :9013 (G13 HELIX MACRO) (X = X POSITION) (Y = Y POSITION) (I = HOLE RADIUS) (D = TOOL OFFSET) (Z = Z DEPTH) (R = R PLANE) (Q = PITCH) (F = FEED) #8=#4003 (G90/G91) #1=#5003 (PRESENT Z POS.) #27=#26+#17 (Z + 1 PITCH) #5=[#4-#[#7+11000]] (RADIUS) G90G0X#24Y#25 (RAPID TO X0 Y0) G0Z#18 (RAPID TO R PLANE) #6=#5/2 G91G3X#5Y0I#6J0F#9 (ROLL ON) #28=#18 WHILE[#28GT#27]DO1 (HELIX LOOP) G3I-#5Z-#17 #28=#28-#17 END1 #29=[#26-#28] (AMOUNT LEFT IN Z AFTER DO LOOP) IF[#29EQ0]GOTO10 (IF AT Z DEPTH GOTO FLAT BOTTOM) G3I-#5Z#29 (HELIX TO Z DEPTH) N10G3I-#5 (FLAT BOTTOM) G90G3X#24Y#25I-#6J0 (ROLL OFF TO X0 Y0) G0G90Z[#1] (RAPID TO INITIAL) G[#8] (G CODE BACK TO PREV. G90/91) M99 Atom. hardmill 08-23-2003, 12:29 PM I knew I seen one somewhere check this one out. You'll probably need to tweak it for your control(or not) http://www.cncci.com/resources/tips/engrave.htm Let me know if you need any help. PEACE:D Mr.Ed 08-27-2003, 08:20 AM Atom, I am so incredibly green on this subject, you wouldn't believe it. I have no trouble in building the machine, but making those files work with my future stepper engines, thats a complete different ballgame ! Would i have to copy paste these lines and save them into a vector file, and then importing them into a 3D CNC program? I made a decent machine with stepper control from NC-Step. I have not fired-up the steppers, but that is near future. I love to hear any tips, although i probably would have to post such a request elsewhere. Thanks anyway, Ed. Atom 08-28-2003, 03:39 PM Mr. Ed Sorry, but I know nothing about home built machines. BTW, the cat in your avatar..... is it about to puke? Atom. Mr.Ed 08-28-2003, 04:53 PM Nope, It's hiding a bird :D The mechanical part of building is progressing according to "plan", but its the software that needs more attention on my part. I'm trying to find out if there is decent freeware out there, that can manage "complex" manouvres, just like those neat looking metal cubes in your avatar. Ed. CNCLaser 09-02-2003, 08:56 AM Originally posted by E-Stop Yep. Atom is right. DeskEngrave is better than any Fanuc Macro, unless you are looking for something like putting serial numbers on your parts and want the number to increase sequencially on each part. Then you're going to need that Macro. Hi, I'm new to the form but a did notice this message by E-Stop and i am looking to put numbers in sequence per part. i was wondering if anyone could help me out and push me in the right direction?????? thanks BeanO 03-03-2005, 05:32 AM I too, need to put serial numbers on my parts, I think i might have this macro stuff figured out, but i have a "new to me" fanuc 15M and I'm not sure if it has the macro option yet, So, If someone has a idiot proof macro... could you please post it, and if you have "serialization" could you post that as well? Thanks. |