state. Typically, the inactive state is logic high ('1') and the active state is logic low ('0'). This is commonly
referred to as active low. Acitve low is considered normal because a closed switch would ground the input and a
closed switch would normally be considered active. This polarity setting can be changed via the
LIP command.
A single command can be assigned to each of three conditions occurring on the logic pin: a change to the active
state, a change to the inactive state, and a repeating command when the pin is held in the active state. The LIH
command assigns a single command to the logic pin that is executed repeatedly when the logic pin is held in the
active state. This command is useful for volume ramping controls, especially when combined with the relative
operators (< and >) of integer commands (see
Section 6.2).
Although only one command can be assigned to the state change, the command may be a
MACROX or MACROQ
command. Since up to 256 commands can be stored in each macro, this gives the effect of having up to 256
commands execute when the logic pin changes state. The command associated with the state change can also
be a
PRESETX or PRESETQ. This makes it easy to reconfigure the device for different rooms based on external
logic settings.
The
BROADA is also useful in logic pin assignments. The BROADA command transmits a command to another
device on the EF Bus, so you can effectively make a logic pin state change on one device cause an action to
occur on another device.
ERROR#074 will be generated if the assigned command is one that writes non-volatile memory, and the pin will
not actually be assigned.
See the description of the
LIA for examples on how to use the LIH command. The syntax for this command is
exactly the same. One additional example is given here: using the LIH command for volume control.
This command is saved to global non-volatile memory and is not part of a preset. Its value is saved each time it
is changed. It will retain its value after power-down. Since this command writes to non-volatile memory, there
will be a delay before an acknowledgment is returned.
Example Description Status Message
F01LIH8,GAINIA>3
Assign the command GAINIA>3 to occur repeatedly when logic
pin 8 is held in the active state. The GAINIA>3 command causes
the gain on input channel A to increase by 3 dB each time the
command is executed.
F01LIH8,GAINIA>3
8.67. LIEN -- Enable Automatic Logic Input Status Messages
This command controls whether or not logic input status messages are sent automatically. If LIEN is enabled,
then a logic input query (LI*?) is performed any time any of the states change on the logic input pins. For
example, if all logic inputs are currently in the low state ('0') and LIEN is enabled, then if logic input 12 changes
state to '1', the following status message will be generated:
F01LI*000000000001000000000000
A status message is only generated if there is a state change. This helps keep data traffic to a minimum.
This command is a boolean command. See
Section 6.1 for more information on this type of command.
This command is saved to non-volatile memory only as part of a preset. The state of this command will be
restored after power-up only if a preset is saved and that preset is set to be the power-on preset.