Appendix 5 Ethernet
App5-29
•
Notes on use of the sample programs
The data type to be set when creating a program varies depending on whether Visual C++ or
Visual Basic is used.
For the data type and range, refer to the following tables.
Visual C++
Visual Basic
Visual C++
VB
BYTE
Byte
short
Integer
unsigned short
WORD
int
Long
long
DWORD
char
String
Data Type
Bytes
Data Range
BYTE
1
0 to 255
short
2
−
32768 to 32767
unsigned short
2
0 to 65535
WORD
4
−
2147483648 to 2147483647
int 4
−
2147483648 to 2147483647
long
2
0 to 65535
DWORD
4
0 to 4294967295
char
1
−
128 to 127
Data Type
Bytes
Data Range
Byte
1
0 to 255
Boolean
2
TRUE(0) / FALSE(
−
1)
Integer
2
−
32768 to 32767
Long
4
−
2147483648 to 2147483647
Double
8
4.94E
−
324 to 1.79E+308
String
Variable
0 to 2 GB
Summary of Contents for V Series
Page 1: ...V Series...
Page 35: ...2 10 2 Allen Bradley PLC Please use this page freely...
Page 41: ...3 6 3 Automationdirect PLC Please use this page freely...
Page 49: ...6 4 6 FANUC PLC Please use this page freely...
Page 53: ...7 4 7 FATEK AUTOMATION PLC Please use this page freely...
Page 79: ...12 8 12 KEYENCE PLC Please use this page freely...
Page 95: ...14 8 14 LG PLC Please use this page freely...
Page 119: ...16 20 16 MITSUBISHI ELECTRIC PLC Please use this page freely...
Page 135: ...20 4 20 SAIA PLC Please use this page freely...
Page 155: ...24 12 24 Siemens PLC Please use this page freely...
Page 163: ...27 4 27 TOSHIBA PLC Please use this page freely...
Page 169: ...29 4 29 Toyoda Machine Works PLC Please use this page freely...
Page 185: ...33 6 33 Yokogawa Electric PLC Please use this page freely...
Page 215: ...App2 8 Appendix 2 n 1 Connection Multi link 2 Please use this page freely...
Page 221: ...App3 6 Appendix 3 n 1 Connection Multi link Please use this page freely...
Page 225: ...App4 4 Appendix 4 1 n Connection Multi drop Please use this page freely...
Page 317: ...App6 48 Appendix 6 Universal Serial Communications Please use this page freely...