CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-15-2009, 10:24 PM
mls mls is offline
 
Join Date: Mar 2008
Location: usa
Posts: 107
mls is on a distinguished road
engraving serial numbers

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
Reply With Quote

  #2   Ban this user!
Old 09-16-2009, 07:10 AM
 
Join Date: Apr 2006
Location: usa
Posts: 128
JWK42 is on a distinguished road

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
Reply With Quote

  #3   Ban this user!
Old 09-16-2009, 02:44 PM
 
Join Date: Jun 2009
Location: USA
Posts: 14
DDLES is on a distinguished road

We have a 2009 machine and I just used the IPS to generate the code. ( I don't know if yours as IPS). There is a how to on the HAAS website.
Reply With Quote

  #4   Ban this user!
Old 09-16-2009, 06:47 PM
mls mls is offline
 
Join Date: Mar 2008
Location: usa
Posts: 107
mls is on a distinguished road

This is what I am trying to do two numbers on one side and then 2 numbers on the other side with that space in between them (00 01) but I would need a certain distance between them.
Thanks Mike
Attached Thumbnails
Click image for larger version

Name:	DSC00069.JPG‎
Views:	108
Size:	141.9 KB
ID:	89004  
Reply With Quote

  #5   Ban this user!
Old 09-17-2009, 10:42 AM
 
Join Date: Apr 2006
Location: usa
Posts: 128
JWK42 is on a distinguished road

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
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-17-2009, 02:36 PM
mls mls is offline
 
Join Date: Mar 2008
Location: usa
Posts: 107
mls is on a distinguished road

That is a great idea if we cant find a way to do this automaticly your way will work.
Is there a programming language that the haas has I can modify to make it work.

Thanks Mike
Reply With Quote

  #7   Ban this user!
Old 09-17-2009, 05:43 PM
 
Join Date: Nov 2008
Location: USA
Posts: 76
SlowRiderr is on a distinguished road

Originally Posted by mls View Post
That is a great idea if we cant find a way to do this automaticly your way will work.
Is there a programming language that the haas has I can modify to make it work.

Thanks Mike
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
Reply With Quote

  #8   Ban this user!
Old 09-17-2009, 08:22 PM
mls mls is offline
 
Join Date: Mar 2008
Location: usa
Posts: 107
mls is on a distinguished road

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
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 08:27 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361