Panasonic FP-E Programming Manual page 284

Fp series
Table of Contents

Advertisement

High−level Instructions
If "0" is specified as the number of bits to be transferred, the specified one bit is transferred.
If the specified range extends beyond the area of S, the contents of the part extending beyond the area are
transferred as "0".
Example:
When four bits starting from bit position 14 of S are transferred
to bit position 2 of D...n = H23E
Bit position
Bit position
Bit position
If the specified range extends beyond the area of D, the contents of the part extending beyond the area are
not transferred. Data is not written to the next address.
Example:
Six bits starting from bit position 6 of S are transferred to bit
position 12 of D...n = HC56
Bit position
Six bits, starting from bit position 6
Bit position
Bit position
3 − 20
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
15
12
· · ·
· ·
1 1 0
S
0 0
Four bits, starting from bit position 14
15
12
11
· · ·
0 0 1
0
0 0 0
D
15
12
11
· · ·
0 0 1
0
0 0 0
D
15
12
11
· · ·
0 0 0
0
0 1 0
S
15
12
11
· · ·
0 0 0
0
1 0 0
D
15
12
11
· · ·
0 1 1
1
1 0 0
D
From among bit positions 6 to 11 of S, bit
positions 6 to 9 are transferred to bit positions 12
to 15 of D (the contents of bit positions 10 and 11
of S are ignored).
11
8
7
4
·
·
· ·
0
1 1 0
1
0 0 0
1
8
7
4
3
·
·
· ·
· ·
1
1 0 1
1
1 0 0
"F5 (BTM)" execution
8
7
4
3
·
·
· ·
· ·
1
1 0 0
0
1 1 0
Bit positions 14 and 15 of S are trans-
ferred to bit positions 2 and 3 of D. "0"
is stored in bit positions 4 and 5 of D.
8
7
4
3
·
·
· ·
· ·
1
1 1 0
1
1 1 1
8
7
4
3
·
·
· ·
· ·
1
1 1 1
1
0 0 1
"F5 (BTM)" execution
8
7
4
3
·
·
· ·
· ·
1
1 1 1
1
0 0 1
3
0
· ·
1 0 1
0
0
1
0
1
0
1
0
1
0
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents