585,951 active members*
4,332 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Posts
    37

    Macro Translator

    Hi Scott,
    using the "Holes on arc"-Macro for example creates new lines with X- and Y-coordinates.
    If I want to have a subprogram-call at each position I add manually the line P#### M98 after each coordinate.
    So I added the variable #50 to the dialog and in the macro after the line X#32 Y#33 the text P O#50 M98 to let the macro create the subprogram-call.

    But the macro translator comes up with error messages :
    wrong expression or unknown subprogram

    Is there a way to let a macro write text into the main program like I described ?

    Thank you,
    Richard

  2. #2
    Join Date
    Mar 2003
    Posts
    765
    Hi Richard,

    There's no way to do this at the moment. I do have some changes planned for the macro translator that I wanted to include in the next update. This includes the ability to insert whatever text you want. This will be good for adding comments or other miscellanous code just like you describe.

    Thanks,
    Scott

  3. #3
    Join Date
    May 2007
    Posts
    37
    Hi Scott,
    I found a way to handle this problem meanwhile:

    in the macro after the line X#32 Y#33 I add the line X9999 and with search & replace I can change it in the main program to P9999 M98 for example

    Thank you,

    Richard

  4. #4
    Join Date
    May 2007
    Posts
    37
    Hi Scott,

    could you add the ability to show an individual small drawing to each macro as graphical support to what the macro is asking for ?

    Thank you,

    Richard

  5. #5
    Join Date
    Mar 2003
    Posts
    765
    Hi Richard,

    I actually did have this in there during most of the beta process. But it didn't get finished in time for release, so I removed it. All the code is still there, I just need to finish the graphics and re-enable it.

    Thanks,
    Scott

Similar Threads

  1. G code translator for Galil
    By harrymen in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 25
    Last Post: 07-13-2014, 08:49 AM
  2. Allegro A3986...Stepper Translator
    By slp_prlzys in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 06-07-2009, 07:59 PM
  3. WILDFIRE & 2001 to IGES Translator
    By 64dodge in forum PTC Pro/Manufacture
    Replies: 1
    Last Post: 01-16-2008, 02:56 PM
  4. Convert Fanuc Macro to Fadal Macro
    By bfoster59 in forum Fadal
    Replies: 1
    Last Post: 11-09-2007, 06:41 AM
  5. DAKENG u-2 16f84 stepper translator
    By vacpress in forum PIC Programing / Design
    Replies: 2
    Last Post: 12-13-2005, 02:58 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
  •