Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual page 117

Programmable controllers
Table of Contents

Advertisement

Sequence Output Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DIFFERENTIATE
DIFD(014)
DOWN
DIFD
*1
!DIFD
B: Bit
014
SET
SET
@SET
%SET
B: Bit
*1
!SET
*1
!@SET
*1
!%SET
RESET
RSET
@RSET
%RSET
B: Bit
*1
!RSET
*1
!@RSET
*1
!%RSET
MULTIPLE BIT
SETA(530)
SET
SETA
@SETA
530
D: Beginning word
N1: Beginning bit
N2: Number of
bits
MULTIPLE BIT
RESET
RSTA(531)
RSTA
@RSTA
531
D: Beginning
word
N1: Beginning bit
N2: Number of
bits
SINGLE BIT SET
(CS1-H, CJ1-H,
SETB(532)
CJ1M, or CS1D
only)
SETB
@SETB
*1
!SETB
D: Word address
*1
!@SETB
N: Bit number
DIFD(014) turns the designated bit ON for one cycle when the
execution condition goes from ON to OFF (falling edge).
B
Execution condition
Status of B
SET turns the operand bit ON when the execution condition is ON.
SET
Execution condition
B
of SET
Status of B
RSET turns the operand bit OFF when the execution condition is ON.
RSET
B
Execution condition
of RSET
Status of B
SETA(530) turns ON the specified number of consecutive bits.
D
N1
N2
RSTA(531) turns OFF the specified number of consecutive bits.
D
N1
N2
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 set a bit in a DM
D
or EM word.
N
Function
One cycle
N2 bits are set to 1
(ON).
N2 bits are reset to 0
(OFF).
Section 3-2
Location
Execution condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
77

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents