Max (Acquiring The Maximum Value) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

10.3 MAX (Acquiring the Maximum Value)

Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
Starting position of the search range for the maximum value (data format: according to the
S1
operation unit)
End position of the search range for the maximum value (data format: according to the operation
S2
unit)
Device address to store the result of the search for the maximum value (data format: according to
D
the operation unit)
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 3)
Index register (I0 to IE)
Outline of operation
● The range of the device areas specified by [S1] and [S2] is searched for the maximum value.
● The resulting value is stored in the device area specified by [D], and the relative address
value from [S1] is stored in [n].
WUME-FP7CPUPGR-12
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
10.3 MAX (Acquiring the Maximum Value)
SS
UL
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
IX
(N
K
H
SF
ote
3)
DF
St
rin
g
Index
modifie
r
D
(Note 2)
" "
F
10-7

Advertisement

Table of Contents
loading

Table of Contents