Rotate Right - Ror(28); One Digit Shift Left - Sld(74) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Data Shifting
5-13-6
ROTATE RIGHT – ROR(28)
Description
Precautions
Flags
5-13-7
ONE DIGIT SHIFT LEFT – SLD(74)
Limitations
Description
Ladder Symbols
ROR(28)
@ROR(28)
Wd
When the execution condition is OFF, ROR(28) is not executed. When the
execution condition is ON, ROR(28) shifts all Wd bits one bit to the right,
shifting CY into bit 15 of Wd and shifting bit 00 of Wd into CY.
Bit
CY
15
0
0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1
Use STC(41) to set the status of CY or CLC(41) to clear the status of CY be-
fore doing a rotate operation to ensure that CY contains the proper status
before execution ROR(28).
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
CY:
Receives the data of bit 15.
EQ:
ON when the content of Wd is 0; otherwise OFF.
Ladder Symbols
SLD(74)
@SLD(74)
St
E
St and E must be in the same data area, and E must be greater than or equal
to St.
When the execution condition is OFF, SLD(74) is not executed. When the
execution condition is ON, SLD(74) shifts data between St and E (inclusive)
by one digit (four bits) to the left. 0 is written into the rightmost digit of the St,
and the content of the leftmost digit of E is lost.
...
E
St
8
F C
5
D
7
9
Lost data
Wd
Bit
00
St
E
1
0
Section 5-13
Operand Data Areas
Wd: Rotate word
IR, AR, DM, HR, LR
Operand Data Areas
St: Starting word
IR, AR, DM, HR, LR
E: End word
IR, AR, DM, HR, LR
133

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents