Double Rotate Right Without Carry: Rrnl(577) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Data Shift Instructions
Flags
Precautions
Examples

3-9-16 DOUBLE ROTATE RIGHT WITHOUT CARRY: RRNL(577)

Purpose
Ladder Symbol
Variations
Wd
Name
Label
Error Flag
ER
Equals Flag
=
Carry Flag
CY
Negative Flag
N
When RRNC(575) is executed, the Error Flag will turn OFF.
If as a result of the shift the contents of Wd is zero, the Equals Flag will turn
ON.
If as a result of the shift the contents of the leftmost bit of Wd is 1, the Nega-
tive Flag will turn ON.
When CIO 000000 is ON, word CIO 0100 will shift one bit to the right (exclud-
ing the Carry Flag (CY)). The contents of CIO 010000 will be shifted to
CIO 010015.
Shifts all Wd and Wd +1 bits one bit to the right not including the Carry Flag
(CY). The contents of the rightmost bit of Wd +1 is shifted to the leftmost bit of
Wd, and to the Carry Flag (CY).
RRNL(577)
Wd
Wd: Word
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Operation
OFF
ON when the shift result is 0.
OFF in all other cases.
ON when 1 is shifted into the Carry Flag (CY).
OFF in all other cases.
ON when the leftmost bit is 1 as a result of the shift.
OFF in all other cases.
Wd
Wd: CIO 0100
Instruction executed once
Section 3-9
CY
RRNL(577)
@RRNL(577)
Not supported
389

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents