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 #355 background imageLoading...
Page #355 background image
317
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Data Shift Instruction
3
ASR/ASRL
ASR/ASRL
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
ARITHMETIC SHIFT RIGHT ASR @ASL 026 Shifts the contents of Wd one bit to the right.
DOUBLE SHIFT RIGHT ASRL @ASLL 571 Shifts the contents of Wd and Wd +1 one bit to the right.
Symbol
ASR ASRL
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
ASR ASRL ASR ASRL
Wd Word UINT UDINT 1 2
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
ASR Wd
OK OK OK OK OK OK OK OK OK OK ---
OK
--- OK --- --- --- ---
ASRL Wd ---
Name Label Operation
Error Flag ER OFF
Equals Flag = • ON when the shift result is 0.
• OFF in all other cases.
Carry Flag CY • ON when 1 is shifted into the Carry Flag (CY).
• OFF in all other cases.
Negative Flag N OFF
Wd: Word
ASR(026)
Wd
Wd: Word
ASRL(571)
Wd

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