Sftr - Omron SYSMAC CP Series Instruction & Reference Manual

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

Advertisement

SFTR

Instruction
REVERSIBLE SHIFT REGIS-
TER
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
C
Control word
St
Starting word
E
End word
C: Control Word
15
14
13
12
Note St and E must be in the same data area.
Operand Specifications
Area
CIO
WR
HR
C,St,E
OK
OK
OK
Flags
Name
Error Flag
Carry Flag
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
SFTR
@SFTR
Description
Shift direction
1 (ON): Left
0 (OFF): Right
Data input
Shift input
Reset
Word addresses
AR
T
C
DM
OK
OK
OK
OK
Label
P_ER
• ON when St is greater than E.
• OFF in all other cases.
P_CY
• ON when 1 is shifted into it.
• OFF when 0 is shifted into it.
• OFF when reset is set to 1.
Function
code
Creates a shift register that shifts data to either the
084
right or the left.
SFTR
SFTR(084)
C
C: Control word
St
St: Starting word
E
E: End word
Subroutines
OK
Data type
UINT
UINT
UINT
Indirect DM addresses
Constants
@DM
*DM
OK
OK
---
Operation
2 Instructions
Function
Interrupt tasks
OK
Size
1
Variable
Variable
CF
Pulse bits
TR bits
---
---
---
2-129
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents