Download Print this page

Hitachi Hidic EH-150 Applications Manual page 17

Ethernet module
Hide thumbs Also See for Hidic EH-150:

Advertisement

Preliminary Rev.03
Chapter 5
5.1
Fundamentals of TCP/IP
5.1.1
IP address
In general, 32 bits logical address called IP address is used in TCP/IP and UDP/IP protocol. IP address is
consisted by Network address and Host address. The boundary of Network address and Host address has three
types upper 8bits, 16bits or 24bits. Each types are called Class A, B and C.
In general, Class C is mainly used in industrial field.
31
Class A
0
Class B
1 0
Class C
1 1 0
And then, IP address is indicated by decimal with dot character "." every 8 bits. For example, IP address of
Class C is indicated as follow.
1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
192.
In general, it is possible to use the address area called "private internet address" when to make the local
network system. (Following is the description of RFC1918)
Class A :
Class B :
Class C :
5.1.2
Sub net mask
Sub Net is used for specifying how many bits of Host address be used as Network address among of the IP
address with each Class. Sub Net Mask has 32 bits and is used for specifying how many bits among IP
address be used as Network address. Network address can be calculated by logical and operation this Sub
Net Mask value and IP address.
The contents of this manual might be changed without notice.
Chapter 5 Configuration and procedure for starting communication
Configuration and procedure for
starting communication
24 23
Network
8bits (0 to 127)
Network
16 bits (128 to 191)
24 bits (192 to 223)
Figure 5.1 Classification of IP address
168.
Network address
Figure 5.2 The example of Class C IP address Ethernet
10.0.0.0
-
172.16.0.0
-
192.168.0.0
-
- IP address
192.
168.
11000000
10100000
- Sub Net mask
255.
255.
11111111
11111111
- Network address and Host address
192.
168.
11111111
11111111
Network address
Figure 5.3 The configuration method for Sub Net Mask
16 15
Host
24bits (0 to 16777212)
Network
0.
10.255.255.255
172.31.255.255
192.168.255.255
10.
129
00001010
10000001
240.
0
11110000
00000000
0
10.
129
0000 1010 10000001
Host address
5-1
8 7
Host
16 bits (0 to 65532)
Host
7 bits (0 to 255)
1
Host address
0

Advertisement

loading

This manual is also suitable for:

Eh-eth