New to using Macros


Results 1 to 2 of 2

Thread: New to using Macros

  1. #1
    Registered
    Join Date
    Jul 2009
    Location
    United States
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default New to using Macros

    I'm new to programming with macros so please forgive my ignorance.
    I need to know how to write a macro that I can input:

    Variable #1 (how many individual tool programs are there?)
    Variable #2 (number of cavities to be cut in 1st row)
    Variable #3 (centerline distance between cavities)
    Variable #4 (number of cavities to be cut 2nd row) (may be 0)
    Variable #5 (X translation amount for 2nd row) (may be 0)
    Variable #6 (Y translation amount for 2nd row) (may be 0)
    Variable #7 (tool 1 program number)
    Variable #8 (tool 2 program number)
    Variable #9 (tool 3 program number)
    Variable #10 (tool 4 program number)
    Variable #11 (tool 5 program number)
    Variable #12 (tool 6 program number)
    Variable #13 (tool 7 program number)
    Variable #14 (tool 8 program number)
    Variable #15 (tool 9 program number)
    Variable #16 (tool 10 program number)
    Variable #17 (tool 11 program number)
    Variable #18 (tool 12 program number)
    Variable #19 (tool 13 program number)
    Variable #20 (tool 14 program number)
    Variable #21 (tool 15 program number)
    Variable #22 (tool 16 program number)

    Macro
    1. Run individual tool program offset (variable #3) (variable #2) times.
    2. Mirror if necessary.
    3. Run program offset (variable #5 and #6) (variable #4) times.
    4. Mirror if necessary.
    5. Move to next tool program

    I may not use all the tools on every job. The cavities I'm programming have a lot of 3D detail and I use a lot of small cutters with a lot of movement for the detail. The programs might be upwards of 30 cavities on a single plate (cutting two plates at a time) and the programs are just too large to run complete. That's why I want to start using macros. That way I can just post the individual tool programs for one cavity.

    Similar Threads:


  2. #2
    Member
    Join Date
    Nov 2007
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0

    Default Re: New to using Macros

    Did you get your macro sorted out. Where did you start taking tutorials and getting up to speed?



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

New to using Macros

New to using Macros