Chapter 8 Logic Instructions
The value of In corresponds to the value of Out
16#********05265C00~
16#********0A4CB7FF
16#********00000000~
16#********FFFFFFFF
TOD#0:0:0~ TOD#17:2:47.295
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
‘0’~’18446744073709551615’
‘-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
8-167