If the code is pretty standard.. (Haas , fanuc, Mach) the code should already give you a run time. If not then you may need some customizations. Take a look at this info it may clarify some of the editor setup for up..
Setting up the tool changes in the predator editor
BobCADV23 Predator Editor template changes. MCode Change