EasyManua.ls Logo

Delta Electronics DVP15MC11T

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...
DVP15MC11T Operation Manual
_8
The Integer data are converted into the Boolean data as the following table shows. If the
Integer value is 0, the conversion result is FALSE. If not 0, the result is TRUE. For details on
the conversion rule, see the table as follows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
USINT BOOL
0
FALSE
1~255
TRUE
UINT BOOL
0
FALSE
1~65535
TRUE
UDINT BOOL
0
FALSE
1~4294967295
TRUE
ULINT BOOL
0
FALSE
1~18446744073709551645
TRUE
SINT BOOL
0
FALSE
-128~-1, 1~127
TRUE
INT BOOL
0
FALSE
-32768~-1, 1~32767
TRUE
DINT BOOL
0
FALSE
-2147483648~-1, 1~2147483647
TRUE
LINT BOOL
0
FALSE
-9223372036854775808~-1,
1~9223372036854775807
TRUE
Integer to Bit string
The Integer data can be converted to the Bit-string data. And some instructions are shown
below.
The rule for the conversion of the Integer data into the Bit-string data is the same as that for the
conversion of the Bit-string data into the Bit-string data. Refer to section 8.13.2 for details.
The Integer data are converted into the Bit-string data as the following table shows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
USINT
BYTE
16#00~16#FF
16#00~16#FF
WORD
16#00~16#FF
16#0000~16#00FF
DWORD
16#00~16#FF
16#0000_0000~16#0000_00FF
LWORD
16#00~16#FF
16#0000_0000_0000_0000~
16#0000_0000_0000_00FF
UINT
BYTE
16#**00~16#**FF
16#00~16#FF
WORD
16#0000~16#FFFF
16#0000~16#FFFF
DWORD
16#0000~16#FFFF
16#0000_0000~16#0000_FFFF
LWORD
16#0000~16#FFFF
16#0000_0000_0000_0000~
16#0000_0000_0000_FFFF
SINT_TO_BYTE
EN ENO
Out
In
INT_TO_WORD
EN ENO
Out
In
USINT_TO_DWORD
EN ENO
Out
In
UINT_TO_LWORD
EN ENO
Out
In
8-160

Table of Contents

Related product manuals