Let's say we want a message to be appended to the Repeater Initial and Normal ID Messages while the repeater is operating on battery power. We have wired our Logic Input #4 to detect a power failure.
We program User Message #1 with the speech we want to hear, like this (see page 6-63):
; Say "power fail thirteen point two volts" or whatever the actual voltage is
99 33 0015 9960 0148 0766 9852 01 00 9960 0150 *
You can test this message with this command:
99 34 0015 *
Then you need two macros. You need one macro to add the tail message and one to remove it (see page 12-10):
; Add the tail message
99 20 3001 99 50 00 0015 *
99 20 3001 99 50 01 0015 *
; Remove the tail message
99 20 3000 99 50 00 *
99 20 3000 99 50 01 *
And finally, we specify which macros to execute when Logic Input #4 changes level (see page 14-2):
; Set the event macros to detect the power failure
99 26 0067 3001 *
99 26 0068 3000 *
When AC power is present, the repeater ID Messages play as normal. When the repeater is operating on battery power, the tail message is appended to the Initial and Normal ID Messages.