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

Sysmac cs/cj/one nsj series programmable controllers
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
728
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
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
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
Step program areas
OK
Section 3-17
to
MAX(182)
@MAX(182)
Not supported.
Subroutines
Interrupt tasks
OK
OK

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents