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

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

Advertisement

3. Instructions
+F, –F, *F, /F
Instruction
FLOATING-POINT ADD
FLOATING-POINT SUBTRACT
FLOATING-POINT MULTIPLY
FLOATING-POINT DIVIDE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Au
First augend word
+F
AD
First addend word
Mi
First Minuend word
-F
Su
First Subtrahend word
Md
First Multiplicand word
*F
Mr
First Multiplier word
Dd
First Dividend word
/F
Dr
First Divisor word
R
First result word
Operand Specifications
Word addresses
Area
CIO
WR
HR
Au, AD, Mi,
Su, Md,
OK
OK
OK
Mr, Dd, Dr
R
468
Mnemonic
Variations
+F
@+F
–F
@–F
*F
@*F
/F
@/F
+F
+F(454)
Au: First augend word
Au
AD: First addend word
AD
R
R: First result word
*F
*F(456)
Md: First Multiplicand word
Md
Mr
Mr: First Multiplier word
R
R: First result word
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Adds two 32-bit floating-point numbers and places
454
the result in the specified result words.
Subtracts one 32-bit floating-point number from
455
another and places the result in the specified
result words.
Multiplies two 32-bit floating-point numbers and
456
places the result in the specified result words.
Divides one 32-bit floating-point number by
457
another and places the result in the specified
result words.
Subroutines
OK
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
–F
F(455)
Mi: First Minuend word
Mi
Su: First Subtrahend word
Su
R
R: First result word
/F
/F(457)
Dd: First Dividend word
Dd
Dr
Dr: First Divisor word
R
R: First result word
SFC action or
Interrupt tasks
transition programs
OK
OK
Data type
REAL
REAL
REAL
REAL
REAL
Registers
Pulse
TK
CF
bits
Indirect
IR
using IR
---
OK
---
---
Size
2
2
2
2
2
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents