603,899 active members*
2,139 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2008
    Posts
    11

    macro to engrave serial numbers

    I see in the haas manual there is a macro to engrave serial numbers. I would like to engrave numbers on some connecting rods Ive made. I need to engrave matching numbers on the cap and rod, and then have the macro increment up to the next number on the next assembly. Can any one point me in the right direction?

  2. #2
    Join Date
    Sep 2008
    Posts
    11
    I played around a little bit and got the haas macro to do what i needed, ( not exactly what i wanted, but what i needed) I engraved the parts as an assembly, half the serial number on the rod and half on the cap. I was wanting to put matching serial numbers on the rod and cap( 001 and 001 instead of 001 split by the parting line) but i was not sure how to engrave the same number twice in one set up, without the macro incrementing to the next number???

  3. #3
    Join Date
    Mar 2005
    Posts
    988
    I can't remember the Haas macro but I believe the counter is in the #500s for this. The way the macro runs is the counter rolls up in the G47 macro itself. So, you could either edit out the counter in the machine macro, or in between the engraving, you can subtract a value of "1" from the variable before it starts the next portion.

    For example: If the variable is #519 for the counter.... just have a line like this
    #519=#519-1.
    Then when you run the next engraving on the matching part, it will engrave the same serial number. After it runs the second engraving, the counter will then roll up.
    It's just a part..... cutter still goes round and round....

  4. #4
    Join Date
    Sep 2008
    Posts
    11
    Thanks physcomill, Ill give it a try. I think the variable for the counter is #599??

  5. #5
    Join Date
    Mar 2005
    Posts
    988
    That sounds about right..... working off the top of my head and I don't program Haas that often...
    It's just a part..... cutter still goes round and round....

Similar Threads

  1. Fanuc Serial Number Macro
    By TomL21 in forum Parametric Programing
    Replies: 17
    Last Post: 05-11-2024, 05:54 PM
  2. Convert Fanuc Macro to Fadal Macro
    By bfoster59 in forum Fadal
    Replies: 1
    Last Post: 11-09-2007, 06:41 AM
  3. Engraving Serial Numbers
    By drk in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 9
    Last Post: 07-01-2007, 03:26 PM
  4. Posting sequentiol serial numbers
    By NateG in forum Engraving Machines
    Replies: 3
    Last Post: 06-22-2007, 12:09 PM
  5. How do I engrave numbers...
    By slp_prlzys in forum DIY CNC Router Table Machines
    Replies: 7
    Last Post: 10-15-2004, 08:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •