Double-Precision Floating-Point Instructions - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Instruction Support and Operand Restrictions

2-6-14 Double-precision Floating-point Instructions

Instruction
Mnemonic
DOUBLE FLOATING
FIXD
TO 16-BIT BINARY
@FIXD
DOUBLE FLOATING
FIXLD
TO 32-BIT BINARY
@FIXLD
16-BIT BINARY TO
DBL
DOUBLE FLOATING
@DBL
32-BIT BINARY TO
DBLL
DOUBLE FLOATING
@DBLL
DOUBLE FLOATING-
+D
POINT ADD
@+D
DOUBLE FLOATING-
-D
POINT SUBTRACT
@-D
DOUBLE FLOATING-
*D
POINT MULTIPLY
@*D
DOUBLE FLOATING-
/D
POINT DIVIDE
@/D
80
Function
Symbol
code
841
FIXD
S
D
842
FIXLD
S
D
843
DBL
S
D
844
DBLL
S
D
845
+D
Au
Ad
R
846
-D
Mi
Su
R
847
*D
Md
Mr
R
848
/D
Dd
Dr
R
Operands
Supported
variable
data types
S: 1st source word LREAL
D: Destination
INT
word
S: 1st source word LREAL
D: 1st destination
DINT
word
S: Source word
INT
D: 1st destination
LREAL
word
S: 1st source word DINT
D: 1st destination
DINT
word
Au: 1st augend
LREAL
word
Ad: 1st addend
LREAL
word
R: 1st result word
LREAL
Mi: 1st minuend
LREAL
word
Su: 1st subtra-
LREAL
hend word
R: 1st result word
LREAL
Md: 1st multipli-
LREAL
cand word
Mr: 1st multiplier
LREAL
word
R: 1st result word
LREAL
Dd: 1st Dividend
LREAL
word
Dr: 1st divisor word LREAL
R: 1st result word
LREAL
Section 2-6
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents

Save PDF