Nsfl/Nsfr - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

NSFL/NSFR

Instruction
SHIFT N-BIT DATA LEFT
SHIFT N-BIT DATA RIGHT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
D
Beginning word for shift
C
Beginning bit
N
Shift data length
C: Beginning bit
0000 to 000F hex (0 to 15)
N: Shift data length
0000 to FFFF hex (0 to 65535)
Note All words in the shift register must be in the same area.
Operand Specifications
Area
CIO
WR
HR
D
C
OK
OK
OK
N
Flags
Name
Error Flag
Carry Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
NSFL
@NSFL
NSFR
@NSFR
NSFL
NSFL(578)
D
D: Beginning word for shift
C
C: Beginning bit
N
N: Shift data length
Block program areas
Step program areas
OK
OK
Description
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
• ON when C data is not between 0000 and 000F hex.
• OFF in all other cases.
CY
• ON when 1 is shifted into the Carry Flag (CY).
• OFF in all other cases.
Function
code
578
Shifts the specified number of bits to the left.
579
Shifts the specified number of bits to the right.
NSFR(579)
Subroutines
OK
Data type
UINT
UINT
UINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
OK
OK
OK
Operation
3. Instructions
Function
NSFR
D: Beginning word for shift
D
C
C: Beginning bit
N
N: Shift data length
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
Variable
1
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
3
TR
bits
---
327

Advertisement

Table of Contents
loading

Table of Contents