Panasonic fp2/fp2sh User Manual page 344

Programmable controller
Table of Contents

Advertisement

Num-
Name
ber
Integer type data processing instructions
F270
Maximum
P270
value (word
data (16-bit))
F271
Maximum
P271
value (double
word data (32-
bit))
F272
Minimum value
P272
(word data (16-
bit))
F273
Minimum value
P273
(double word
data (32-bit))
F275
Total and
P275
mean values
(word data (16-
bit))
F276
Total and
P276
mean values
(double word
data (32-bit))
F277
Sort (word
P277
data (16-bit))
F278
Sort (double
P278
word data (32-
bit))
F282
Scaling of
P282
16-bit data
F283
Scaling of
P283
32-bit data
F284
Inclination
P284
output of 16-bit
data
Integer type non-linear function instructions
F285
Upper and
P285
lower limit
control
(16-bit data)
: Available,
: Not available,
*1) This instruction is only available for FP-e Ver.1.2 or later.
*2) This instruction is only available for FP-X Ver.2.0 or later, and FPΣ Ver. 3.10 or later.
11-76
Ope-
Boolean
rand
MAX
S1,
Searches the maximum value in the
PMAX
S2, D
word data table between the "S1" and
"S2", and stores it in the "D". The
address relative to "S1" is stored in
"D+1".
DMAX
S1,
Searches for the maximum value in
PDMAX
S2, D
the double word data table between
the area selected with "S1" and "S2",
and stores it in the "D". The address
relative to "S1" is stored in "D+2".
MIN
S1,
Searches for the minimum value in
PMIN
S2, D
the word data table between the area
selected with "S1" and "S2", and
stores it in the "D". The address
relative to "S1" is stored in "D+1".
DMIN
S1,
Searches for the minimum value in
PDMIN
S2, D
the double word data table between
the area selected with "S1" and "S2",
and stores it in the "D". The address
relative to "S1" is stored in "D+2".
MEAN
S1,
The total value and the mean value of
PMEAN
S2, D
the word data with sign from the area
selected with "S1" to "S2" are
obtained and stored in the "D".
DMEAN
S1,
The total value and the mean value of
PDMEAN
S2, D
the double word data with sign from
the area selected with "S1" to "S2"
are obtained and stored in the "D".
SORT
S1,
The word data with sign from the
PSORT
S2,
area specified by "S1" to "S2" are
S3
sorted in ascending order (the
smallest word is first) or descending
order (the largest word is first).
DSORT
S1,
The double word data with sign from
PDSORT
S2,
the area specified by "S1" to "S2" are
S3
sorted in ascending order (the
smallest word is first) or descending
order (the largest word is first).
SCAL
S1,
The output value Y is found for the
PSCAL
S2, D
input value X by performing scaling
for the given data table.
DSCAL
S1,
The output value Y is found for the
PDSCAL
S2, D
input value X by performing scaling
for the given data table.
RAMP
S1,
Executes the linear output for the
S2,
specified time from the specified
S3, D
initial value to the target value.
LIMT
S1,
When S1>S3, S1→D
PLIMT
S2,
When S1<S3, S2→D
S3, D
When S1<or = S3<or = S2, S3→D
: Not available partially
Description
8
*1
8
*1
8
*1
8
*1
8
*1
8
*1
8
*1
8
*1
8
*1
10
10
*2
*2
10
*1

Advertisement

Table of Contents
loading

Table of Contents