NX
Feed Rate Output on Every Line in Post Configurator when using FRN - Inverse Feed Rate
2021-10-06T23:27:43Z
NX for Manufacturing
Summary
Details
Some CNC controllers require a feed rate F command on every line after the FRN -Inverse Feed Rate is turned on. What code can be added to a Post Configurator post to force this output? The feed rate command would be output on every line after the G93 command. When G94 is output the feed rate is modal and therefore only needed when the value changes. This can be seen in the picture below.
Solution
Add the following code to the service layer in Post Configurator. Be sure that the code looks like the picture below without any lines wrapping to the next line.
LIB_GE_command_buffer_edit_prepend MOM_linear_move_LIB MOM_linear_move_LIB_ENTRY_start ForceFeedFRN forceFRN proc ForceFeedFRN {} { if { $::feed_mode == "FRN" || $::feed_mode == "INVERSE" } { MOM_force once F } }
Notes and References
Please be aware that any code provided by GTAC is intended to be used for sample purposes only. It is the user's responsibility to determine whether the code is suitable for the purpose.
Hardware/Software Configuration
Platform: all OS: n/a OS Version: n/a Product: NX Application: CAM Version: V1919 Function: POSTCONFIG