Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
No problem here.
Haas ST20Y, ST10
Nomura Swiss Machines of various complexities.
DMG Sprint65 Linear ( 2 opposed spindles, 3 turrets , C axis on all, etc)
Mori NZ2000T3Y2
Older Hardinge lathes ( Cobra and Conquest )
This doesn't apply to your formatting question, however,
Last I knew, the # sign is used to start a comment , everything to the right of # is ignored.
If you need to output a # to your NC program you need to code it as its ascii value or 35.
example: G90G#110 could be coded in the post as "G90G", 35, "110"
Have the post alter the variable 'speed' so a spindle speed not ending in zero won't happen, such as:
change the least significant digit to zero.
speed = (int(speed/10)) * 10
or
define a new variable, say, alt_speed then a new postblock:
pfixspeed # spindle speed to end in zero
alt_speed = (int(speed/10)) * 10
speed = alt_speed
*speed
or
pfixspeed # spindle speed to end in zero
alt_speed = (int(speed/10)) * 10
*alt_speed
then substitute pfixspeed where speed is output
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.