![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423141.webp)
128
5-13-5
ROTATE LEFT – ROL(27)
Wd: Rotate word
IR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
ROL(27)
Wd
@ROL(27)
Wd
When the execution condition is OFF, ROL(27) is not executed. When the
execution condition is ON, ROL(27) shifts all Wd bits one bit to the left, shift-
ing CY into bit 00 of Wd and shifting bit 15 of Wd into CY.
1 0 1 1 0 0 1 1 1 0 0 0 1 1 0 1
0
CY
Bit
00
Bit
15
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 ROL(27).
Flags
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 zero; otherwise OFF.
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).
Description
Precautions
Description
Precautions
Data Shifting
Section 5-13
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...