Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 316

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Shift Instructions
3-8-5
ARITHMETIC SHIFT LEFT: ASL(025)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Description
Shifts the contents of Wd one bit to the left.
ASL(025)
Wd
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
ASL(025) shifts the contents of Wd one bit to the left (from rightmost bit to left-
most bit). "0" is placed in the rightmost bit and the data from the leftmost bit is
shifted into the Carry Flag (CY).
15
Wd: Word
Step program areas
Subroutines
OK
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
0
Section 3-8
ASL(025)
@ASL(025)
Not supported
Interrupt tasks
OK
Wd
283

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents