Using Socket Services with CMND(490)
6-8-2
Socket Services and Socket Status
CPU
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.
CPU
Socket status area
Results storage area
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.
Ethernet Unit
Communications
Ethernet Unit
Process complete
notification
Results stored
Section 6-8
Other node
137