Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 774

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Table Data Processing Instructions
Related Memory Area
Words
Flags
Precautions
Examples
Name
Address
IR00 Output for
A595 and
Background Execution
A596
ER/AER Flag for
A39510
Background Execution
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 minimum value will be output to Auxiliary
Area words A595 and A596 instead of IR00.
When CIO 000000 turns ON in the following example, MIN(183) searches the
10-word range beginning at D00200 for the minimum value. The minimum
value is written to D00300 and the PLC memory address of the word contain-
ing the minimum value is written to IR00.
When an index register is specified as the out-
put for an instruction processed in the back-
ground, A595 and A596 receive the output
instead of IR00.
(A595 contains the rightmost digits, and A596
contains the leftmost digits.)
This flag is turned ON if an error or illegal
access occurs during background execution.
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 minimum value is 0000.
OFF in all other cases.
ON if bit 15 is ON in the word containing the minimum
value.
OFF in all other cases.
Section 3-17
Operation
735

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents