![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489093.webp)
72
Sequence Output Instructions
Section 3-2
3-2
Sequence Output Instructions
BIT TEST
AND TSTN
351
LD TSTN(351), AND TSTN(351), and OR TSTN(351) are used in the pro-
gram 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.
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 execution condition is ON when the specified bit
in the specified word is ON and OFF when the bit is OFF
Required
BIT TEST
OR TSTN
351
LD TSTN(351), AND TSTN(351), and OR TSTN(351) are used in the pro-
gram 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.
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
OUTPUT
OUT
!OUT
Outputs the result (execution condition) of the logical processing to the spec-
ified bit.
Output
Required
OUTPUT NOT
OUT NOT
!OUT NOT
Reverses the result (execution condition) of the logical processing, and out-
puts it to the specified bit.
Output
Required
KEEP
KEEP
!KEEP
011
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
S: Source word
N: Bit number
AND TSTN(351)
S
N
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
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...