NAiS FP Series User Manual page 310

Applicable plc
Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

FPΣ
No.
Name
Integer type data processing instructions
F270
Maximum value
(word data
(16-bit))
F271
Maximum value
(double word
data (32-bit))
F272
Minimum value
(word data
(16-bit))
F273
Minimum value
(double word
data (32-bit))
F275
Total and mean
values (word
data (16-bit))
F276
Total and mean
values (double
word data
(32-bit))
F277
Sort (word data
(16-bit))
F278
Sort (double
word data
(32-bit))
F282
Scaling of
16- bit data
F283
Scaling of
32- bit data
F285
16-bit data
upper and
lower limit
control
F286
32-bit data
upper and
lower limit
control
F287
16-bit data
deadband
control
F288
32-bit data
deadband
control
Boolean
Operand Description
MAX
S1, S2, D
Searches the maximum value in the 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, S2, D
Searches for the maximum value in 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, S2, D
Searches for the minimum value in 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, S2, D
Searches for the minimum value in 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, S2, D
The total value and the mean value of the word data
with sign from the area selected with "S1" to the "S2"
are stored in the "D".
DMEAN
S1, S2, D
The total value and the mean value of the double word
data with sign from the area selected with "S1" to "S2"
are stored in the "D".
SORT
S1, S2, S3 The word data with sign from the area specified by "S1" to
"S2" are sorted in ascending order (the smallest word is
first) or descending order (the largest word is first).
DSORT
S1, S2, S3 The double word data with sign from the area specified
by "S1" to "S2" are sorted in ascending order (the
smallest word is first) or descending order (the largest
word is first).
SCAL
S1, S2, D
The output value "Y" is found for the input value "X" by
performing scaling for the given data table.
DSCAL
S1, S2, D
The output value "Y" is found for the input value "X" by
performing scaling for the given data table.
LIMT
S1, S2,
When S1
S3, D
When S2
When S1
DLIMT
S1, S2,
When (S1+1, S1) (S3+1, S3), (S1+1, S1) → (D+1, D)
S3, D
When (S2+1, S2) (S3+1, S3), (S2+1, S2) → (D+1, D)
When (S1+1, S1) (S3+1, S3) (S2+1, S2), (S3+1, S3)
BAND
S1, S2,
When S1
S3, D
When S2
When S1
DBAND
S1, S2,
When (S1+1, S1)
S3, D
When (S2+1, S2)
When (S1+1, S1)
S3, S1 → D
S3, S2 → D
S3
S2, S3 → D
→ (D+1, D)
S3, S3 - S1 → D
S3, S3 - S2 → D
S3
S2, 0 → D
(S3+1, S3),
(S3+1, S3) - (S1+1, S1) → (D+1, D)
(S3+1, S3),
(S3+1, S3) - (S2+1, S2) → (D+1, D)
(S3+1, S3)
0 → (D+1, D)
13.8 Table of Instructions
Steps
8
8
8
8
8
8
8
8
8
10
10
16
10
16
(S2+1, S2),
13 - 61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fps seriesFpg-c32tFpg-c32t2Fpg-c24r2

Table of Contents