27
Instruction Functions
Section 2-2
DIFFERENTIATE
DOWN
DIFD
!DIFD
014
Output
Required
SET
SET
@SET
%SET
!SET
!@SET
!%SET
Output
Required
RESET
RSET
@RSET
%RSET
!RSET
!@RSET
!%RSET
Output
Required
MULTIPLE BIT
SET
SETA
@SETA
530
Output
Required
MULTIPLE BIT
RESET
RSTA
@RSTA
531
Output
Required
SINGLE BIT SET
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
SETB
@SETB
!SETB
SETB(532) turns ON the specified bit in the specified word when the exe-
cution condition is ON.
Unlike the SET instruction, SETB(532) can be used to set a bit in a DM or
EM word.
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
B: Bit
DIFD(014)
B
Execution condition
Status of B
One cycle
DIFD(014) turns the designated bit ON for one cycle when the
execution condition goes from ON to OFF (falling edge).
B: Bit
SET
B
Execution condition
of SET
Status of B
SET turns the operand bit ON when the execution condition is ON.
B: Bit
RSET
B
Execution condition
of RSET
Status of B
RSET turns the operand bit OFF when the execution condition is ON.
D: Beginning
word
N1: Beginning bit
N2: Number of
bits
SETA(530)
D
N1
N2
N2 bits are set to 1
(ON).
SETA(530) turns ON the specified number of consecutive bits.
D: Beginning
word
N1: Beginning bit
N2: Number of
bits
RSTA(531)
D
N1
N2
N2 bits are reset to 0
(OFF).
RSTA(531) turns OFF the specified number of consecutive bits.
D: Word address
N: Bit number
SETB(532)
D
N
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...