![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi I need to put serial numbers on parts I have to make They have to start a certain number and count up one at a time but I am only running one pc at a time. Is there a macro or something that will keep counting and make this change automatically so I did not have to change for every part ( 350 + pcs). If so can you steer me in the right direction. Mabey a sample program. My machine is a 2006 haas vf3 Thanks Mike |
|
#2
| |||
| |||
| Check your operators / programming manual under G47. Mine is page 122. It explains it pretty well. The variable is stored under #599 do #599=#599+1 between each part Check this out as well macro to engrave serial numbers Last edited by JWK42; 09-16-2009 at 07:19 AM. Reason: added comment at top |
|
#5
| |||
| |||
| NEW EDIT on Friday 09-18-2009 Just found out that you don't need to do a #599=#599+1. When you use P1 and (##) it counts by 1 for you. Press CURNT COMDS then PAGE DOWN 3 times to bring up the variables pages. Arrow down till the #599 page shows up and manual change #599 to what ever number you need. I changed the code below to reflect that. Thats why it was counting by 2 earlier. Mike No I don't know how to change the code You could do a G47 P0 X-.5 Y0. J.25 Z-.005 F8. E3. (10) or the left side then position to the right side and do a G47 P1 X.125 Y0. J.25 Z-.005 F8. E3. (##) You then do a #599=#599+1 after the right side is done. You would have to change the left side by 100 after each 100 parts and reset #599 to 00 to do the next 100. I think this could be done with a WHILE DO that counts to 100 and then resets #599 to 00. Could you put the same number on both halves of the part with a "T" for top and a "B" for bottom or "L" and "R" then use G47 P1 (T####) and G47 P1 (B####) to mark each half. Edit Added line N135 and N215 beause it was countin by 2 I ran this on our simulator and it works. You will have to set your left side start number and your right side number every 100 parts. It should work but still not the best solution. I'll work on it more later. % O1428 (ENGRAVING SPLIT SERIAL NUMBERS) N30 (CREATED 09-17-2009 12:00:14) N40 (RETURNED 09-17-2009 13:10:19) N50 G17 G54 G90 N60 G40 G49 G80 N70 G53 G00 Z0. N80 G53 G00 X-20. Y0. N90 T1 M06 N100 S5000 M03 N110 G54 G00 G90 X-0.5 Y0. N120 G43 Z0.05 H01 D01 N130 (ENTER STARTING RIGHT SIDE NUMBER MANUALLY IN #599) N140 M97 P180 L99 N150 G53 G00 Z0. N160 G53 G00 X-20. Y0 N170 M30 N180 ( ENGRAVING SUB ) N190 G47 P0 X-0.75 Y0. J0.25 Z-0.005 F15. E10. (10) N200 G47 P1 X0.375 Y0. J0.25 Z-0.005 F15. E10. (##) N220 M99 % Last edited by JWK42; 09-18-2009 at 01:58 PM. Reason: ADDED PROGRAM TEXT |
| Sponsored Links |
|
#7
| |||
| |||
you mean macros / parametric programming? i would think you should know your G codes (serial engraving is clearly shown in the manual) before you step into custom macro B programming |
|
#8
| |||
| |||
| I would not be doing the programming a friend of mine had to do this with his milltronics machineto get the serial numbers the way he liked it. This is why I ask he will change the program code if it is possible. Thank you for your advise Mike |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fadal L9201 Serial Engraving | LP-CNC | Fadal | 5 | 10-25-2009 01:49 AM |
| macro to engrave serial numbers | nmn | Parametric Programing | 4 | 05-28-2009 09:33 PM |
| Backlash Numbers | fahque99 | DIY-CNC Router Table Machines | 0 | 02-14-2009 03:02 PM |
| Engraving Serial Numbers | drk | General CNC (Mill and Lathe) Control Software (NC) | 9 | 07-01-2007 09:26 AM |
| Posting sequentiol serial numbers | NateG | Engraving Machines | 3 | 06-22-2007 06:09 AM |