Chapter 8 Logic Instructions 
8-173 
The value of In corresponds to the value of Out 
DT 
16#********00000000~ 
16#********FFFFFFFF 
DT#1970-1-1-0:0:0~ DT#2016-
2-7-6:28:15 
 
  Integer to String   
  The Integer data can be converted to the String data and some instructions are shown as 
below. 
   
   
  The Integer data are converted into the String data as the following table shows. 
The value of In corresponds to the value of Out 
USINT  STRING  0~255 
 
‘0’~’18446744073709551615’ 
DINT  STRING  -2147483648~2147483647 
-2147483648’~’2147483647’ 
LINT  STRING 
-9223372036854775808~ 
9223372036854775807 
‘-9223372036854775808’~ 
‘9223372036854775807’ 
When the Bit-string data are converted to the String data, the length of the output String data must 
meet the length of the input parameter. 
  Precautions for Correct Use 
The input variable is not allowed to omit. An error will occur during the compiling of the software if the 
input variable is omitted. But the output variable is allowed to omit. 
   
SINT_TO_STRING
EN ENO
Out
In
USINT_TO_STRING
EN ENO
OutIn
UINT_TO_STRING
EN ENO
OutIn