Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 621

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
MAXL
Instruction
DOUBLE FIND MAXIMUM
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C
First control word
R1
First word in range
D
First destination word
C: First control word
15
C
15
14
12 11
8
C+1
0 0
0 0 0 0
Output selection
0: Does not output address to IR0.
1: Outputs address to IR0.
Data type
0: Unsigned
1: Signed
Operand Specifications
Word addresses
Area
CIO
WR
HR
C
R1
OK
OK
OK
D
584
Mnemonic
Variations
MAXL
@MAXL
Block program areas
Step program areas
OK
OK
Description
0
Table length: 0001 to FFFF hex
(W indicates the contents of C.)
7
4
3
0
0 0 0 0
0 0 0 0
Always 0.
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Treats the specified number of data items as dou-
174
ble word table data and outputs the maximum
value in the table.
MAXL
MAXL
C: First control word
C
R1: First word in range
R1
D
D: First destination word
Subroutines
OK
Data type
UDINT
UDINT
UDINT
R1: First word in range
15
R1
R1+1
R1+2
R1+3
to
R1+(2W-2)
R1+(2W-1)
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
2
Variable
2
0
Lower 16 bits of value 1
Upper 16 bits of value 1
Lower 16 bits of value 2
Upper 16 bits of value 2
to
Lower 16 bits of value n
Upper 16 bits of value n
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents