Using Socket Services with CMND(490)

 

 

 

 

Section 6-8

CPU

Ethernet Unit

 

 

 

 

 

 

 

 

 

 

 

 

Other node

Communications

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

Ethernet Unit

Socket status area

Process complete

 

 

notification

Results storage area

 

 

Results stored

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.

137

Page 161
Image 161
Omron CJ1W-ETN21 operation manual 137