Delta Electronics DVP15MC11T Operation Manual page 233

Table of Contents

Advertisement

DVP15MC11T Operation Manual
1.
2.
3.
4.
The Bit-string data are converted into the Integer data as the following table shows.
USINT
UINT
_8
UDINT
ULINT
8-162
The rule for the conversion of the Integer data into the Integer data is the same as that for
the conversion of the Bit-string data into the Bit-string data.
The less-length data are converted to the greater-length data by writing the values of all
bits of the less-length data to corresponding bits of the greater-length data and setting the
values of the remaining bits of the greater-length data to 0.
The data of greater length is converted to the data of less length by revising the values of
all bits of the less-length data into the values of the corresponding bits of the
greater-length data and the values of the remaining bits of the greater-length data are not
converted and have no impact on the conversion.
If the lengths of the two data to convert are equal, all values of all bits of In are copied and
pasted to the corresponding bits of Out.
Data type
In
Out
USINT
16#00~16#FF
UINT
16#00~16#FF
UDINT
16#00~16#FF
ULINT
16#00~16#FF
16#00~16#7F
SINT
16#80~16#FF
INT
16#00~16#FF
DINT
16#00~16#FF
LINT
16#00~16#FF
USINT
16#**00~16#**FF
UINT
16#0000~16#FFFF
UDINT
16#0000~16#FFFF
ULINT
16#0000~16#FFFF
16#**00~16#**7F
SINT
16#**80~16#**FF
16#0000~16#7FFF
INT
16#8000~16#FFFF
DINT
16#0000~16#FFFF
LINT
16#0000~16#FFFF
USINT
16#****_**00~16#****_**FF
UINT
16#****_0000~16#****_FFFF
UDINT
16#0000_0000~16#FFFF_FFFF
ULINT
16#0000_0000~16#FFFF_FFFF
16#****_**00~16#****_**7F
SINT
16#****_**80~16#****_**FF
16#****_0000~16#****_7FFF
INT
16#****_8000~16#****_FFFF
16#0000_0000~16#7FFF_FFFF
DINT
16#8000_0000~16#FFFF_FFFF
LINT
16#0000_0000~16#FFFF_FFFF
16#****_****_****_**00~
USINT
16#****_****_****_**FF
16#****_****_****_0000~
UINT
16#****_****_****_FFFF
The value of In corresponds to the value of Out
In
Out
0~255
0~255
0~255
0~255
0~127
- 128~ - 1
0~255
0~255
0~255
0~255
0~65535
0~65535
0~65535
0~127
- 128~ -1
0~32767
- 32768~ -1
0~65535
0~65535
0~255
0~65535
0~4294967295
0~4294967295
0~127
-128~-1
0~32767
-32768~-1
0~2147483647
-2147483648~-1
0~4294967295
0~255
0~65535

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents