Data Shift Instructions - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Data Shift Instructions

3-7

Data Shift Instructions

Instruction
Symbol/Operand
Mnemonic
Code
SHIFT REGISTER
Data
SFT(010)
SFT
input
010
Shift
input
Reset
input
St: Starting word
E: End word
REVERSIBLE
SFTR(084)
SHIFT REGISTER
SFTR
@SFTR
084
C: Control word
St: Starting word
E: End word
ASYNCHRO-
NOUS SHIFT
ASFT(017)
REGISTER
ASFT
@ASFT
017
C: Control word
St: Starting word
E: End word
WORD SHIFT
WSFT(016)
WSFT
@WSFT
016
S: Source word
St: Starting word
E: End word
ARITHMETIC
SHIFT LEFT
ASL(025)
ASL
@ASL
025
Wd: Word
Operates a shift register.
E
St
E
Lost
Creates a shift register that shifts data to either the right or the left.
C
St
E
E
E
Data
input
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
Function
St+1, St+2
St
Status of data
input for each
shift input
St
Data input
St
Shift direction
Shift enabled
Shift
Clear
Shift
Zero data
Non-zero data
St
Section 3-7
Location
Execution condition
Output
Required
Output
Required
Shift
direc-
tion
Output
Required
Output
Required
Output
Required
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents