Delta Electronics DVP15MC11T Operation Manual page 238

Table of Contents

Advertisement

Data type
In
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.
Data type
In
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
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.
The value of In corresponds to the value of Out
Out
16#********05265C00~
16#********0A4CB7FF
......
16#********00000000~
16#********FFFFFFFF
16#********00000000~
DT
16#********FFFFFFFF
SINT_TO_STRING
EN
ENO
In
O ut
USI NT_ TO _STRING
EN
ENO
In
O ut
The value of In corresponds to the value of Out
Out
STRING
0~255
STRING
0~65535
STRING
0~4294967295
STRING
0~18446744073709551615
STRING
-128~127
STRING
-32768~32767
STRING
-2147483648~2147483647
-9223372036854775808~
STRING
9223372036854775807
In
TOD#0:0:0~ TOD#17:2:47.295
DT#1970-1-1-0:0:0~
DT#2016-2-7-6:28:15
I NT_TO_S TRI NG
EN
ENO
In
O ut
UI NT_TO_S TRI NG
EN
ENO
In
O ut
In
'0'~'255'
'0'~'65535'
'0'~'4294967295'
'0'~'18446744073709551615'
'-128'~'127'
'-32768'~'32767'
'-2147483648'~'2147483647'
'-9223372036854775808'~
'9223372036854775807'
Chapter 8 Logic Instructions
Out
Out
8-167
8_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents