Chapter 7 Automatic Sending/Receiving function (ASR)
7.3 ASR with user program
Without any user program, EH-ETH2 is able to send / receive data by using cyclic sending and receiving
function. In addition to this function, you can achieve more precise data transmission by using above
function with user program.
EH-ETH2 have sending function shown in
Table 7.2.
Table 7.2 Sending function
Sending type
Communication
control program
Description
Cyclic sending Not required
(*1)
EH-ETH2 execute refresh of internal send buffer and data send at
every send cycle automatically
Event sending Required User program controls refresh of internal send buffer and data send.
*1: Program for error detection of communication or other additional operation is required
depending on the occasions.
EH-ETH2 have receiving function shown in
Table 7.3.
Table 7.3 Receiving function
Receiving type Receive mode
Communication
control program
Description
Normal Not required
(*2)
Receive buffer is refreshed whenever data is received.
EH-ETH2 stored EH-ETH2 internal receive buffer data to
receive area in CPU module automatically.
Cyclic receiving
Optional Required
EH-ETH2 stored the receive data, which is permitted to receive
by user program, to a receive buffer of EH-ETH2. After that,
EH-ETH2 refresh receive area in CPU module.
When receive is not permitted, EH-ETH2 nullify received data.
*2: Program for error detection of communication or other additional operation is required
depending on the occasions.
7-17