591
Table Data Processing Instructions Section 3-16
Examples When CIO 0.00 turns ON in the following example, MAX(182) searches the
10-word range (specified in D100) beginning at D200 for the maximum value.
The maximum value is written to D300 and the PLC memory address of the
word containing the maximum value is written to IR0.
3-16-11 FIND MINIMUM: MIN(183)
Purpose Finds the minimum value in the range.
Ladder Symbol
Variations
C: D100
C+1: D101
D: D300
1
R1
–2
–1
–3
000100CA
100CA
0
0
0
A
0.00
D100
D200
D300
R1: D200
D201
D202
D203
D204
D205
D206
D207
D208
D209
10 words
Number of words
Always 0.
1: Outputs address to IR0.
1: Treats data as signed binary.
Decimal
equivalent
Max. value
PLC memory
address
IR0
MIN(183)
C
R1
D
C: First control word
R1: First word in range
D: Destination word
Variations Executed Each Cycle for ON Condition MIN(183)
Executed Once for Upward Differentiation @MIN(183)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.