Conversion From Floating Decimal Point Data To Bin16- And 32-Bit Data (Double Precision) (Intd(P),Dintd(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.3.6
Conversion from floating decimal point data to BIN16- and
32-bit data (Double precision) (INTD(P),DINTD(P))
INTD(P),DINTD(P)
INTD, DINTD
INTDP, DINTDP
Setting
Data
S
D
Function
INTD
(1) Converts the 64-bit floating decimal point real number designated at
and stores it at the device number designated at
(2) The range of 64-bit floating decimal point type real numbers that can be designated at
+3,
S
(3) Stores integer values stored at
(4) The converted data is the value rounded 64-bit floating-point real number to the first digit
after the decimal point.
DINTD
(1) Converts 64-bit floating decimal point type real number designated by
and stores the result at the device number designated by
Command
Command
: 64-bit floating decimal point data to be converted to BIN value or head number of the devices where the
S
floating decimal point data is stored (real number)
: Head number of the devices where the converted BIN value will be stored (BIN 16/32 bits)
D
Internal Devices
R, ZR
Bit
Word
––
––
S
+3
S
+2
S
64-bit floating-point
real number
+2,
+1 or
is from
S
S
S
S
+3
S
+2
S
+1
64-bit floating-point
real number
High
Basic
performance
indicates an instruction symbol of
J
\
U
\G
Bit
Word
––
––
.
D
D
+1
S
BIN 16 bit
32768 to 32767.
as BIN 16-bit values.
D
D
+1
S
Upper 16 bits
BIN 32 bit
INTD(P),DINTD(P)
Process
Redundant
Universal
INTD/DINTD.
S
D
P
S
D
Constants
Zn
E
––
––
into BIN 16-bit data
S
to BIN 32-bit data,
S
.
D
D
Lower 16 bits
1
2
LCPU
3
4
4
6
7
Other
––
8
––
6-87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents