Delta Electronics DVP15MC11T Operation Manual page 229

Table of Contents

Advertisement

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.
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.
_8
8-158
BY TE _TO _STRING
EN
In
DWO RD_ TO _STRING
EN
In
Data type
In
Out
BYTE
STRING
WORD
STRING
DWORD
STRING
LWORD
STRING
WORD_TO_STRING
ENO
EN
Ou t
In
LWO RD_TO_ STRI NG
ENO
EN
O ut
In
The value of In corresponds to the value of Out
In
16#00~16#FF
16#0000~16#FFFF
16#0000_0000~16#FFFF_FFFF
16#0000_0000_0000_0000~
16# FFFF_FFFF_FFFF_FFFF
ENO
O ut
ENO
O ut
Out
'00'~'FF'
'0000'~'FFFF'
'00000000'~'FFFFFFFF'
'0000000000000000'~
'FFFFFFFFFFFFFFFF'

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents