EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #240 background imageLoading...
Page #240 background image
238
INT, INTP, DINT, DINTP
[Operation]
(2) The following program converts the BIN 32-bit data at D20 and D21 to a 64-bit floating decimal point type real number,
and stores the result at D0 to D3.
[Ladder Mode] [List Mode]
[Operation]
: 32-bit floating decimal point data to be converted to BIN value or head number of the devices where the 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)
*1: Available only in multiple Universal model QCPU and LCPU
Function
INT
(1) Converts the 32-bit floating decimal point real number designated at into BIN 16-bit data 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 +1 or is from -32768 to
32767.
(3) Stores integer values stored at as BIN 16-bit values.
(4) After conversion, the first digit after the decimal point of the real number is rounded off.
6.3.5 INT, INTP Conve rsion from floa ting-point data t o BIN 16-bit da ta
(Single precisio n)
DINT, DINTP Conversion from floating-point data to BIN 32-bit data
(Single precisio n)
6.3.5
INT, INTP, DINT, DINTP
• Basic model QCPU: The serial number (first five digits) is
"04122" or later.
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– ––
*1
––
–– ––
Conversion to real number
64-bit floating-point
real number
15923
D20
BIN value
D1
15923
D0D3 D2
Step
Instruction
Device
Conversion to real number
64-bit floating-point
real number
BIN value
D1
16543521
D0D3 D2
D21
16543521
D20
Basic
Process
High
performance
Redundant
Universal
LCPU
Ver.
P
Command
Command
S D
S D
INT, DINT
INTP, DINTP
indicates an instruction symbol of INT/DINT.
S
D
S
D
S
D
BIN16-bit
32-bit floating-point
real number
+1
S S D
S S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals