Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 68

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
AND LOAD
Logic block Logic block
AND LD
OR LOAD
Logic block
OR LD
Logic block
NOT
---
NOT
520
CONDITION ON
UP(521)
UP
521
CONDITION OFF
DOWN(522)
DOWN
522
BIT TEST
TST(350)
LD TST
350
S: Source word
N: Bit number
BIT TEST
TSTN(351)
LD TSTN
351
S: Source word
N: Bit number
BIT TEST
AND TST(350)
AND TST
350
S: Source word
N: Bit number
BIT TEST
AND TSTN(351)
AND TSTN
351
S: Source word
N: Bit number
32
Takes a logical AND between logic blocks.
LD
Logic block A
to
LD
Logic block B
to
AND LD
Takes a logical OR between logic blocks.
LD
Logic block A
to
LD
Logic block B
to
OR LD
Reverses the execution condition.
UP(521) turns ON the execution condition for one cycle when the exe-
cution condition goes from OFF to ON.
DOWN(522) turns ON the execution condition for one cycle when the
execution condition goes from ON to OFF.
LD TST(350), AND TST(350), and OR TST(350) are used in the pro-
gram like LD, AND, and OR; the execution condition is ON when the
specified bit in the specified word is ON and OFF when the bit is OFF.
S
N
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
S
the bit is OFF.
N
LD TST(350), AND TST(350), and OR TST(350) are used in the pro-
gram like LD, AND, and OR; the execution condition is ON when the
specified bit in the specified word is ON and OFF when the bit is OFF.
S
N
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
S
the bit is OFF.
N
Function
Serial connection between logic block A and
logic block B.
Parallel connection between logic block A
and logic block B.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Continues on
144
rung
Required
Continues on
144
rung
Required
Continues on
147
rung
Required
Continues on
148
rung
Required
Continues on
148
rung
Required
Continues on
150
rung
Not required
Continues on
150
rung
Not required
Continues on
152
rung
Required
Continues on
152
rung
Required

Advertisement

Table of Contents
loading

Table of Contents