Appendices
A-4
CJ2 CPU Unit Software User’s Manual
OR LOAD OR LD --- Continues
on rung
Required
NOT NOT 520 Reverses the execution condition. Continues
on rung
Required
CONDITION
ON
UP 521 UP(521) turns ON the execution condition for one cycle
when the execution condition goes from OFF to ON.
Continues
on rung
Required
CONDITION
OFF
DOWN 522 DOWN(522) turns ON the execution condition for one
cycle when the execution condition goes from ON to
OFF.
Continues
on rung
Required
BIT TEST LD TST 350 LD TST(350), AND TST(350), and OR TST(350) are
used in the program like LD, AND, and OR; the execu-
tion condition is ON when the specified bit in the speci-
fied word is ON and OFF when the bit is OFF.
Logic start Not
required
BIT TEST LD TSTN 351 LD TSTN(351), AND TSTN(351), and OR TSTN(351)
are used in the program like LD NOT, AND NOT, and
OR NOT; the execution condition is OFF when the
specified bit in the specified word is ON and ON when
the bit is OFF.
Logic start Not
required
BIT TEST AND TST 350 LD TST(350), AND TST(350), and OR TST(350) are
used in the program like LD, AND, and OR; the execu-
tion condition is ON when the specified bit in the speci-
fied word is ON and OFF when the bit is OFF.
Continues
on rung
Required
BIT TEST AND TSTN 351 LD TSTN(351), AND TSTN(351), and OR TSTN(351)
are used in the program like LD NOT, AND NOT, and
OR NOT; the execution condition is OFF when the
specified bit in the specified word is ON and ON when
the bit is OFF.
Continues
on rung
Required
BIT TEST OR TST 350 LD TST(350), AND TST(350), and OR TST(350) are
used in the program like LD, AND, and OR; the execu-
tion condition is ON when the specified bit in the speci-
fied word is ON and OFF when the bit is OFF.
Continues
on rung
Required
BIT TEST OR TSTN 351 LD TSTN(351), AND TSTN(351), and OR TSTN(351)
are used in the program like LD NOT, AND NOT, and
OR NOT; the execution condition is OFF when the
specified bit in the specified word is ON and ON when
the bit is OFF.
Continues
on rung
Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
Logic block
Logic block
LD
LD
OR LD
to
to
Takes a logical OR between logic blocks.
Logic block A
Logic block B
Parallel connection between
logic block A and logic block B.
UP(521)
DOWN(522)
TST(350)
S
N
S: Source word
N: Bit number
TSTN(351)
S
N
S: Source word
N: Bit number
S
N
S: Source word
N: Bit number
AND TST(350)
S
N
S: Source word
N: Bit number
AND TSTN(351)
S: Source word
N: Bit number
S
N
TST(350)
S
N
S: Source word
N: Bit number
TSTN(351)