Hitachi EH-150 Applications Manual page 65

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

Advertisement

EH-ETH2 is able to request to open connection to other stations by setting "Request to open bit" to high.
The procedure to open ASR connection 1 is shown as Figure 7.8.
Register name
C1CSR.OPC1
CNCR.OPN1
C1ESR.OE1
EC1CR.OEC1
(1) Confirm ASR connection is not opened (C1CSR.OPC is 0) and the status is not open error (C1CSR.OPC is 0).
Then set 1 to CNCR.OPN1.
------------------------------------------------------------------------------------------------------------------------ Request to open
(2) EH-ETH2 receives the request and set 1 to C1ESR.OE1 because it is not ready to be opened.
----------------------------------------------------------------------------------------------------------------------------- Open error
(3) Confirm the open error reply and set 0 to CNCR.OPN1 and 1 to EC1CR.OEC1
------------------------------------------------------------------------- Cancellation of the request to open and clear error bit
(4) EH-ETH2 receives the request to clear and clear C1ESR.OE1 by setting 0.
-------------------------------------------------------------------------------------------------------------- Clear the open error bit
(5) Examine the error cause and remove. Then set 0 to EC1CR.OEC1 and set 1 to CNCR.OPN1 again after
confirmation of C1CSR.OPC=0 and C1ESR.OE1=0.
------------------------------------------------------------ Cancellation of the request to clear error bit, and request to open
(6) EH-ETH2 receives the request and open the ASR connection 1 and set 1 to C1CSR.OPC1
--------------------------------------------------------------------------------------------------------------------Connection opened
(7) Confirm the connection opened (C1CSR.OPC=1) and cancel the request to open (CNCR.OPN1=0)
-------------------------------------------------------------------------------------------------Cancellation of the request to open
Chapter 7 Automatic Sending/Receiving function (ASR)
(1)
(2)
(3)
: By user,
: By EH-ETH2
Figure 7.8
Procedure to open connection
7-7
(5)
(6)
(4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents