585,931 active members*
4,613 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    65

    Question Posting Macro's With MC9

    Hi all...trying to Find a Way to get MC9 to post a "#" sign...I'm trying to it to post "G60 W#517" after a tool change. I'm writing a post for a Monach VMC 75. The machine has a W axis..(head moves up and down, basically and extended or Second Z axis)..the machine needs to be at W0 for a tool change, and we normally set the working height for the head with #517...this in the only thing we use the W axis for so it would be really easy if I can the post to post a "#" sign..thanks to anyone who's replies.

  2. #2
    Join Date
    Dec 2008
    Posts
    3109
    Quote Originally Posted by JMS4287 View Post
    Hi all...trying to Find a Way to get MC9 to post a "#" sign...I'm trying to it to post "G60 W#517" after a tool change. I'm writing a post for a Monach VMC 75. The machine has a W axis..(head moves up and down, basically and extended or Second Z axis)..the machine needs to be at W0 for a tool change, and we normally set the working height for the head with #517...this in the only thing we use the W axis for so it would be really easy if I can the post to post a "#" sign..thanks to anyone who's replies.
    To use ascii code , I think you have to use the ascii code numbers, decimal equivalent

    link to eMastercam

  3. #3
    Join Date
    Sep 2008
    Posts
    111
    or try posting as a literal string.

  4. #4
    Join Date
    Dec 2008
    Posts
    3109
    Quote Originally Posted by cad01 View Post
    or try posting as a literal string.
    Using the # sign in the post you cannot do, it is the sign for comments, anything stated after it is a reference or comment for the post editor.

    So the only way to output the pound (#) sign is use it as per the link


    n$, no_spc$, "G60 W", 35, "517", e$
    is what is placed in the post to get N1234 G60 W#517
    The $ may need to be omitted for V9 for all postblocks

Similar Threads

  1. Digitizing macro's
    By pants in forum Digitizing and Laser Digitizing
    Replies: 4
    Last Post: 01-16-2009, 09:07 PM
  2. macro's how to
    By [email protected] in forum Mach Wizards, Macros, & Addons
    Replies: 1
    Last Post: 09-03-2008, 04:07 AM
  3. macro's for probing?
    By REVCAM_Bob in forum G-Code Programing
    Replies: 2
    Last Post: 06-10-2008, 02:17 AM
  4. macro's
    By Traceycnc300 in forum Haas Mills
    Replies: 12
    Last Post: 04-17-2006, 06:43 PM
  5. How to use Macro's
    By smallplanes in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 5
    Last Post: 10-10-2005, 10:32 AM

Posting Permissions

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