Tingsryd
Industrial
- Jul 28, 2010
- 269
I am trying to out G187 P1 right before every G00 and ouput G187 P3 right before every G01/g02/g03. I used a pb_cmd with mom_output_literal but the post only outputs the codes once then not again after a tool change. I also tried a simple text command and that gave the same result.
Here is an example of one of the pb_cmd's:
# This cmd outputs the G code for smoothness level: finish
#
#
#
MOM_output_literal "G187 P3"
Quite simlple but I'm obviously missing something. By the way, when using the pb_cmd there is no force output choice when right clicking it but there is when using simple text input.
The reason I want to do this is the finish mode adversely affects positioning so I want to set it to rough for G00 and set it back to finish for G01/G02/G03.
NX8
Here is an example of one of the pb_cmd's:
# This cmd outputs the G code for smoothness level: finish
#
#
#
MOM_output_literal "G187 P3"
Quite simlple but I'm obviously missing something. By the way, when using the pb_cmd there is no force output choice when right clicking it but there is when using simple text input.
The reason I want to do this is the finish mode adversely affects positioning so I want to set it to rough for G00 and set it back to finish for G01/G02/G03.
NX8