DVP15MC11T Operation Manual
Bit string to String
The Bit-string data can be converted to the String data. And some instructions are shown
below.
The Bit-string data are converted into the String data as the following table shows.
The value of In corresponds to the value of Out
16#0000_0000~16#FFFF_FFFF
LWORD STRING
16#0000_0000_0000_0000~
16# FFFF_FFFF_FFFF_FFFF
‘0000000000000000’~
‘FFFFFFFFFFFFFFFF’
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. For example, during the use of the BYTE_TO_STRING
instruction, the output String data must contain more than 2 characters. Otherwise, an error will
occur during the compiling of the software.
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.
BYTE_TO_STRING
EN ENO
Out
In
WORD_TO_STRING
EN ENO
Out
In
DWORD_TO_STRING
EN ENO
Out
In
LWORD_TO_STRING
EN ENO
Out
In
8-158