EasyManuals Logo

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 #64 background imageLoading...
Page #64 background image
5-30
5.1 Type Conversion Functions
5.1.10 Word (signed), double word (signed) type
string type conversion
INT_TO_STR(_E), DINT_TO_STR(_E)
(c) If the number of significant figures is less, '20H (space)' is stored to high-order digits.
(Example) Inputting 123
(d) '00
H' is automatically stored at the end of the character string (4th word).
(2) DINT_TO_STRING, DINT_TO_STRING_E
(a) Converts double word (signed) type data input to into string type data, and outputs
the operation result from .
(b) '20
H (space)' is stored in 'Sign data' when the input value is positive; '2DH (-)' is stored
when negative
(c) If the number of significant figures is less, '20
H (space)' is stored to high-order digits.
(Example) Inputting 123456
(d) '00
H' is automatically stored at the end of the character string (high-order byte in 6th
word).
Word (signed) type
31
H (1)
-123
20H (space)
33H (3)32H (2)
00
H
20H (space) 2DH (-)
2nd word
3rd word
4th word
String 1st word
High-order byte Low-order byte
s
d
Double word (signed) type
ASCII code of ten-millions place
ASCII code of hundred-millions place
ASCII code of hundred-thousands place
ASCII code of millions place
ASCII code of thousands place
ASCII code of ten-thousand's place
ASCII code of tens place
ASCII code of hundreds place
00H ASCII code of units place
2nd word
3rd word
4th word
5th word
6th word
String 1st word
High-order byte Low-order byte
ASCII code of billions place
Sign data
Automatically stored at the end of the character string.
Double word (signed) type
20
H (space)
-123456
20H (space)
31
H (1) 20H (space)
33
H (3) 32H (2)
35
H (5) 34H (4)
00
H 36H (6)
20
H (space) 2DH ( - )
5th word
6th word
High-order byte Low-order byte
2nd word
3rd word
4th word
String
1st word

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