127
Sequence Output Instructions Section 3-3
RSTA(531) Example
When CIO 0.01 is turned ON in the following example, the 20 bits (0014 hexa-
decimal) beginning with bit 3 of CIO 210 are turned OFF.
3-3-7 SINGLE BIT SET/RESET: SETB(532)/RSTB(533)
Purpose SETB(532) turns ON the specified bit.
RSTB(533) turns OFF the specified bit.
Ladder Symbols
Variations
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).
&3
&20
0.01
210
D: 210
211
N1: Bit 3
N2: 20 bits
RSTB(533)
D
N
D: Word address
N: Bit number
SETB(532)
D
N
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 !SETB(532)
Combined
Variations
Executed Once and Bit Refreshed
Immediately for Upward Differentiation
!@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 !RSTB(533)
Combined
Variations
Executed Once and Bit Refreshed
Immediately for Upward Differentiation
!@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