Download Print this page

Hitachi Hidic EH-150 Applications Manual page 88

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

Advertisement

Preliminary Rev.03
Sample program
(1). Reading from the Status registers
When FUN201 command is executed, the value of Status register will be putting on WM100 to WM10C.
R7E3
R0
R101
R102
(2). Writing to the Control register
When FUN201 command is executed, the value of WM110 to WM119 will be putting on Control register.
R7E3
R1
R201
R202
The contents of this manual might be changed without notice.
WR003 = H2
WR004 = H22F
ADRIO = (WR005, R100)
ADRIO = (WR006, WM100)
WR007 = 13
R100
FUN201 (WR000)
R0 = 0
R0 = 0
WR013 = H3
WR014 = H200
ADRIO = (WR015, R200)
ADRIO = (WR016, WM110)
WR007 = 10
R200
FUN201 (WR010)
R1 = 0
R1 = 0
8-19
Chapter 8 Register Structure
To set S parameter area
(00001)
The request of Status register getting
(Without handshake)
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 13 words for sending size
(00002)
To set execution bit by setting R0 = 1.
(00003)
FUN201 command execution
(00004)
The process of normal completion
(00005)
The process of error completion
To set S parameter area
(00001)
The request of Control register putting
(With handshake)
To set the target area (Unit 0, Slot 2)
To configure R200 as the control bit I/O No.
To configure WM110 as the starting area of source
To configure 10 words for sending size
(00002)
To set execution bit by setting R1 = 1.
(00003)
FUN201 command execution
(00004)
The process of normal completion
(00005)
The process of error completion

Advertisement

loading

This manual is also suitable for:

Eh-eth