![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030767.webp)
727
Table Data Processing Instructions
Section 3-17
Examples
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.
3-17-10 FIND MAXIMUM: MAX(182)
Purpose
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.
Ladder Symbol
Variations
Applicable Program Areas
Operands
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.
&10
N
R1
to
to
to
to
MAX(182)
C
R1
D
C
: First control word
R1
: First word in range
D
: Destination word
Variations
Executed Each Cycle for ON Condition
MAX(182)
Executed Once for Upward Differentiation
@MAX(182)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...