Data Shift Instructions; Sft - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

Data Shift Instructions

SFT

Instruction
SHIFT REGISTER
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
St
Starting word
E
End word
Operand Specifications
Word addresses
Area
CIO
WR
HR
St,E
OK
OK
OK
Flags
Name
Error Flag
Function
• When the execution condition on the shift input changes from OFF to ON, all the data from St to E is
shifted to the left by one bit (from the rightmost bit to the leftmost bit), and the ON/OFF status of the
data input is placed in the rightmost bit.
E
Lost
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
SFT
---
Data input
Shift input
Reset input
Description
AR
T
C
DM
---
---
---
---
Label
P_ER
OFF
St+1, St+2, ...
Function
code
010
Operates a shift register.
SFT
SFT(010)
St
St: Starting word
E
E: End word
Subroutines
OK
Data type
UINT
UINT
Indirect DM addresses
Constants
@DM
*DM
---
---
---
Operation
2 Instructions
Function
Interrupt tasks
OK
Size
Variable
Variable
CF
Pulse bits
TR bits
---
---
---
St
Status of data input
for each shift input
2-127
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents