Appendices
Instruction
Mnemonic
ROTATE LEFT
RLNC
574
WITHOUT
@RLNC
CARRY
DOUBLE
RLNL
576
ROTATE LEFT
@RLNL
WITHOUT
CARRY
ROTATE RIGHT
ROR
028
@ROR
DOUBLE
RORL
573
ROTATE RIGHT
@RORL
ROTATE RIGHT
RRNC
575
WITHOUT
@RRNC
CARRY
DOUBLE
RRNL
577
ROTATE RIGHT
@RRNL
WITHOUT
CARRY
ONE DIGIT
SLD
074
SHIFT LEFT
@SLD
ONE DIGIT
SRD
075
SHIFT RIGHT
@SRD
SHIFT N-BIT
NSFL
578
DATA LEFT
@NSFL
A-22
Code
Symbol/Operand
Shifts all Wd bits one bit to the left not including the
RLNC(574)
Carry Flag (CY).
Wd
Wd: Word
Shifts all Wd and Wd +1 bits one bit to the left not
RLNL(576)
including the Carry Flag (CY).
Wd
Wd: Word
Shifts all Wd bits one bit to the right including the
ROR(028)
Carry Flag (CY).
Wd
Wd: Word
Shifts all Wd and Wd +1 bits one bit to the right including
RORL(573)
the Carry Flag (CY).
Wd
Wd: Word
Shifts all Wd bits one bit to the right not including the
RRNC(575)
Carry Flag (CY). The contents of the rightmost bit of
Wd shifts to the leftmost bit and to the Carry Flag (CY).
Wd
Wd: Word
Wd
Shifts all Wd and Wd +1 bits one bit to the right not
RRNL(577)
including the Carry Flag (CY). The contents of the
rightmost bit of Wd +1 is shifted to the leftmost bit of Wd,
Wd
and to the Carry Flag (CY).
Wd: Word
Shifts data by one digit (4 bits) to the left.
SLD(074)
St
Lost
E
St: Starting word
E: End word
Shifts data by one digit (4 bits) to the right.
SRD(075)
St
E
St: Starting word
E: End word
Shifts the specified number of bits to the left.
NSFL(578)
D
C
N
D: Beginning word
for shift
C: Beginning bit
N: Shift data
length
Function
Wd
Wd
Wd+1
Wd+1
Wd
Wd+1
Wd
Wd+1
Wd
E
S
t
E
S
Shifts one bit to the left
N − 1 bit
N − 1 bit
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
t
Lost
Output
Required
Need help?
Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers
How do I retrieve fault codes from plc: CJ2M-CPU35