Zahnrad Kopf
Diamond
- Joined
- Apr 5, 2010
- Location
- Tropic of Milwaukee
Originally posted in the macro fundementals thread, but getting no responses so thought that it may indeed be a Haas issue, rather than a macro issue. Have no idea, actually. Still, posting in case someone is aware of a work-around for using a variable in the specified text area of the Haas G47 macro.
Original post -
I'm not sure if this is a Haas issue specifically, or a macro issue...
Is it possible to use a variable's value for the text to be engraved while using Haas's G47 macro function**?
In other words, when using the P0 (value), or even the P1 (value), can one reference a variable?
In essence - P0(#505)
All manner of mayhem broke loose when I tried so I'm sure that I'm doing something wrong, but want to make sure that it is even possible.
Thank you.
** - G47 Text Engraving (Group 00)
* E - Plunge feed rate (units/min)
F - Engraving feedrate (units/min)
* I - Angle of rotation (-360. to +360.); default is 0
* J - Height of text in in/mm (minimum = 0.001 inch);
default is 1.0 inch
P - 0 for literal text engraving
- 1 for sequential serial number engraving
- 32-126 for ASCII characters
* R - Return plane
* X - X start of engraving
* Y - Y start of engraving
* Z - Depth of cut
*indicates optional
On follow up, I was able to accomplish my goal, but would still like to know if it is possible to call the contents of a variable instead of literally specifying the text to be machined/engraved.
Thanks.
Original post -
I'm not sure if this is a Haas issue specifically, or a macro issue...
Is it possible to use a variable's value for the text to be engraved while using Haas's G47 macro function**?
In other words, when using the P0 (value), or even the P1 (value), can one reference a variable?
In essence - P0(#505)
All manner of mayhem broke loose when I tried so I'm sure that I'm doing something wrong, but want to make sure that it is even possible.
Thank you.
** - G47 Text Engraving (Group 00)
* E - Plunge feed rate (units/min)
F - Engraving feedrate (units/min)
* I - Angle of rotation (-360. to +360.); default is 0
* J - Height of text in in/mm (minimum = 0.001 inch);
default is 1.0 inch
P - 0 for literal text engraving
- 1 for sequential serial number engraving
- 32-126 for ASCII characters
* R - Return plane
* X - X start of engraving
* Y - Y start of engraving
* Z - Depth of cut
*indicates optional
On follow up, I was able to accomplish my goal, but would still like to know if it is possible to call the contents of a variable instead of literally specifying the text to be machined/engraved.
Thanks.