Chapter 8 Register Structure 8-1 To; Status Registers - Hitachi EH-150 Applications Manual

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

Advertisement

Chapter 8
The register structures of this module are described here.
EH-ETH2 has Status Register (SR) and Control Register (CR). The Status Register is for reading only and mainly
set communication status of each connection. The Control Register is for writing only and used to control ASR
operation.
User program is able to check communication status and control communication operation by these registers . The
dedicated commands (FUN201 for EH-CPUs, SCRW for EHV-CPUs) are used to read Status Register and write
Control Register in the user program.
8.1

Status Registers

The information (Communication parameter) related with communication of this module is shown by the status
area. Figure 8.1 shows the map of the status area. The status area is structured with 13 kinds of resisters. Each
register size is 1 word (16bits).
To get the data of this status area, the dedicated commands (FUN201 or SCRW) should be used in the user
program.
Register Structure
I/O No.
Status Registers
+0
Module status
+H1
Connection 1 error status
+H2
Connection 2 error status
+H3
Connection 3 error status
+H4
Connection 4 error status
+H5
Connection 5 error status
+H6
Connection 6 error status
+H7
Connection 1 communication status
+H8
Connection 2 communication status
+H9
Connection 3 communication status
+HA
Connection 4 communication status
+HB
Connection 5 communication status
+HC
Connection 6 communication status
Figure 8.1
The structure of status area
(MDSR)
(C1ESR)
(C2ESR)
(C3ESR)
(C4ESR)
(C5ESR)
(C6ESR)
(C1CSR)
(C2CSR)
(C3CSR)
(C4CSR)
(C5CSR)
(C6CSR)
8-1
Chapter 8 Register Structure

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents