Panasonic FP-E Programming Manual page 514

Fp series
Table of Contents

Advertisement

High−level Instructions
F112
(WBSR)
P112
(PWBSR)
Outline
Shifts one hexadecimal digit (4 bits) of a specified 16-bit data range to
the right.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instructions
are not available.
Program example
Trigger
R0
10
F112 WBSR , DT 0 , DT 9
D1
D2
Operands
Relay
Operand
Operand
WX WY WR
D1
N/A
A
D2
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 hexadecimal digit (4 bits) of the data range (10 words) from DT0 through DT9 to the right when
trigger R0 turns on.
Specified data range (10 words = 40 digits)
DT9
15 1211
8 7
· ·
· ·
· ·
0
2
1
R0: on
DT9
15 1211
8 7
· ·
· ·
· ·
0
0
2
The higher hexdecimal digit
(bit position 12 to 15) becomes 0.
3 − 250
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Right shift of one hexadecimal digit (4−bit)
of 16-bit data range
Ladder Diagram
Ladder Diagram
D1
D2
Starting 16-bit area
Ending 16-bit area
Timer/Counter
WL
SV
EV
(*1)
A
A
A
A
A
A
A
A
4 3
0
15
· · 0
15 1211
· ·
· ·
· ·
2
0
0
4 3
0
15
· · 0
15 1211
· ·
· ·
· ·
1
2
0
Index
Register
register
LD
FL
DT
I
(*1)
(*2)
A
A
A
N/A
A
A
A
N/A
DT0
8 7
4 3
0
· ·
· ·
· ·
2
3
2
DT0
8 7
4 3
0
· ·
· ·
· ·
0
2
3
Boolean
Address
Instruction
10
ST
R
11
F112
(WBSR)
DT
DT
Constant
Index
Index
modifier
K
H
N/A
N/A
A
N/A
N/A
A
A:
Available
N/A: Not Available
The data "2" in the lower
hexadecimal digit (bit positions 0
to 3) is shifted out.
0
0
9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents