
High
−
level Instructions
3
−
248
Outline
Shifts one word (16 bits) of a specified 16-bit data range to the left.
For the FP0R/FP
Σ
/FP
−
X/FP0/FP
−
e, the P type high
−
level instruction
(PWSHL)” is not available.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
10
F111 WSHL , DT 0 , DT 2
D1
Trigger
R0
D2
10
11
ST
R
0
F111
(WSHL)
DT
0
DT
2
D1
Starting 16-bit area
D2
Ending 16-bit area
Operands
Operand
Relay
Timer/Counter
Register
Index
register
Constant
Index
Operand
WX WY WR WL
(
*
1)
SV
EV
DT LD
(
*
1)
FL
(
*
2)
I
K
H
Index
modifier
D1
N/A
A
A
A
A
A
A
A
A
N/A
N/A N/A
A
D2
N/A
A
A
A
A
A
A
A
A
N/A
N/A N/A
A
(
*
1) This cannot be used with the FP0 and FP
−
e.
(
*
2) This cannot be used with the FP0, FP
−
e, FP0R, FP
Σ,
FP
−
X.
Explanation of example
Shifts one word (16 bits) of the data range (3 words) from DT0 through DT2 to the left when trigger R0 turns on.
The data in
DT2 is shifted out.
Data register
Hexadecimal
Hexadecimal
DT2
0 2 1 2
0 0 3
DT1
0
0 2 3
DT0
2
DT2
0 0 3 0
0 2 3
DT1
2
0 0 0
DT0
0
Specified data range (3 words)
Data register
F111
P111
(PWSHL)
(WSHL)
Left shift of one word (16 bits) of 16-bit data range
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-E
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...