![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436164.webp)
154
5-15-3
ARITHMETIC SHIFT LEFT – ASL(25)
Wd: Shift word
IR, SR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
ASL(25)
Wd
@ASL(25)
Wd
Description
When the execution condition is OFF, ASL(25) is not executed. When the execu-
tion condition is ON, ASL(25) shifts a 0 into bit 00 of Wd, shifts the bits of Wd one
bit to the left, and shifts the status of bit 15 into CY.
1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1
CY
Bit
00
Bit
15
0
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 status of bit 15.
EQ:
ON when the content of Wd is zero; otherwise OFF.
5-15-4
ARITHMETIC SHIFT RIGHT – ASR(26)
Wd: Shift word
IR, SR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
ASR(26)
Wd
@ASR(26)
Wd
Description
When the execution condition is OFF, ASR(25) is not executed. When the exe-
cution condition is ON, ASR(25) shifts a 0 into bit 15 of Wd, shifts the bits of Wd
one bit to the right, and shifts the status of bit 00 into CY.
1 0 0 1 0 1 1 0 0 1 1 0 0 1 0
1
Bit
00
Bit
15
CY
0
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 00.
EQ:
ON when the content of Wd is zero; otherwise OFF.
Data Shifting
Section 5-15
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...