EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R08ENCPU - IP Address Calculation Example; IP Address Calculation System

Mitsubishi Electric MELSEC iQ-R08ENCPU
416 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
268
2 PARAMETER SETTINGS
2.3 Application Settings
IP Address Calculation System
This system obtains the IP address of the destination station by calculating the network number and station number with the
formula described below. The UDP port number predefined for the Ethernet-equipped module is used as the UDP port
number of the destination.
Conversion processing of the IP address calculation system is as below.
When a communication 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 communication request message, which
are stored in the Ethernet-equipped module, and the communication request message is sent to the next station (relay
station or destination station).
The response message (response) for the communication request message is returned based on the return IP address and
the stored data above.
Ex.
IP address calculation example
The logical product and logical sum are calculated differently depending on the class of the own station IP address. An IP
address is calculated as follows.
(For class A)
When the own station IP address is 79238102H
When the net mask pattern for routing other networks is FF000000H
When the destination network number is 03H, and the station number is 05H
(For class B)
When the own station IP address is 8438FA0AH
When the net mask pattern for routing other networks is FFFF0000H
When the destination network number is 03H, and the station number is 05H
IP address of the partner station =
Logical
product
Logical
sum
IP address
of the own
station
Net mask pattern for
CC-Link IE Controller Network,
CC-Link IE Field Network,
MELSECNET/H, MELSECNET/10
routing
Network number
and station number
of the destination
5
0
.
30
.
00
.
9
7
50
.
30
00
.
00
.
00
.
9
7
00.00.00.
FF
20
.
18
.
32
.
9
7
Partner station IP Address
Logical sum
Network No. and station No.
Logical product value
Logical product
Net Mask Pattern
Own station IP Address
5
0
.
30
.
83
.
4
8
5
0
.
30
00
.
00
.
83
.
4
8
00
.
00
.
FF
.
FF
A0
.
A
F
.
83
.
48
Logical sum
Logical product
Partner station IP Address
Network No. and station No.
Logical product value
Net Mask Pattern
Own station IP Address

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R08ENCPU

Related product manuals