129
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
12
12.4 Data Receiving Procedure
12.4.2 Data receiving using an interrupt program (BUFRCVS instruction)
(2) No procedure
The following is the receive process performed in the fixed buffer number 2 area for the connection number 2.
Confirm the normal completion of the initial process. (Initial normal completion signal (X19): ON)
Establish a connection between the E71 and the connected device and confirm the normal completion of the
open process of the connection number 1.
Receive data from the destination.
• Request the CPU module to start up the interrupt program.
The interrupt program starts up. Execute the BUFRCVS instruction to read the receive data length and
receive data from the fixed buffer number 1.
End the interrupt program to restart the main program.
1
2
4
3
5
Initial
process
Open
process Receiving data
Initial normal completion
signal X19
Open completion signal
(address: 5000
H
[b1])
In interrupt process
ACK
(TCP only)
Cycle Cycle
Scan
END
process
Scan Scan
Program
END
process
BUFRCVS instruction
Receiving data
Interrupt process