Automatic Data Receiving - Hitachi EH-150 Applications Manual

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

Advertisement

(2) Sending area
Sending area can be specified in EH-ETH2 Configurator of "ASR I/O Area (Connection n
connection can handle up to 10 sending areas. (One sending area is called as "Entry")
In case of sending several kinds of I/O areas, they are once sent to a sending buffer according to the setting in
EH-ETH2 Configurator. The following Figure 7.2 shows an example of R0 to R9 (10 bits) and WM100 to WM101
(2 words).
*1 : n means connection No..
Send Area Information
No.
I/O
Top
1
R
0
2
WM
100
...
...
9
10
Caution
- 1 connection can handle up to 1454 bytes.
- When designated bit size is less than 8 bits (1 byte), the rest bits are all 0.
7.1.2

Automatic data receiving

This function is able to receive data from other EH-ETH2 or host PC to internal buffer and write to
designated receiving area. Users do not have to prepare user program for sending the data from the buffer
to receiving area in CPU.
CPU module
Receiving area
(A) After the power ON, host PC opens ASR connection between EH-ETH2 and host PC.
(B) After the connection opened, EH-ETH2 waits data from other station.
(C) EH-ETH2 writes received data to receiving area of the CPU.
The specification of automatic data receiving is mentioned as below.
(1) ASR connection
Up to 6 connections are available for the automatic data receiving function. One ASR connection is able to handle
both sending and receiving at the same time.
Chapter 7 Automatic Sending/Receiving function (ASR)
Size
10
H00 R0
2
H01 R8
H02
H03
H04
H05
Figure 7.2
Sending area and sending buffer
EH-ETH2
Receiving buffer
(C)
(B)
Figure 7.3
Outline of automatic receiving
7-2
EH-ETH2
Sending buffer
MSB
R1
R2
R3
R4
R9
0
0
0
WM100 High Byte
WM100 Low Byte
WM101 High Byte
WM101 Low Byte
(A)
(*1)
) Setting". One
LSB
R5
R6
R7
0
0
0
Host PC
Ethernet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents