Download Print this page

Hitachi Hidic EH-150 Applications Manual page 55

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

Advertisement

Preliminary Rev.03
The following description is regarding the way to close connection from user program.
- In case EH-ETH requests to close to other station.
The time chart is shown below in Fig. 7.2.2.2.
(1). Confirm ASR connection 2 is opened (C2CSR.OPC2 is 0). Then set 1 to CNCR.CLS2.
----------------------------------------------------------------------------------------------------------------------- Request to close
(2). EH-ETH receives the request and close the connection 2 and then set 0 to C2CSR.OPC2.
-----------------------------------------------------------------------------------------------------------------------Close connection
(3). Confirm the connection closed (C2CSR.OPC2 is 0) and cancel the request to close (CNCR.CLS2=0).
----------------------------------------------------------------------------------------------------- Cancellation of request to close
- In case EH-ETH receives a request to close from another station.
EH-ETH has two types of operation mode after receiving a request from another stations, which is called "Close
mode control". This is switched by "Close mode control register bit (CMCR)".
(a). CMCR.CMn = 0 ("Close mode control" is disabled. "n" is ASR connection number)
EH-ETH closes a requested connection from other station without any other conditions. This means user programs
for monitoring status or for closing connection are not required.
The time chart to close connection 3 is shown in Fig 7.2.2.3.
(1). EH-ETH closes the requested connection. After closing it, EH-ETH sets 0 to C3CSR.OPC3
-----------------------------------------------------------------------------------------------------------------------Close connection
Description in this manual might be modified without notice.
Register name
C2CSR.OPC2
(1)
CNCR.CLS2
: By user,
: By EH-ETH
Fig 7.2.2.2 Procedure to close connection (1)
Request to close from another station
Register name
C3CSR.OPC3
Fig. 7.2.2.3 Procedure to close connection (2)
Chapter 7 Automatic data transmission
(2)
(3)
: By EH-ETH
7-8

Advertisement

loading

This manual is also suitable for:

Eh-eth