A-15
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-
7 Data Shift Instr
uctions
MOVE TIMER/
COUNTER PV
TO REGISTER
MOVRW
@
Sets the PLC memory address of the specified timer or counter's
PV in the specified Index Register.
A-1-7
Data Shift Instructions
Instruction
Mnemonic
Variations
Symbol/Operand
Function
SHIFT REGIS-
TER
SFT
---
Operates a shift register.
REVERSIBLE
SHIFT REGIS-
TER
SFTR
@
Creates a shift register that shifts data to either the right or the left.
C: Control Word
WORD SHIFT
WSFT
@
Shifts data between St and E in word units.
ARITHMETIC
SHIFT LEFT
ASL
@
Shifts the contents of Wd one bit to the left.
DOUBLE
SHIFT LEFT
ASLL
@
Shifts the contents of Wd and Wd +1 one bit to the left.
Instruction
Mnemonic
Variations
Symbol/Operand
Function
MOVRW(561)
S
D
S
:
S
o
u
rce (de
s
ired TC n
u
m
b
er)
D
: De
s
tin
a
tion (Index Regi
s
ter)
Intern
a
l I/O memory
a
ddre
ss
of
S
Timer/co
u
nter PV only
Index Regi
s
ter
SFT(010)
St
E
Data
input
Shift
input
Reset
input
St
:
Starting word
E
:
End word
E
St+1, St+2
St
Status of data
input for each
shift input
Lost
SFTR(0
8
4)
C
St
E
C
:
Control word
St
:
Starting word
E
:
End word
St
E
St
E
Data input
Shift
direc-
tion
Data
input
Data input
Reset
Shift input
Shift direction
1 (ON): Left
0 (OFF): Right
15 14 13 12
WSFT(016)
S
St
E
S
:
Source word
St
:
Starting word
E
:
End word
St
E
Lost
ASL(025)
Wd
Wd
: Word
0
15
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
0
CY
0 0 1
1
0 0 0 1 0 0 0 1 0 0 0
0
1
Wd: 100CH
A
S
LL(570)
Wd
Wd
: Word
Wd
Wd
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......