You need to call Fanuc. They can head you the correct direction for the proper parameters. As far as macros, its been over 10 years since I did a tool setter macro.
As far as a tool changer there are different ways the various machines are set up, some may use a macro, and some have built in preprogramed controls. Well thats the way I understand it anyway. If you have a copy of a tool changer macro thats a start, good info from Fanuc and the machine builder would help to decipher the macro you have.