EasyManuals Logo

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 #242 background imageLoading...
Page #242 background image
240
INTD, INTDP, DINTD, DINTDP
(2) The following program converts the 32-bit floating decimal point type real number at D20 and D21 to BIN 32-bit data and
stores the result at D0 and D1.
[Ladder Mode] [List Mode]
[Operation]
: 64-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)
Function
INTD
(1) Converts the 64-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 64-bit floating decimal point type real numbers that can be designated at +3, +2, +1 or is from
-32768 to 32767.
(3) Stores integer values stored at as BIN 16-bit values.
(4) The converted data is the value rounded 64-bit floating-point real number to the first digit after the decimal point.
6.3.6 INTD, INTDP Conve rsion from floa ting-point data t o BIN 16-bit da ta
(Double preci sion)
DINTD, DINTDP Conversion from floating-po int data to BIN 32-bit data
(Double preci sion)
6.3.6
INTD, INTDP, DINTD, DINTDP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– –– –– ––
–– –– –– ––
Step
Instruction
Device
Integer
conversion
Integer
conversion
An operation error occurs
since "setting data > 2147483647."
32-bit floating-point
real number
D21
2147483649.22
D20
32-bit floating-point
real number
D21
-574968.321
D20
BIN value
D1
-574968
D0
Universal
LCPU
Basic
High
performance
Process
Redundant
P
Command
Command
S D
S D
INTD, DINTD
INTDP, DINTDP
indicates an instruction symbol of INTD/DINTD.
S
D
S
D
S
D
BIN 16 bit
D
+3
64-bit floating-point
real number
S
+2
S S
+1
S
S S 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