EasyManuals Logo
Home>Omron>Controller>CS1W-ETN11

Omron CS1W-ETN11 User Manual

Omron CS1W-ETN11
317 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
103
SECTION 6
Socket Services
This section describes the functionality provided by the Ethernet Unit via the socket services.
6-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
6-1-1 Socket Service Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
6-1-2 Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
6-1-3 Using Sockets with the Ethernet Unit. . . . . . . . . . . . . . . . . . . . . . . . 105
6-1-4 Socket Port Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
6-1-5 Differences between TCP and UDP . . . . . . . . . . . . . . . . . . . . . . . . . 106
6-1-6 Opening TCP Sockets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
6-1-7 Fragmentation of Send Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
6-1-8 Maximum Transmission Delays . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
6-1-9 Precautions in Using Socket Services. . . . . . . . . . . . . . . . . . . . . . . . 111
6-2 Using Socket Services with Socket Service Request Switches . . . . . . . . . . . 112
6-2-1 Socket Service Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
6-2-2 Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6-2-3 Socket Service Request Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
6-2-4 UDP/TCP Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
6-2-5 Application Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
6-2-6 Socket Services and Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . . 127
6-2-7 Timing Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
6-2-8 TCP/IP Communications Programming Example . . . . . . . . . . . . . . 130
6-2-9 UDP/IP Communications Programming Example . . . . . . . . . . . . . . 134
6-3 Using Socket Services with CMND(490). . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
6-3-1 UDP/TCP Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
6-3-2 Socket Services and Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . . 143
6-3-3 Communications Timing Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
6-3-4 Socket Service Timing Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
6-3-5 TCP/IP Communications Programming Example . . . . . . . . . . . . . . 146
6-3-6 UDP/IP Communications Programming Example . . . . . . . . . . . . . . 153

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CS1W-ETN11 and is the answer not in the manual?

Omron CS1W-ETN11 Specifications

General IconGeneral
BrandOmron
ModelCS1W-ETN11
CategoryController
LanguageEnglish

Related product manuals