Omron CS1W-ETN01 Operation Manuals page 115

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

Using Socket Services with Socket Service Request Switches
TCP Socket Close Request
6-2-3 Socket Service Request Switches
Response
code
0053
Error in communications with remote node (ETIMEDOUT).
(See note.)
0081
The specified socket was closed during send processing.
Note These response codes will be returned only on large, multilevel networks.
Response
code
0000
Normal end
2210
The specified socket is not open.
2211
Unit is busy; cannot execute.
2607
Specified Socket Service Parameter Area is already being used
for another socket.
0302
CPU Unit error; cannot execute.
Socket Service Request Switches are manipulated to request socket services.
These bits are called Socket Service Request Switches, and are turned ON in
the CPU Unit to request socket services through the Ethernet Unit.
The Socket Service Request Switches are allocated in the CPU Bus Unit Area in
the CPU Area starting at the the word n+ 19. The value of n can be calculated
from the unit number as follows:
n = 1500 + (25 x unit number)
Offset
n+19
n+20
n+21
n+22
The configuration of each set of Socket Service Request Switches is shown in
the following diagram.
15 14 13 12 11 10
7
6
5
Meaning
Meaning
15
8 7
Socket Service
Request Switches 2
Socket Service
Request Switches 4
Socket Service
Request Switches 6
Socket Service
Request Switches 8
9
8
4
3
2
1
0
UDP Open Request Switch
TCP Passive Open Request Switch
TCP Active Open Request Switch
Send Request Switch
Receive Request Switch
Close Request Switch
Section
0
Socket Service
Request Switches 1
Socket Service
Request Switches 3
Socket Service
Request Switches 5
Socket Service
Request Switches 7
6-2
103

Advertisement

Table of Contents
loading

Table of Contents