![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079139.webp)
133
5-13-6
ROTATE RIGHT – ROR(28)
Wd
: Rotate word
IR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
ROR(28)
Wd
@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.
0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1
0
Bit
15
CY
Bit
00
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).
ER:
Indirectly addressed DM word is non-existent. (Content of
*
DM word
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.
5-13-7
ONE DIGIT SHIFT LEFT – SLD(74)
Ladder Symbols
Operand Data Areas
SLD(74)
St
E
@SLD(74)
St
E
St
: Starting word
IR, AR, DM, HR, LR
E
: End word
IR, AR, DM, HR, LR
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.
5
E
8
1
St
F C
9
7
D
Lost data
0
...
Description
Precautions
Flags
Limitations
Description
Data Shifting
Section 5-13