Rotate Right Without Carry: Rrnc(261) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Shift Instructions

5-14-21 ROTATE RIGHT WITHOUT CARRY: RRNC(261)

Ladder Symbol
Variations
RRNC(261)
Description
Flags
Example
0000
00
Operand Data Area
(261)
Wd: Word
RRNC Wd
When the execution condition is OFF, RRNC(261) is not executed. When the
execution condition is ON, RRNC(261) shifts all Wd bits one bit to the right, shift-
ing the status of bit 00 into both bit 15 of Wd and into CY.
Bit
Wd
15
0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1
Content of *DM word is not BCD when set for BCD.
ER (A50003):
CY (A50004):
Receives the status of bit 15 from Wd.
EQ (A50006):
Content of Wd is 0 after execution.
N (A50008):
Same status as bit 15 of Wd after execution.
When CIO 000000 is ON in the following example, the status of bit 00 of
CIO 0100 is shifted into bit 15 of CIO 0100 and into CR and the status of all bits
within CIO 0100 are shifted right one position.
(261)
RRNC
Wd: CIO 0100
MSB
1 0 1 0 1 1 0 0 1 1 1 0 0 0 1 1
MSB
1
1 0 1 0 1 1 0 0 1 1 1 0 0 0 1
CIO, G, A, DM, DR, IR
Bit
CY
00
0
0100
LSB
CY
0
LSB
CY
1
Section 5-14
(CVM1 V2)
Address
Instruction
Operands
00000
LD
00001
RRNC(261)
000000
0100
183

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents