EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #628 background imageLoading...
Page #628 background image
3. Instructions
590
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Hint
• 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.
• MAX(182)/MIN(183) can be processed in the background. Refer to the SYSMAC CS/CJ/NSJ Series
PLC Programming Manual (W394) or the CJ2 CPU Unit Software Operation Manual (W473) for
details.
z MAX
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 IR0.
z MIN
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 IR0.
Example Programming
z MAX
When CIO 0.00 turns ON in the following example, MAX(182) searches the 10-word range beginning at
D200 for the maximum value. The maximum value is written to D300 and the PLC memory address of
the word containing the maximum value is written to IR0.
C: D100
C+1: D101
D: D300
1
R1
–2
–1
–3
000100CA
100CA
0
0
0
A
0.00
D200
D201
D202
D203
D204
D205
D206
D207
D208
D209
R1:
IR0
10 words
Number of words
Always 0.
1: Outputs address to IR0.
1: Treats data as signed binary.
Decimal
equivalent
Max. value
PC memory
address
D100
D200
D300

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals