Socket Services - Omron CS CJ1W-ETN21 Operation Manual

Sysmac cs and cj series ethernet units construction of applications
Hide thumbs Also See for CS CJ1W-ETN21:
Table of Contents

Advertisement

This section describes the functionality provided by the Ethernet Unit via the socket services.
6-1
6-1-1
What are Sockets?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-2
Socket Port Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2
Protocol Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-1
Differences between TCP and UDP . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-2
Opening TCP Sockets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-3
Fragmentation of Send Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-1
Socket Service Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-2
6-3-3
Using Socket Services with CMND(490). . . . . . . . . . . . . . . . . . . . .
6-3-4
Specific Socket Service Functions . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3-5
Differences with Previous Models . . . . . . . . . . . . . . . . . . . . . . . . . .
6-4
Socket Service Function Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-4-1
Manipulating Dedicated Control Bits. . . . . . . . . . . . . . . . . . . . . . . .
6-4-2
Executing CMND(490) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-5
Using Socket Service Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-5-1
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-5-2
Settings Required for Socket Service Function . . . . . . . . . . . . . . . .
6-5-3
Setup Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-6
Socket Service Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-6-1
CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-6-2
DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7
6-7-1
Application Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-2
Socket Services and Socket Status . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-3
Socket Service Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-4
Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-5
Socket Service Request Switches . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-6
Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-7
Timing Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-7-8
TCP/IP Communications Programming Example . . . . . . . . . . . . . .
6-7-9
UDP/IP Communications Programming Example . . . . . . . . . . . . . .
SECTION 6

Socket Services

99
99
99
100
100
100
102
103
103
104
105
105
106
106
106
106
107
107
107
108
110
110
111
112
112
113
115
117
119
120
125
127
131
97

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs cs1w-etn21Sysmac cs1w-etn21Sysmac cj1w-etn21

Table of Contents