Omron CS1G/H-CPUxxH Instructions Manual page 338

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Data Shift Instructions
Description
Flags
Precautions
Examples
3-9-5
ARITHMETIC SHIFT LEFT: ASL(025)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
WSFT(016) shifts data from St to E in word units and the data from the source
word S is places into St. The contents of E is lost.
Lost
Name
Error Flag
When St is greater than E, an error will be generated and the Error Flag will
turn ON.
Note When large amounts of data are shifted, the instruction execution time is quite
long. Be sure that the power is not cut while WSFT(016) is being executed,
causing the shift operation to stop halfway through.
When CIO 000000 is ON, data from CIO 0100 through CIO 0102 will be
shifted one word toward E. The contents of CIO 0300 will be stored in
CIO 0100 and the contents of CIO 0102 will be lost.
St
E
Lost
Shifts the contents of Wd one bit to the left.
Variations
Immediate Refreshing Specification
Block program areas
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
E
Label
ER
ON when St is greater than E.
OFF in all other cases.
E: CIO 0100
St: CIO 0101
ASL(025)
Wd
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Step program areas
OK
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
Section 3-9
St
Operation
S: CIO 0300
St: CIO 0102
Wd: Word
ASL(025)
@ASL(025)
Not supported
Subroutines
Interrupt tasks
OK
OK
Wd
317

Advertisement

Table of Contents
loading

Table of Contents