Double Rotate Right W/O Carry: Rrnl(263) - Omron SYSMAC CV Series Operation Manual

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

Advertisement

Shift Instructions

5-14-22 DOUBLE ROTATE RIGHT W/O CARRY: RRNL(263)

Ladder Symbol
Variations
RRNL(263)
Description
Precautions
Flags
Example
0000
00
184
Operand Data Area
(263)
Wd: Word
RRNL Wd
When the execution condition is OFF, RRNL(263) is not executed. When the ex-
ecution condition is ON, RRNL(263) shifts all bits previously in Wd and Wd+1 to
the right, and bit 00 of Wd is shifted into both bit 15 of Wd+1 and into CY.
Wd+1
Refer to page 115 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
CY (A50004):
Receives the status of bit 00 from Wd.
EQ (A50006):
Content of Wd and Wd+1 are 0 after execution.
N (A50008):
Same status as bit 15 of Wd+1 after execution.
When CIO 000000 is ON in the following example, the status of bit 00 of
CIO 0800 is shifted into bit 15 of CIO 0801 and into CY, the status of all bits within
CIO 0801 are shifted right one position, the status of bit 00 is shifted to bit 15 of
CIO 0800, and the status of all bits within CIO 0800 are shifted left one position.
(263)
RRNL
Wd+1: CIO 0801
MSB
LSB
1 0 0 1
0 1 1 0
Wd+1: CIO 0801
MSB
LSB
1
1 0 0
0 0 1 1
CIO, G, A, DM
Wd
0100
Wd: CIO 0800
LSB
MSB
1 0 1 1
0 0 1
Wd: CIO 0800
MSB
LSB
0 1 0 1
1 1 0 1
Section 5-14
(CVM1 V2)
CY
Address Instruction
Operands
00000
LD
00001
RRNL(263)
CY
0
CY
1
000000
0100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents