586,094 active members*
4,177 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Fadal > engraving with variables
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2005
    Posts
    143

    engraving with variables

    Hey folks,
    I want to use L9201 to engrave a number on a workpiece. The number is contained in the V9 variable.

    L9201 R0+.1 R1+0. R2+.5 R3+0. F20 (TEST V9
    will engrave "TEST V9"

    L9201 R0+.1 R1+0. R2+.5 R3+0. F20 (TEST #V9
    will engrave "TEST #V9"

    L9201 R0+.1 R1+0. R2+.5 R3+0. F20 #V9
    gives an error "only / allowed in macros"


    So is it possible to engrave a number from a variable?
    Any thoughts??

  2. #2
    Join Date
    Mar 2005
    Posts
    1498
    050609-1430 EST USA

    Shizzlemah:

    No idea on Fadal. On newer HAAS machines G47 is Text Engraving.

    G47 P0 (ENGRAVE THIS) ------- engraves the string ENGRAVE THIS
    ....... this looks similar to what you described.

    Additionally HAAS has

    G47 P1 (####) --------- this is a formatting command of sorts where
    ........ the number of # positions indicates the number of digits engraved.
    ........ No description if this becomes a mod N number internally or not.
    ........ If you have MACROS you should be able to do a DPRINT of the
    ........ content of #599.

    The initial serial number can be set to 5031 by
    G47 P1 (5031) ....... or whatever number you want.

    or load macro variable #599 with the initial value, does not require MACROS.

    I have never tried this, and as usual the description in the manual is vague.

    What you can not do is work with string variables because there is no provision for such animals.

    www.beta-a2.com

    .

  3. #3
    Join Date
    Mar 2003
    Posts
    900
    The L9201 Engraving Cycle is strickly literal. It will only engrave the exact characters after the "(" sign. Macro statements can not be on the same line as any "G" codes.
    You can serialize by using R1+2 font and add R4+1 for the increment you wish:
    L9201 R0+.05 R1+2 R3+0 R4+1 Z-.005 F40. (Test 01
    This line will increment by one (R4+1) each time the cycle is executed.

    Neal

  4. #4
    Join Date
    Mar 2005
    Posts
    143
    Thanks guys, I guess I'll have to write a pile of code to get this job done.

    Shizzlemah

  5. #5
    Join Date
    Mar 2005
    Posts
    1498
    050610-2050 EST USA

    Shizzlemah:

    I do not known enough about Fadal to understand Neal's comment, but from a genaral standpoint I would not classify the job as a large amount of code. I believe it was on Gurus where I showed someone how to do this.

    Division by 10expN and use the integer value of the result to extract digits from the variable.

    beta-a2.com

    .

  6. #6
    Join Date
    Mar 2005
    Posts
    143
    Neal's post said that the command will engrave text or numbers, and can increment numbers - but you can't pass a macro variable.

    It will probably be about 30 lines of code, not horrible but nowhere near as convenient as one ! Divide and pull out each digit, engrave it, and move the machine some distance based on which charachter was just engraved.

    I'm not scared, just was hopin' for a shortcut

Similar Threads

  1. Using CNC Mill for Engraving
    By studysession in forum Uncategorised MetalWorking Machines
    Replies: 25
    Last Post: 10-23-2006, 03:15 AM
  2. parametric programming
    By Karl_T in forum CamSoft Products
    Replies: 21
    Last Post: 05-24-2005, 08:58 PM
  3. Engraving Software
    By The Wizard in forum Uncategorised CAM Discussion
    Replies: 31
    Last Post: 03-29-2005, 12:38 PM
  4. Engraving
    By Hack in forum Uncategorised CAM Discussion
    Replies: 6
    Last Post: 03-25-2005, 03:53 PM
  5. Intro + engraving bits
    By Swede in forum Uncategorised MetalWorking Machines
    Replies: 7
    Last Post: 02-07-2004, 09:47 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
  •