Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 770

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

Advertisement

Table Data Processing Instructions
Flags
Precautions
Examples
730
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
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.
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.
Operation
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.
ON if the maximum value is 0000.
OFF in all other cases.
ON if bit 15 is ON in the word containing the maximum
value.
OFF in all other cases.
Section 3-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents