EasyManua.ls Logo

Delta Electronics DVP15MC11T - Page 226

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...
Chapter 8 Logic Instructions
8_
The greater-length data is converted to the less-length data 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.
The Bit-string data are converted into the Integer data as the following table shows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
BYTE
USINT
16#00~16#FF
0~255
UINT
16#00~16#FF
0~255
UDINT
16#00~16#FF
0~255
ULINT
16#00~16#FF
0~255
SINT
16#00~16#7F
0~127
16#80~16#FF
-128~-1
INT
16#00~16#FF
0~255
DINT
16#00~16#FF
0~255
LINT
16#00~16#FF
0~255
WORD
USINT
16#**00~16#**FF
0~255
UINT
16#0000~16#FFFF
0~65535
UDINT
16#0000~16#FFFF
0~65535
ULINT
16#0000~16#FFFF
0~65535
SINT
16#**00~16#**7F
0~127
16#**80~16#**FF
-128~-1
INT
16#0000~16#7FFF
0~32767
16#8000~16#FFFF
-32768~-1
DINT
16#0000~16#FFFF
0~65535
LINT
16#0000~16#FFFF
0~65535
DWORD
USINT
16#****_**00~16#****_**FF
0~255
UINT
16#****_0000~16#****_FFFF
0~65535
UDINT
16#0000_0000~16#FFFF_FFF
F
0~4294967295
ULINT
16#0000_0000~16#FFFF_FFF
F
0~4294967295
SINT
16#****_**00~16#****_**7F
0~127
16#****_**80~16#****_**FF
-128~-1
INT
16#****_0000~16#****_7FFF
0~32767
16#****_8000~16#****_FFFF
-32768~-1
DINT
16#0000_0000~16#7FFF_FFF
F
0~2147483647
16#8000_0000~16#FFFF_FFF
F
-2147483648~-1
LINT
16#0000_0000~16#FFFF_FFF
F
0~4294967295
LWORD
USINT
16#****_****_****_**00~
16#****_****_****_**FF
0~255
UINT
16#****_****_****_0000~
16#****_****_****_FFFF
0~65535
8-155

Table of Contents

Related product manuals