![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268240.webp)
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
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...