DVP15MC11T Operation Manual
The Bit-string data are converted into the Bit-string data as the following table shows.
The value of In corresponds to the value of Out
BYTE
16#0000_0000~16#0000_00FF
LWORD
16#0000_0000_0000_0000~
16#0000_0000_0000_00FF
WORD
BYTE
16#0000_0000~16#0000_FFFF
LWORD
16#0000_0000_0000_0000~
16#0000_0000_0000_FFFF
DWORD
16#****_**00~16#****_**FF
16#****_0000~16#****_FFFF
LWORD
16#0000_0000~16#FFFF_FFFF
16#0000_0000_0000_0000~
16#0000_0000_FFFF_FFFF
LWORD
BYTE
16#****_****_****_**00~
16#****_****_****_**FF
WORD
16#****_****_****_0000~
16#****_****_****_FFFF
DWORD
16#****_****_0000_0000~
16#****_****_FFFF_FFFF
16#0000_0000~16#FFFF_FFFF
Bit string to Integer
The Bit-string data can be converted to the Integer data. And some instructions are shown
below.
The rule for the conversion of bit-string data into integer data is consistent with that for the
conversion of bit-string data into bit-string data.
The less-length data is 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.
Not converted
10101101
********
Bit0Bit7
In
Out
10101101
Bit8Bit15
WORD
BYTE
The greater-data are converted
to the less-length data
WORD_TO_BYTE
EN ENO
Out
In
8-154