
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
0 0 0
12
0
11
0 0 0
8
0
7
0 0 0
4
0
3
0 0 0
0
0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
· ··
·
Bit position
·
· ·
· ·
DT10
15
0 1 1
12
1
11
0 0 1
8
1
7
0 0 0
4
1
3
0 0 0
0
0
DT22
0 0 0 0 0 0 0 0 0 0 0 0 0 0
1
DT23
0 0 0 0 0 0 0 0 0 0 0 0 0
1
1
1
1
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: [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 ...