EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 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 #79 background imageLoading...
Page #79 background image
5.1 Type Conversion Functions
5.1.15 Single-precision real type
word (signed), double word (signed) type conversion
5-45
5
APPLICATION
FUNCTIONS
REAL_TO_INT(_E),
REAL_TO_DINT(_E)
REAL_TO_INT(_E), REAL_TO_DINT(_E)
5.1.15 Single-precision real type word (signed), double word
(signed) type conversion
REAL_TO_INT(_E), REAL_TO_DINT(_E)
Function
Operation processing
(1) REAL_TO_INT, REAL_TO_INT_E
(a) Converts single-precision real type data input to into word (signed) type data, and
outputs the operation result from .
(b) The value to be input to is single-precision real type data, within the range from
32768 to 32767.
(c) The converted data is the value rounded single-precision real type data to the first digit
after the decimal point.
REAL_TO_INT(_E)
REAL_TO_DINT(_E)
_E: With EN/ENO
indicates any of the following
functions.
REAL_TO_INT REAL_TO_INT_E
REAL_TO_DINT REAL_TO_DINT_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Single-precision real
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Word (signed), double word (signed)
Universal
UD
High
Performance
EN ENO
ds
REAL_TO_INT_E
(EN, s, d);ENO:=
Structured ladder
ST
REAL_TO_INT_E
s
d
Single-precision real type
1234.0
Word (signed)
type
1234
s

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals