27
Instruction Functions Section 2-2
2-2-2 Sequence Output Instructions
*1
: Not supported by CS1D CPU Units for Duplex-CPU Systems.
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
182
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
182
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
TST(350)
S
N
S: Source word
N: Bit number
TSTN(351)
S
N
S: Source word
N: Bit number
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
OUTPUT
OUT
!OUT
*1
Outputs the result (execution condition) of the logical processing to the
specified bit.
Output
Required
185
OUTPUT NOT
OUT NOT
!OUT NOT
*1
Reverses the result (execution condition) of the logical processing, and
outputs it to the specified bit.
Output
Required
187
KEEP
KEEP
!KEEP
*1
011
Output
Required
188
DIFFERENTIATE
UP
DIFU
!DIFU
*1
013
Output
Required
193
KEEP(011)
B
S (Set)
R (Reset)
B: Bit
Set
Reset
Status of B
S execution
condition
R execution
condition
Operates as a latching relay.
DIFU(013)
B
B: Bit
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).
Execution condition