EasyManua.ls Logo

Mitsubishi MELSEC Q Series

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
Loading...
5.1 Type Conversion Functions
5.1.10 Word (signed), double word (signed) type
→
string type conversion
5-29
5
APPLICATION
FUNCTIONS
INT_TO_STR(_E),
DINT_TO_STR(_E)
INT_TO_STR(_E), DINT_TO_STR(_E)
5.1.10 Word (signed), double word (signed) type → string type
conversion
INT_TO_STR(_E), DINT_TO_STR(_E)
Function
Operation processing
(1) INT_TO_STRING, INT_TO_STRING_E
(a) Converts 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.
INT_TO_STR(_E)
DINT_TO_STR(_E)
_E: With EN/ENO
indicates any of the following
functions.
INT_TO_STR INT_TO_STR_E
DINT_TO_STR DINT_TO_STR_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Word (signed), double word (signed)
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :String(6)
Universal
UD
High
Performance
EN ENO
ds
INT_TO_STR_E
(EN, s, d);ENO:=
Structured ladder
ST
INT_TO_STR_E
s
d
Word (signed) type
ASCII code of hundreds place
ASCII code of thousands place
ASCII code of units place ASCII code of tens place
00
H
ASCII code of ten-thousand's place
Sign data
2nd word
3rd word
4th word
String 1st word
High-order byte Low-order byte
Automatically stored at the end of the character string.

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals