Sample program 2
R7E3
R1
R111
R112
Sample program 2
R7E3
R1
R111
R112
To check Ethernet parameters
(for EH-CPU)
WR013 = H1
WR014 = H200
ADRIO = (WR015, R110)
ADRIO = (WR016, WM140)
WR017 = 55
R110
FUN200 (WR010)
R1 = 0
R1 = 0
To check Ethernet parameters
(for EHV-CPU)
WR013 = H1
WR014 = H200
DR015 = ADR (WM140)
WR017 = 55
R110
XYRW (WR010, R110)
R1 = 0
R1 = 0
Chapter 5 Configuration of Communication parameters
To set s parameter area
(00001)
The request of Ethernet Parameters getting
To set the target area (Unit 0, Slot 2)
To configure R110 as the control bit I/O No.
To configure WM140 as the starting area of destination
To configure 55 words for sending size
(00002)
To set execution bit by setting R1 = 1.
(00003)
FUN200 command execution
(00004)
The process of normal completion
(00005)
The process of error completion
To set s parameter area
(00001)
The request of Ethernet Parameters getting
To set the target area (Unit 0, Slot 2)
To configure WM140 as the starting area of destination
To configure 55 words for sending size
(00002)
To set execution bit by setting R1 = 1.
(00003)
XYRW command execution
(00004)
The process of normal completion
(00005)
The process of error completion
5-17
Slot No.
0
1
2
EH-ETH2
-
-
*
Slot No.
0
1
2
EH-ETH2
-
-
*