EasyManua.ls Logo

Panasonic FP-E - Page 479

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 215
Explanation of example
Divides the 16-bit data of data register DT10 into 4-bit units and the divided data is stored in the lower 4 bits (bit
positions 0 to 3) of data registers DT20 to DT23 when trigger R20 turns on.
DT21
····Bit position ·····
DT20
15
000
12
0
11
000
8
0
7
000
4
0
3
000
0
0
0000000000000001
····
Bit position
·····
DT10
15
011
12
1
11
001
8
1
7
000
4
1
3
000
0
0
DT22
00000000000000 1
DT23
0000000000000 1
1
11
Description
Divides the 16-bit data specified by S into 4-bit units and distributes the divided data into the lower 4 bits (bit
positions 0 to 3) of 16-bit areas starting from D.
n specifies the number of data divisions.(range of n: K0 to K4)
When K0 is specified for n, this instruction is not executed.
····
Bit position
·····
D
15 12 11 8 7 4 3 0
Bit positions 4 to 15 are filled with 0s.
Destination
Source
D+1
D+2
····
Bit position
·····
S
15 12 11 8 7 4 3 0
Digit 4 Digit 3 Digit 2 Digit 1
Digit 4
Digit 3
Digit 2
Digit 1
D+3
n
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The number n is 5 or more.
− Transferring address specified by D to n data, and when area is exceeded.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com