Arithmetic Shift Left: Asl(060) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Shift Instructions

5-14-11 ARITHMETIC SHIFT LEFT: ASL(060)

Ladder Symbol
Variations
j ASL(060)
Description
Flags
Example
0000
00
0 entered.
Operand Data Area
(060)
Wd: Word
ASL
Wd
When the execution condition is OFF, ASL(060) is not executed. When the ex-
ecution condition is ON, ASL(060) 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.
Bit
CY
15
1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1
Content of *DM word is not BCD when set for BCD.
ER (A50003):
CY (A50004):
Receives the status of bit 15.
EQ (A50006):
Content of Wd is 0 after a shift.
N (A50008):
Same status as bit 15 of D + 1 after shift.
When CIO 000000 is ON in the following example, 0 is shifted into bit 00 of
D00010, the status of all bits within D00010 are shifted left one position, and the
status of bit 15 is shifted to CY.
(060)
ASL
D00010
Wd: D00010
CY
MSB
1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1
MSB
1
0 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0
Section 5-14
Lost
CIO, G, A, DM,
Bit
00
0
Address Instruction
00000
LD
00001
ASL(060)
LSB
"0"
LSB
Operands
000000
D00010
173

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents