EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #212 background imageLoading...
Page #212 background image
3. Instructions
174
CS/CJ/NSJ Series Instructions Reference Manual (W474)
SETB/RSTB
Applicable Program Areas
Operands
z Operand Specifications
Flags
Function
Instruction Mnemonic Variations
Function
code
Function
SINGLE BIT SET SETB
@SETB, !SETB,
!@SETB
532 SETB(532) turns ON the specified bit.
SINGLE BIT RESET RSTB
@RSTB, !RSTB,
!@RSTB
533 RSTB(533) turns OFF the specified bit.
Symbol
SETB RSTB
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
D Word address UINT 1
N Bit number UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
D
OK OK OK OK OK OK OK OK OK OK
---
OK --- OK --- --- --- ---
N OK
Operand Description Data type
Error Flag P_ER • ON if N is not within the specified range of 0000 to 000F (&0 to &15).
• OFF in all other cases.
z SETB
SETB(532) turns ON bit N of word D
when the execution condition is ON. The
status of the bit is not affected when the
execution condition is OFF.
SETB(532)
D
D: Word address
N
N: Bit number
RSTB(533)
D
D: Word address
N
N: Bit number
Execution condition
ON
OFF
Bit N of word D
ON
OFF
15
This bit is turned OFF.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals