
HU-TX500-TECH
209
TX500 series technical manual
GPI Macros are defined in the section ‘Macro#File’, where the # is numbers 1 to 8. The files
are stored on the Compact Flash card along with the rest of the system files, and their
names must be in the 8.3 naming convention with the extension .MAC to indicate that it is a
Macro file. If no macros are defined then the default is to leave the field empty.
10.7.2 GPI Macro Files
A GPI macro file is a specially formatted text file that lists the following information
[GPI]
InputGPI=#1
OutputGPI=#2
[COMMANDS]
On=FF.xx.xx.xx.xx.xx.xx.xx.xx.xx
Off=FF.yy.yy.yy.yy.yy.yy.yy.yy.yy
The InputGPI is the defined GPI number of the open collector circuit on the 2332 card that
the TX Panel spare button is connected to and used to start the macro commands it is
associated with. To indicate that the GPI Macro has been run, the OutputGPI is the GPI
circuit number that the lamp or LED of the spare button is attached to. For details on these
buttons and connections see sections 4.2, 4.4 and 5.7.
The [Commands] section list the On and Off commands that are associated with the
execution of the GPI Macro. They are based on Automation style commands in terms of the
hex numbers that make up the data in that message, each value must be separated by a full
stop (.), see SW-P-32 for details of the messages.
The On command is executed when the macro is turned ‘on’ as defined by the InputGPI
value, followed by the illumination of the lamp indicated by OutputGPI.
The Off command is executed when the macro is turned ‘off’ and should ideally be the
reverse conditions of the On command, followed by the de-illumination of the lamp.