EasyManua.ls Logo

Delta Electronics DVP15MC11T - Page 229

Delta Electronics DVP15MC11T
601 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...
DVP15MC11T Operation Manual
_8
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.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
BYTE
STRING
16#00~16#FF
‘00’~’FF’
WORD
STRING
16#0000~16#FFFF
‘0000’~’FFFF’
DWORD
STRING
16#0000_0000~16#FFFF_FFFF
‘00000000’~’FFFFFFFF’
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

Table of Contents

Related product manuals