Omron CS1W-ETN21 Network Card User Manual


 
137
Using Socket Services with CMND(490) Section 6-8
4. When the process has been completed, the result is stored in the results
storage area defined in the socket service request command and the sock-
et status will indicate completion of processing.
6-8-2 Socket Services and Socket Status
When using socket services, it is important to consider the timing of the status
changes in the socket status area. The diagram below shows a program flow-
chart for opening UDP.
Program flow is similar for other socket services. Replace the names of the
appropriate flags in the flowchart to adapt it to other socket services.
CPU Ethernet Unit
Communications
Other node
CPU
Socket status area
Results storage area
Ethernet Unit
Process complete
notification
Results stored