B01LIK5
Delete all the commands associated with logic input pin 5. This one command
is equivalent to executing the commands ' B01LIA5, ', ' B01LID5, ', and '
B01LIH5, ' except that this command is more efficient.
B01LIK5
B01LIK*
Delete all the commands associated with all logic input pins. This one
command is equivalent to executing the commands ' B01LIA1, ' B01LID1,
', and ' B01LIH1, ' for each logic input, except that this command is much
more efficient.
B01LIK*
8.85. LIM -- Mask Logic Input Pins
This command is used to mask (i.e., disable) logic input pins. The mask consists of 24 fields (one for each
logic input) that can each be set to 0 or 1. If the mask bit for a given logic input is set to 1, then the logic
input pin works normally. If the mask bit for a given logic input is set to 0, then the logic input 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
B01LIM100101101111011111111111
Mask (disable)
logic inputs 2,
3, 5, 8, and 13.
B01LIM100101101111011111111111
B01LIM?
Query current
logic input
mask.
B01LIMabcdefghijklmnopqrstuvwx where
a-x are each 0 or 1 depending on the current
state of the logic input mask.
8.86. 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 B01LIG2,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 B01LIN2,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.