Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 622

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Table Data Processing Instructions
Operands
Operand Specifications
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 maximum value to IR0.
15
C
Number of words in range
15
14
13
00 0000
C+1
Output selection
0: Does not output address to IR00.
1: Outputs address to IR00.
Data type
0: Unsigned binary data
1: Signed binary data
The following table shows the possible values of C.
C+1
Data type
0000
Unsigned binary
4000
Unsigned binary
8000
Signed binary
C000
Signed binary
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 maximum value. (C is the number of words specified in
C.)
15
Search range
R1
to
---
R1+(C–1)
Area
CIO Area
CIO 0 to CIO 6142
Work Area
W0 to W510
Holding Bit Area
H0 to H510
Auxiliary Bit Area
A0 to A958
Timer Area
T0000 to T4094
Counter Area
C0000 to C4094
DM Area
D0 to D32766
Indirect DM
@ D0 to @ D32767
addresses in binary
Indirect DM
*D0 to *D32767
addresses in BCD
Constants
Specified values only ---
0
0
0000
0000
0
Index Register output
No
Yes
No
Yes
0
C
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A0 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
Section 3-16
R1
D
A448 to A959
589

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents