![Omron CJ1G-CPUxx Instructions Manual Download Page 47](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491047.webp)
26
Instruction Functions
Section 2-2
2-2-2
Sequence Output Instructions
BIT TEST
OR TST
350
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.
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
Page
OUTPUT
OUT
!OUT
Outputs the result (execution condition) of the logical processing to the
specified bit.
Output
Required
OUTPUT NOT
OUT NOT
!OUT NOT
Reverses the result (execution condition) of the logical processing, and
outputs it to the specified bit.
Output
Required
KEEP
KEEP
!KEEP
011
Output
Required
DIFFERENTIATE
UP
DIFU
!DIFU
013
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
S: Source word
N: Bit number
TST(350)
S
N
S: Source word
N: Bit number
TSTN(351)
S
N
B: Bit
KEEP(011)
B
S (Set)
R (Reset)
Set
Reset
Operates as a latching relay.
S execution
condition
R execution
condition
Status of B
B: Bit
DIFU(013)
B
Execution condition
Status of B
One cycle
DIFU(013) turns the designated bit ON for one cycle when the
execution condition goes from OFF to ON (rising edge).
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...