Panasonic FP-E Programming Manual page 286

Fp series
Table of Contents

Advertisement

High−level Instructions
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−bit data 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
16-bit data
15
12
11
8
7
· · ·
· ·
0 0 0
0
0 0 0
1
0 1 0
Hexadecimal
Hexadecimal
digit 3
digit 1
Hexadecimal
digit 2
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
How to specify n
n specifies the
source hexadecimal digit position, the
3
hexadecimal digit position to be copied using hexadecimal data as follows:
n : H □ □ □
Source: Starting hexadecimal digit position
3
H0: Hexadecimal digit 0
H1: Hexadecimal digit 1
H2: Hexadecimal digit 2
H3: Hexadecimal digit 3
Number of hexadecimal digits to be copied
2
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)
Destination: Starting hexadecimal digit position
1
H0: Hexadecimal digit 0
H1: Hexadecimal digit 1
H2: Hexadecimal digit 2
H3: Hexadecimal digit 3
If the value for
,
and
1
2
form, "H0."
3 − 22
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4
3
0
· ·
· ·
0
1 0 0
1
Hexadecimal
digit 0
Turns on and stays on when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the area specified using the index modifier
exceeds the limit.
is 0, such as "H000" in the example program on the previous page, use the short
3
number of digits and the
2
destination
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents