Mitsubishi Electric Q03UDVCPU User Manual page 42

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

(2) IP address calculation system
During calculation, the IP address of the partner station is obtained from the calculation equation below according
to the network number and station number, and the UDP port number predefined for the CPU module system is
used as the UDP port number of the destination.
For more information about the net mask pattern for routing other networks, refer to Page 36, Section 3.5.1 (2)
(b).
IP address of
the partner station
When a request message (command frame) to access other station is received, the IP address is calculated from
the network number and station number of the destination in the request message, and the request message is
sent to the next station.
The response message (response) for the request message is returned based on the return IP address and the
stored data above.
*1
The network number and station number of the destination in the request message are stored in the CPU module.
The logical sum is calculated differently depending on the class of the own station IP address. An IP address is
calculated for each class as follows.
For class A
Ex.
• When the own station IP Address is 79238102
• When the net mask pattern for routing other networks is FF000000
• When the destination network number is 03
Own station IP Address
Net Mask Pattern
Logical product value
Network No. and station No.
Partner station IP Address
40
IP address of
Logical
=
the own station
product
*1
7
Logical product
F
7
Logical sum
7
Net mask
Logical
pattern
sum
H
H
, and the station number is 05
H
9
.
2
3
.
8
F
.
0
0
.
0
9
.
0
0
.
0
0
9
.
0
0
.
0
Network number
and station number
of the destination
H
1
.
0
2
0
.
0
0
0
.
0
0
3
.
0
5
3
.
0
5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents