Omron CP1E CPU UNIT SOFTWARE User Manual page 358

Cp1e cpu unit software
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
RESET
RSET
MULTIPLE BIT
SETA
SET
MULTIPLE BIT
RSTA
RESET
SINGLE BIT
SETB
SET
SINGLE BIT
RSTB
RESET
A-4
Variations
Symbol/Operand
@/%/!/!@/!%
RSET
B
B: Bit
@
SETA(530)
D
N1
N2
D: Beginning word
N1: Beginning bit
N2: Number of bits
@
RSTA(531)
D
N1
N2
D: Beginning word
N1: Beginning bit
N2: Number of bits
@/!/!@
SETB(532)
D
N
D: Word address
N: Bit number
@/!/!@
RSTB(533)
D
N
D: Word address
N: Bit number
Function
RSET turns the operand bit OFF when the execution condition is ON.
Execution
condition of RSET
Status of B
SETA(530) turns ON the specified number of consecutive bits.
RSTA(531) turns OFF the specified number of consecutive bits.
SETB(532) turns ON the specified bit in the specified word when
the execution condition is ON.
Unlike the SET instruction, SETB(532) can be used to reset a bit
in a DM word.
RSTB(533) turns OFF the specified bit in the specified word when
the execution condition is ON.
Unlike the RSET instruction, RSTB(533) can be used to reset a bit
in a DM word.
CP1E CPU Unit Software User's Manual(W480)
N2 bits are set
to 1 (ON).
N2 bits are
reset to 0
(OFF).

Advertisement

Table of Contents
loading

Table of Contents