Parameter Setup Request - Toshiba V Series User Manual

Integrated controller ethernet module, en311
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

4.6 Parameter Setup Request

This section describes the procedure for EN311 parameter setup in the EN311 from an S
controller user program. The EN311 parameters consist of the following:
(1) Local station IP address
(2) UDP port number for computer link/PC link transmission
Here we first describe the IP address, subnet mask, and port number, which are the
parameters required for TCP/IP and UDP/IP transmission.
(1) IP address
The IP address is the address that specifies a particular node (station) when
transmitted data using the IP (Internet protocol). Therefore IP addresses must be set
and managed so that they are not duplicated. The following presents an overview of
IP addresses.
(a) IP address format
An address consists of a network address and a host address. The network
address is an address that specifies a particular network, and the host address is
an address that specifies a particular node (station) on that network. The same
network address must be assigned to all nodes (stations) on the same (i.e., any
given) network.
An IP address is a 32-bit data item. IP addresses are written as the decimal
values of each byte in the 32-bit datum, with the decimal values separated by
dots.
IP addresses are divided into five classes, A through C, according to how many
bits in the 32-bit value are used as the network address (The networking
standards also define classes D and E, but the EN311 does not support them).
Figure 4-3 shows the classes A though C.
Class A
Class B
Class C
In this system, networks with a large number of connected nodes use class A addresses
and networks with s small number of connected nodes use class C addresses. Class B
addresses are used for networks that fall between classes A and C. Expressed in
decimal, the first byte of the class A through C networks will be: 0 to 127 for class A, 128
to 191 for class B, and 192 to 223 for class C.
6F8C0904
Example:11000000 00000000 00000000 00000001 → 192.0.0.1
0
8
0
Network: 7 bits
1 27 values
1 0
Network: 14 bits
1 6384 values
1 1 0
2 ,097,152 values
Figure 4-3 IP Address Class Divisions
4.6 Parameter Setup Request
16
Host: 24 bits
1 6,777,214 values
Host: 16 bits
6 5534 values
Network: 21 bits
4
24
31
Host: 8 bits
2 54 values
49

Advertisement

Table of Contents
loading

Table of Contents