Conversion From Floating Decimal Point Data To Bin16- And 32-Bit Data (Single Precision) (Int(P),Dint(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

INT(P),DINT(P)
6.3.5
Conversion from floating decimal point data to BIN16- and
32-bit data (Single precision) (INT(P),DINT(P))
INT(P),DINT(P)
INT, DINT
INTP, DINTP
Setting
Data
S
D
*1:Available only in multiple Universal model QCPU and LCPU
Function
INT
(1) Converts the 32-bit floating decimal point real number designated at
and stores it at the device number designated at
(2) The range of 32-bit floating decimal point type real numbers that can be designated at
or
S
(3) Stores integer values stored at
(4) After conversion, the first digit after the decimal point of the real number is rounded off.
DINT
(1) Converts 32-bit floating decimal point type real number designated by
and stores the result at the device number designated by
(2) The range of 32-bit floating decimal point type real numbers that can be designated at
or
S
6-84
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
Command
Command
: 32-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
+1
32-bit floating-point
real number
is from
32768 to 32767.
S
+1
S
32-bit floating-point
real number
is from
2147483648 to 2147483647.
Ver.
High
Basic
performance
indicates an instruction symbol of
J
\
U
\G
Bit
Word
––
.
D
S
D
BIN16-bit
as BIN 16-bit values.
D
D
+1
Upper 16 bits
Lower 16 bits
BIN 32 bits
Process
Redundant Universal
INT/DINT.
S
D
P
S
D
Constants
Zn
E
*1
––
into BIN 16-bit data
S
to BIN 32-bit data,
S
.
D
D
LCPU
Other
––
––
+1
S
+1
S

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents