Maxd - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

MAXD

Instruction
FIND DOUBLE MAXIMUM
FLOATING
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 0
Output selection
0: Does not output address to IR0.
1: Outputs address to IR0.
Always 0.
Operand Specifications
Word addresses
Area
CIO
WR
HR
C
R1
OK
OK
OK
D
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
MAXD
@MAXD
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 a
178
table of double-precision floating-point data and
outputs the maximum value in the table.
MAXD
MAXD
C: First control word
C
R1: First word in range
R1
D
D: First destination word
Subroutines
OK
Data type
DWORD
LREAL
LREAL
R1: First word in range
15
R1
R1+1
R1+2
R1+3
R1+4
R1+5
R1+6
R1+7
to
R1+(4W 4)
R1+(4W 3)
R1+(4W 2)
R1+(4W 1)
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
2
Variable
4
0
Lowest 16 bits of value 1
Lower 16 bits of value 1
Upper 16 bits of value 1
Highest 16 bits of value 1
Lowest 16 bits of value 2
Lower 16 bits of value 2
Upper 16 bits of value 2
Highest 16 bits of value 2
to
Lowest 16 bits of value n
Lower 16 bits of value n
Upper 16 bits of value n
Highest 16 bits of value n
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
595

Advertisement

Table of Contents
loading

Table of Contents