Omron SYSMAC CS Series Programming Manual page 104

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Data Shift Instructions
Instruction
Symbol/Operand
Mnemonic
Code
ASYNCHRO-
NOUS SHIFT
ASFT(017)
REGISTER
ASFT
@ASFT
017
C: Control word
St: Starting word
E: End word
WORD SHIFT
WSFT
WSFT(016)
@WSFT
016
S: Source word
St: Starting word
E: End word
ARITHMETIC
SHIFT LEFT
ASL(025)
ASL
@ASL
025
Wd: Word
DOUBLE SHIFT
ASLL(570)
LEFT
ASLL
@ASLL
570
Wd: Word
ARITHMETIC
SHIFT RIGHT
ASR(026)
ASR
@ASR
026
Wd: Word
DOUBLE SHIFT
ASRL(571)
RIGHT
ASRL
@ASRL
571
Wd: Word
84
Shifts all non-zero word data within the specified word range either
towards St or toward E, replacing 0000Hex word data.
C
St
E
St
E
St
E
Shifts data between St and E in word units.
E
S
Lost
St
E
Shifts the contents of Wd one bit to the left.
Wd
Shifts the contents of Wd and Wd +1 one bit to the left.
Wd
Shifts the contents of Wd one bit to the right.
Wd
Shifts the contents of Wd and Wd +1 one bit to the right.
Wd+1
Wd
Function
Shift
Clear
Shift
Zero data
Non-zero data
St
Wd+1
Wd
Section 3-7
Execution
Output
Required
Shift direction
Shift enabled
Output
Required
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Location
condition

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents