Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 87

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
ROTATE RIGHT
WITHOUT
RRNC(575)
CARRY
RRNC
@RRNC
Wd: Word
575
DOUBLE
ROTATE RIGHT
RRNL(577)
WITHOUT
CARRY
RRNL
Wd: Word
@RRNL
577
ONE DIGIT SHIFT
SLD(074)
LEFT
SLD
@SLD
074
St: Starting word
E: End word
ONE DIGIT SHIFT
RIGHT
SRD(075)
SRD
@SRD
075
St: Starting word
E: End word
SHIFT N-BIT
DATA LEFT
NSFL(578)
NSFL
@NSFL
578
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
SHIFT N-BIT
DATA RIGHT
NSFR(579)
NSFR
@NSFR
579
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
48
Shifts all Wd bits one bit to the right not including the Carry Flag (CY).
The contents of the rightmost bit of Wd shifts to the leftmost bit and to
the Carry Flag (CY).
Wd
Wd
Shifts all Wd and Wd +1 bits one bit to the right not including the Carry
Flag (CY). The contents of the rightmost bit of Wd +1 is shifted to the
leftmost bit of Wd, and to the Carry Flag (CY).
Wd
Wd+1
Shifts data by one digit (4 bits) to the left.
E
St
Lost
E
Shifts data by one digit (4 bits) to the right.
E
St
E
Shifts the specified number of bits to the left.
D
C
N
Shifts the specified number of bits to the right.
D
C
N
Function
Wd
S
S
Shifts one bit to the left
N−1 bit
N−1 bit
Shifts one bit to the right
N 1 bit
N 1 bit
Section 2-2
Location
Execution
condition
Output
Required
Output
Required
Output
Required
t
Output
Required
t
Lost
Output
Required
Output
Required
Page
388
389
391
393
394
396

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Table of Contents