7.3.2 Event Sending - Hitachi EH-150 Applications Manual

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

Advertisement

7.3.2 Event sending

This event sending function is able to send data at any requested timing. This setting is specified in
EH-ETH2 Configurator as below. Please refer to "5.4.2 Configuration of ASR connection" for further
information.
[ Setting of parameters ]
(1) Select "Event send" at the Type setting.
(2) Enter 0 at text box of Cyclic Time.
[ Programming ]
Time chart of connection 1 is shown as below.
Register name
RECR .ASE1
C1CSR .TXC1
(1) Set 1 to "Execution bit for event sending" ( RECR .ASE1).
----------------------------------------------------------------------------------------------------------- Request for event sending
(2) EH-ETH2 receives the request and sends designated data. After completed, EH-ETH2 sets 1 to C1CSR .TXC1.
------------------------------------------------------------------------------------------------------------------------------- Execution
(3) Confirm if it is completed by C1CSR .TXC1=1, and cancel the "Execution bit for event sending"
( RECR .ASE1=0).
------------------------------------------------------------------------------------ Cancellation of the request for event sending.
(4) EH-ETH2 receives the request to cancel, and clear the completion flag ( C1CSR .TXC1).
-------------------------------------------------------------------------------------------------------------- Cancellation completed.
Chapter 7 Automatic Sending/Receiving function (ASR)
(1)
(2)
Data
: By user,
: By EH-ETH2
Figure 7.15
Procedure of event sending.
7-23
(3)
(4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents