1-102 Chapter1
Alphabetical Command Reference
IF
IF
Syntax
IF<BIHIGH|BILOW|LCEQZE|LCNEZE|LTFAIL|LTPASS>;
Description
These 6 commands branch an executing sequence to a new sequence if the following
condition is satisfied.
EXAMPLE To designate the new sequence, each of the following commands must be
followed by the SEQ<num> command (where <num> = 1 through 6). For
example:
Or the new sequence can be designated as part of the command itself.
For example:
Command Description Range Query Response
IFBIHIGH Tests the specified input GPIO bit (see
“PARAIN”). If high, invokes the sequence
which follows.
N/A N/A
IFBILOW Tests the specified input GPIO bit (see
“PARAIN”). If low, invokes the sequence
which follows.
N/A N/A
IFLCEQZE If loop counter equals zero, then do the
sequence that follows.
N/A N/A
IFLCNEZE If loop counter does not equal zero, then do
the sequence that follows.
N/A N/A
IFLTFAIL If limit test fails, then do sequence that
follows.
N/A N/A
IFLTPASS If limit test passes, then do sequence that
follows.
N/A N/A
10 OUTPUT 716;”IFLCEQZE;” If loop counter equals zero, then
20 OUTPUT 716;”SEQ4;” Execute sequence 4
10 OUTPUT 716;”IFLCEQZESEQ4;” If loop counter equals zero, then
execute sequence 4