Word (Signed), Double Word (Signed) Type → String Type Conversion - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
Hide thumbs Also See for Melsec-Q Series:
Table of Contents

Advertisement

5.1.10
Word (signed), double word (signed) type → string type
conversion
INT_TO_STR(_E)
DINT_TO_STR(_E)
Structured ladder
INT_TO_STR_E
EN
ENO
s
d
Input argument,
EN:
Executing condition (TRUE: Execution, FALSE: Stop)
s:
Input
Output argument,
ENO:
Output status (TRUE: Normal, FALSE: Error)
d:
Output
Function
Operation processing
(1) INT_TO_STRING, INT_TO_STRING_E
(a) Converts word (signed) type data input to
operation result from
Word (signed) type
(b) '20
(space)' is stored in 'Sign data' when the input value is positive; '2D
H
when negative.
5.1.10 Word (signed), double word (signed) type
INT_TO_STR(_E), DINT_TO_STR(_E)
ST
ENO:=
(EN, s, d);
INT_TO_STR_E
.
d
High-order byte
ASCII code of ten-thousand's place
ASCII code of hundreds place ASCII code of thousands place
ASCII code of units place ASCII code of tens place
Automatically stored at the end of the character string.
INT_TO_STR(_E), DINT_TO_STR(_E)
_E: With EN/ENO
indicates any of the following
functions.
INT_TO_STR
DINT_TO_STR
:Bit
:Word (signed), double word (signed)
:Bit
:String(6)
into string type data, and outputs the
s
Low-order byte
Sign data
00
H
5.1 Type Conversion Functions
string type conversion
High
Performance
Universal
UD
INT_TO_STR_E
DINT_TO_STR_E
String 1st word
2nd word
3rd word
4th word
(−)' is stored
H
5-29
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents