Chapter 7 Automatic Sending/Receiving function (ASR)
Time chart for connection 2 is shown as Figure 7.14.
Register name
EXRR.
ARP2 = 1
(2)
Optional receiving mode
(1)
RDCR
.ARE2
(5)
(3)
(4)
C2CSR
.RXC2
: By user, : By EH-ETH2
Figure 7.14
Procedure of Optional receiving
(1) When receive mode is optional mode, set 1 to “receive mode change ” bit (
EXRR
.ARP2).
-------------------------------------------------------------------------------------------------------------------
Select receive mode
(2) When data should be refreshed, set 1 to “Ready to transmit” bit (
RDCR
.ARE2).
---------------------------------------------------------------------------------------------------------------
Request to refresh data
(3) EH-ETH2 receives the request and sends designated data to CPU. After the sending completed, EH-ETH2 sets 1
to “Receiving completed” bit (
C2CSR
.RXC2).
------------------------------------------------------------------------------------------------------------------
Receiving completed
(4) Confirm sending completed by
C2CSR
.RXC2=1, and cancel the “Ready to receive” bit (
RDCR
.ASE2). If data
should be refreshed continuously, the cancellation is not necessary.
------------------------------------------------------------------------------------------------
Cancellation of a request to refresh
(5) EH-ETH2 receives the request to cancel, and clear the “Receiving completion” bit (
C2CSR
.RXC2).
------------------------------------------------------------------------------------------------------
Clear receiving completion bit
- Receive mode is
Normal receiving mode
When EH-ETH2 receive data from other station, it set to the receive area (CPU internal output) specified by
ASR Receive information. This series of action can be called "automatic receive". See "7.1.2 Automatic data
receiving" for detailed.
7-19