mhrub
Mechanical
- Jun 20, 2012
- 16
Hello all,
I just came back from UG PB training, and I have a question about editing the expressions for the system words. I know it is possible to do because the former person who was in charge of building posts at our company has done it, however I was unsure if it is possible to do within post builder or only by editing the TCL and .pui files directly.
For example, if I go to create a block named auto_tool_change (NC DATA DEFINITIONS --> BLOCK), and add the system word T (tool number) and right click and edit this under his current post the expression is 100 * $mom_tool_number + $mom_tool_adjust_register. Under my new post I am making, if I right click and edit the expression for the tool number is simply $mom_tool_number.
Another example is the word "spindle_max_rpm". For us, it is a G50 and it is built into the system as G92. The only way I was able to change this was by directly going into the .pui file and changing it to 50. And no, spindle max RPM is not a standard word under program & tool path --> g codes.
My instructor told me never to go into the .pui files and .tcl files and to do all the work in post builder itself but I see no way of changing these generic expressions otherwise. The person who made the post I am converting over to the new post builder is no longer here to ask unfortunately and I have searched many places finding nothing.
Thanks for any advise,
Mike
I just came back from UG PB training, and I have a question about editing the expressions for the system words. I know it is possible to do because the former person who was in charge of building posts at our company has done it, however I was unsure if it is possible to do within post builder or only by editing the TCL and .pui files directly.
For example, if I go to create a block named auto_tool_change (NC DATA DEFINITIONS --> BLOCK), and add the system word T (tool number) and right click and edit this under his current post the expression is 100 * $mom_tool_number + $mom_tool_adjust_register. Under my new post I am making, if I right click and edit the expression for the tool number is simply $mom_tool_number.
Another example is the word "spindle_max_rpm". For us, it is a G50 and it is built into the system as G92. The only way I was able to change this was by directly going into the .pui file and changing it to 50. And no, spindle max RPM is not a standard word under program & tool path --> g codes.
My instructor told me never to go into the .pui files and .tcl files and to do all the work in post builder itself but I see no way of changing these generic expressions otherwise. The person who made the post I am converting over to the new post builder is no longer here to ask unfortunately and I have searched many places finding nothing.
Thanks for any advise,
Mike