![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268416.webp)
377
Data Shift Instructions
Section 3-9
Precautions
When ASRL (571) is executed, the Error Flag and the Negative Flag will turn
OFF.
If as a result of the shift the contents of Wd and Wd +1 are zero, the Equals
Flag will turn ON.
Examples
When CIO 000000 is ON, word CIO 0100 and CIO 0101 will shift one bit to
the right. “0” will be placed into CIO 010115 and the contents of CIO 010000
will be shifted to the Carry Flag (CY).
3-9-9
ROTATE LEFT: ROL(027)
Purpose
Shifts all Wd bits one bit to the left including the Carry Flag (CY).
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Carry Flag
CY
ON when 1 is shifted into the Carry Flag (CY).
OFF in all other cases.
Negative Flag
N
OFF
Name
Label
Operation
Wd
ROL(027)
Wd
: Word
Wd
Variations
Executed Each Cycle for ON Condition
ROL(027)
Executed Once for Upward Differentiation
@ROL(027)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
Wd
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A448 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
EM Area with bank
En_00000 to En_32767
(n = 0 to C)
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...