8.81.
LIK
-- Delete One or All Logic Input Pin Commands
This command "kills" or deletes all commands for a given logic input pin. In other words, the
commands associated with
LIA
,
LID
, and
LIH
will be deleted for the specified logic input. A wildcard
character can also be specified for the logic input pin, in which case the commands for all logic input
pins will be deleted.
Using this command is more efficient than deleting one command or pin at a time since this command
deletes them all at once and requires fewer writes to non-volatile memory.
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
S01LIK5
Delete all the commands associated with logic input pin 5. This one
command is equivalent to executing the commands '
S01LIA5,
', '
S01LID5,
', and '
S01LIH5,
' except that this command is more
efficient.
S01LIK5
S01LIK*
Delete all the commands associated with all logic input pins. This one
command is equivalent to executing the commands '
S01LIA1,
'
S01LID1,
', and '
S01LIH1,
' for each logic input, except that this
command is much more efficient.
S01LIK*
8.82.
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