Omron CS1G/H-CPUxxH Instructions Manual page 360

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-18 ONE DIGIT SHIFT RIGHT: SRD(075)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
SLD(074) shifts data between St and E by one digit (4 bits) to the left. "0" is
placed in the rightmost digit (bits 3 to 0 of St), and the content of the leftmost
digit (bits 15 to 12 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 SLD(074) is being executed,
causing the shift operation to stop halfway through.
When CIO 000000 is ON, words CIO 0100 through CIO 0102 will shift by one
digit (4 bits) to the left. A zero will be placed in bits 0 to 3 of word CIO 0100
and the contents of bits 12 to 15 of CIO 0102 will be lost.
St
E
E: CIO 0102
Lost
Shifts data by one digit (4 bits) to the right.
Variations
Immediate Refreshing Specification
Block program areas
OK
Note St and E must be in the same data area.
Area
CIO Area
Work Area
Holding Bit Area
E
Label
ER
ON when St is greater than E.
OFF in all other cases.
St+1: CIO 0101
SRD(075)
St
E
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Step program areas
OK
St
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
Section 3-9
S
t
Operation
St: CIO 0100
St: Starting word
E: End word
SRD(075)
@SRD(075)
Not supported
Subroutines
Interrupt tasks
OK
OK
E
339

Advertisement

Table of Contents
loading

Table of Contents