To Set Ethernet Parameters - Hitachi EH-150 Applications Manual

Ethernet module 2 eh-eth2
Hide thumbs Also See for EH-150:
Table of Contents

Advertisement

Sample program 1
R7E3
R7E3
R7E3
R7E3
R0
R101
R102

To set Ethernet parameters

(for EH-CPU)
WR003 = H3
WR004 = H200
ADRIO = (WR005, R100)
ADRIO = (WR006, WM100)
WR007 = 55
DM100 = H2001C080
DM102 = HFF00FFFF
DM104 = H20FFC080
WM106 = H0FA0
DM107 = H1001C0A8
DM109 = H00000000
DM10B = H00000000
DM10D = H00000000
DM10F = H00000000
DM111 = H00000000
DM113 = H00000000
DM115 = H00000000
DM117 = H00000000
DM119 = H00000000
DM11B = H00000000
DM11D = H00000000
DM11F = H00000000
DM121 = H00000000
DM123 = H00000000
DM125 = H00000000
DM127 = H00000000
DM129 = H00000000
DM12B = H00000000
WM12D = H0BBC
WM12E = H0000
WM12F = H0BBD
WM130 = H0000
WM131 = H0BBE
WM132 = H0000
WM133 = H0BBF
WM134 = H0000
WM135 = H000F
WM136 = H0000
R100
FUN200 (WR000)
R0 = 0
R0 = 0
Chapter 5 Configuration of Communication parameters
To set s parameter area
(00001)
The request of Ethernet Parameters putting
To set the target area (Unit 0, Slot 2)
To configure R100 as the control bit I/O No.
To configure WM100 as the starting area of
source
To configure 55 words for sending size
(00002)
IP Address of Self station
Subnet Mask
IP Address of Other station for Diagnosis
Port No. of Other station for Diagnosis
Default gateway address
(00003)
(00004)
Task Code Port 1 Logical Port No.
Task Code Port 1 Protocol
Task Code Port 2 Logical Port No
Task Code Port 2 Protocol
Task Code Port 3 Logical Port No
Task Code Port 3 Protocol
Task Code Port 4 Logical Port No
Task Code Port 4 Protocol
Timeout value
Transfer speed / Type
(00005)
To set execution bit by setting R0 = 1.
(00006)
FUN200 command execution
(00007)
The process of normal completion
(00008)
The process of error completion
5-15
Slot No.
0
1
2
EH-ETH2
-
-
*
No use
No use

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents