
High
−
level Instructions
3
−
22
Description
The hexadecimal digits in the 16-bit data or in the 16-bit equivalent constant specified by S are copied to the
16-bit area specified by D, as specified by n.
Digits
Digits are units of 4 bits used when handling data.
With this instruction, 16
−
bitdata is separated into four digits. The digits are called in order hexadecimal digit 0,
digit 1, digit 2 and digit 3, beginning from the least significant four bits
· ··
· ·
· ·
· ·
15
0 0 0
12
0
11
0 0 0
8
1
7
0 1 0
4
0
3
1 0 0
0
1
16-bit data
Hexadecimal
digit 3
Hexadecimal
digit 2
Hexadecimal
digit 1
Hexadecimal
digit 0
Flag conditions
・
Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・
Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
How to specify n
n specifies the
3
source hexadecimal digit position, the
2
number of digits and the
1
destination
hexadecimal digit position to be copied using hexadecimal data as follows:
n : H
□ □ □
3
Source: Starting hexadecimal digit position
H0: Hexadecimal digit 0
H1: Hexadecimal digit 1
H2: Hexadecimal digit 2
H3: Hexadecimal digit 3
2
Number of hexadecimal digits to be copied
H0: Copies 1 hexadecimal digits (4 bits)
H1: Copies 2 hexadecimal digits (8 bits)
H2: Copies 3 hexadecimal digits (12 bits)
H3: Copies 4 hexadecimal digits (16 bits)
1
Destination: Starting hexadecimal digit position
H0: Hexadecimal digit 0
H1: Hexadecimal digit 1
H2: Hexadecimal digit 2
H3: Hexadecimal digit 3
If the value for
1
,
2
and
3
is 0, such as “H000” in the example program on the previous page, use the short
form, “H0.”
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 ...