130
Sequence Output Instructions Section 3-3
3. The set and reset inputs for a KEEP(011) instruction must be programmed
with the instruction, but the SETB(532) and RSTB(533) instructions can be
programmed completely independently. Furthermore, the same bit may be
used as the operand in any number of SETB(532) and RSTB(533) instruc-
tions.
3-3-8 SINGLE BIT OUTPUT: OUTB(534)
Purpose OUTB(534) outputs the status of the instruction’s execution condition to the
specified bit. OUTB(534) can control a bit in the DM Area, unlike OUT.
Ladder Symbols
Variations
Applicable Program Areas
Operands D: Word Address
Specifies the word containing the bit to be controlled.
N: Beginning Bit
Specifies the bit to be controlled. N must be #0000 to #000F (&0 to &15).
Operand Specifications
0.00
SETB
D0
&2
0.01
RSTB
D2
&2
Bit 02 of D0 is turned ON
when CIO 0.00 is ON.
Bit 02 of D2 is turned OFF
when CIO 0.01 is ON.
OUTB(534)
D
N
D: Word address
N: Bit number
Variations Executed Each Cycle for ON Condition OUTB(534)
Executed Once for Upward Differentiation @OUTB(534)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification !OUTB(534)
Block program areas Step program areas Subroutines Interrupt tasks
Not allowed OK OK OK
Area D N
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A448 to A959 A0 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses in
binary
@ D0 to @ D32767
Indirect DM addresses in BCD *D0 to *D32767
Constants --- #0000 to #000F (binary)
or &0 to &15