![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030770.webp)
730
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 CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...