Find Maximum: Max(182) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Table Data Processing Instructions
Examples
N
R1

3-17-10 FIND MAXIMUM: MAX(182)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
When CIO 000000 is ON in the following example, SWAP(637) switches the
data in the leftmost bytes with the data in the rightmost bytes in each word in
the 10-word range from W000 to W009.
&10
to
Finds the maximum value in the range.
In CS1D CPU Units for Single-CPU Systems and CS1-H, CJ1-H, and CJ1M
CPU Units, this instruction can be run in the background. Refer to CS/CJ
Series Programmable Controllers Programming Manual for details on back-
ground execution.
MAX(182)
C
R1
D
Variations
Immediate Refreshing Specification
Block program areas
OK
C and C+1: Control words
C specifies the number of words in the range, bit 15 of C+1 indicates whether
the data will be treated as signed binary or unsigned binary, and bit 14 of C+1
indicates whether or not to output the PLC memory address of the word that
contains the maximum value to IR00.
Note C and C+1 must be in the same data area.
to
to
C: First control word
R1: First word in range
D: Destination word
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Step program areas
OK
Section 3-17
to
MAX(182)
@MAX(182)
Not supported.
Subroutines
Interrupt tasks
OK
OK
727

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents