Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 68

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
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
%RSET
B: Bit
*1
!RSET
*1
!@RSET
*1
!%RSET
MULTIPLE BIT
SET
SETA(530)
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
D: Word address
!SETB
*1
N: Bit number
!@SETB
28
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.
Execution condition
B
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 exe-
cution condition is ON.
Unlike the SET instruction, SETB(532) can be used to set a bit in a DM or
D
EM word.
N
Function
One cycle
N2 bits are set to 1
(ON).
N2 bits are reset to
0 (OFF).
Section 2-2
Location
Page
Execution
condition
Output
193
Required
Output
195
Required
Output
195
Required
Output
198
Required
Output
198
Required
Output
201
Required

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents