EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 625

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
592
Table Data Processing Instructions Section 3-16
Applicable Program Areas
Operands C and C+1: Control words
C specifies the number of words in the range, bit 15 of C+1 indicates whether
the data will be treated as signed binary or unsigned binary, and bit 14 of C+1
indicates whether or not to output the PLC memory address of the word that
contains the minimum value to IR0.
The following table shows the possible values of C.
R1: First word in range
R1 specifies the first word in the search range. The words from R1 to R1+(C
1) are searched for the minimum value. (C is the number of words specified in
C.)
Operand Specifications
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
C+1 Data type Index Register output
0000 Unsigned binary No
4000 Unsigned binary Yes
8000 Signed binary No
C000 Signed binary Yes
15 0
C
15 014
0
C+1
13
00 0000 0000 0000
Output selection
Data type
0: Unsigned binary data
1: Signed binary data
0: Does not output address to IR00.
1: Outputs address to IR00.
Number of words in rang
e
R1
R1+(C–1)
15 0
---to
Search range
Area C R1 D
CIO Area CIO 0 to
CIO 6142
CIO 0 to CIO 6143
Work Area W0 to W510 W0 to W511
Holding Bit Area H0 to H510 H0 to H511
Auxiliary Bit Area A0 to A958 A0 to A959 A448 to A959
Timer Area T0000 to T4094 T0000 to T4095
Counter Area C0000 to C4094 C0000 to C4095

Table of Contents

Related product manuals