Hitachi HIDIC EH-150 Applications Manual page 62

Programable controller; ethernet module(eh-eth)
Hide thumbs Also See for HIDIC EH-150:
Table of Contents

Advertisement

EH-ETH 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.2.1.2.
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-ETH 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-ETH 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=
------------------------------------------------------------Cancellation of the request to clear error bit, and request to open
(6). EH-ETH 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-ETH
Figure 7.2.1.2 Procedure to open connection
7-7
(5)
(6)
(4)

Advertisement

Table of Contents
loading

Table of Contents