Sftr - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

SFTR

Instruction
REVERSIBLE SHIFT REGIS-
TER
Symbol
Applicable Program Areas
Function block
Area
definitions
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
Word addresses
Area
CIO
WR
HR
C
St
OK
OK
OK
E
Flags
Name
Error Flag
Carry Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
SFTR
@SFTR
Block program areas
Step program areas
OK
OK
Description
Shift direction
1 (ON): Left
0 (OFF): Right
Data input
Shift input
Reset
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
• ON when St is greater than E.
• OFF in all other cases.
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/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
Operation
3. Instructions
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
1
Variable
Variable
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
307

Advertisement

Table of Contents
loading

Table of Contents