Session 107M-Configure Tool Change Logic
Session 107M-Configure Tool Change Logic
This session will show you how to configure tool change logic and then test it with MDI
and by processing the NC Program.
• Ribbon Bar > Machine / Control tab > Control group > Word Format
• Select Add
• Control = Base
• Name = T
• Type = Macro
• Sub Type = Numeric
• Metric Format = 2.0
• Select OK
• Ribbon Bar > Machine / Control tab > Control group > G-Code
Processing
• Expand Registers
• Add T word as shown below
• Ribbon Bar > Project tab > Info group > Variables > All
• Notice variable 4120 is updated
• NC Block Entry = M6
• Select Add to List
Notice that the Tool is loaded in the machine spindle. It is best to test the NC codes
individually to ensure the correct action occurs with the correct code.
Note: The ProcessMotion macro processes the motion associated with the previous
set of macros and acts as a end of the block to break up a series of motions.
• Ribbon Bar > Machine / Control tab > Machine group > Machine Settings
• Subroutine tab
Note: The features on the Subroutines tab enable you to specify the names of
external files containing subroutines accessible by the NC machine.
• Select Add
• File = mc_mill_machine_5ax_subroutine.sub
• Right-click on the Subroutine and select Edit and review the contents of the text
file
• Close editor
• Close Machine Settings window
• Modify the M word (range 6) word as shown below
Conclusion
This session has shown you how to configure tool change logic and then test it with MDI
and by processing the NC Program.