is disabled. When a logic input is disabled, any commands assigned to the logic pin via
LIA
,
LID
, and
LIH
will not be executed.
If a logic pin is disabled and then re-enabled at some later time and the logic input has changed state
from when it was disabled, the command associated with the state change will be executed. For
example, if a logic input pin is high when it is disabled, and it is low when it is re-enabled, the
command defined via
LID
(or
LIA
if the polarity is changed via
LIP
) will be executed. However, if the
pin changes state multiple times while it is disabled, multiple commands will not be executed; only the
difference in state when the logic input is re-enabled is considered.
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.
Example
Description Status Message
T01LIM100101101111011111111111
Mask (disable)
logic inputs 2,
3, 5, 8, and
13.
T01LIM100101101111011111111111
T01LIM?
Query current
logic input
mask.
T01LIMabcdefghijklmnopqrstuvwx
where
a
-
x
are each
0
or
1
depending on the
current state of the logic input mask.
8.50.
LIN
-- Assign Command to Logic Input Group
This command assigns a command to be executed when a group of logic input pins is in a certain
configuration. Logic groups are defined via the
LIG
command.
As an example, assume that the command
T01LIG2,000001111100000000000000
has been sent
to the device. This command configures logic input pins 6-10 to be part of logic group 2. Now, we send
the command
T01LIN2,10,MACROX25
. This command configures logic input group 2 to execute the
command
MACROX25
when logic inputs 7 and 9 are active ('1') and logic inputs 6, 8, and 10 are
inactive ('0'). The first number in the
LIN
command specifies which logic group to be affected. The
second number specifies the configuraion. In this case, the number '10' translates to '01010' in binary.
There are zeros in the positions for the first, third, and last bits -- these correspond to logic inputs 6, 8,
and 10 for our case. Similarly, the ones in the second and fourth positions correspond to bits 7 and 9.
The last part of the command specifies the command to be executed with the pins enter this
configuration.
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