DVP-15MC Series Motion Controller Operation Manual
8-166
_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
UDINT
BYTE
16#****_**00~16#****_**FF
16#00~16#FF
SI NT_ TO _BYTE
EN
ENO
O ut
In
INT_TO _WORD
EN
ENO
O ut
In
US INT_ TO _DWORD
EN
ENO
O ut
In
UINT_TO_LWORD
EN
ENO
O ut
In
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...