EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

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

Table of Contents

Related product manuals