![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268770.webp)
731
Table Data Processing Instructions
Section 3-17
Flags
Precautions
When bit 15 of C+1 has been set to 1, the data within the range is treated as
signed binary data and hexadecimal values 8000 to FFFF are considered
negative. Thus, the results of the search will differ depending on the data-type
setting.
If background execution is enabled in the PLC Setup, the PLC memory
address of the word containing the maximum value will be output to Auxiliary
Area words A595 and A596 instead of IR00.
Examples
When CIO 000000 turns ON in the following example, MAX(182) searches
the 10-word range beginning at D00200 for the maximum value. The maxi-
mum value is written to D00300 and the PLC memory address of the word
containing the maximum value is written to IR00.
Name
Label
Operation
Error Flag
ER
ON if the content of C is not within the specified range of
0001 through FFFF.
ON if the Communications Port Enabled Flag for the com-
munications port number specified as the
Com Port num-
ber
for
Background Execution
is OFF when background
processing is specified.
OFF in all other cases.
Equals Flag
=
ON if the maximum value is 0000.
OFF in all other cases.
Negative Flag
N
ON if bit 15 is ON in the word containing the maximum
value.
OFF in all other cases.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...