201
Sequence Output Instructions Section 3-4
3-4-7 SINGLE BIT SET/RESET: SETB(532)/RSTB(533)
Purpose SETB(532) turns ON the specified bit.
RSTB(533) turns OFF the specified bit.
These instructions are supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
Ladder Symbols
Variations
Note Immediate refreshing is not supported by CS1D CPU Units.
Note Immediate refreshing is not supported by CS1D CPU Units.
Applicable Program Areas
Operands D: Word Address
Specifies the word in which the bit will be turned ON or OFF.
N: Beginning Bit
Specifies the bit which will be turned ON or OFF. N must be #0000 to #000F
(&0 to &15).
RSTB(533)
D
N
SETB(532)
D
N
D: Word address
N: Bit number
D: Word address
N: Bit number
Variations Executed Each Cycle for ON Condition SETB(532)
Executed Once for Upward Differentiation @SETB(532)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification (See note.) !SETB(532)
Combined
Variations
Executed Once and Bit Refreshed
Immediately for Upward Differentiation (See
note.)
!@SETB(532)
Executed Once and Bit Refreshed
Immediately for Downward Differentiation
Not supported
Variations Executed Each Cycle for ON Condition RSTB(533)
Executed Once for Upward Differentiation @RSTB(533)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification (See note.) !RSTB(533)
Combined
Variations
Executed Once and Bit Refreshed
Immediately for Upward Differentiation (See
note.)
!@RSTB(533)
Executed Once and Bit Refreshed
Immediately for Downward Differentiation
Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK