Socket Applications; Format - Omron CS1W-ETN11 Operation Manual

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

Socket Applications

11-2 Socket Applications

11-2-1 Format

Command
code
Command Code
Socket Number
Results Storage Area
Parameters
The MRES codes are shown in the following table along with the results they
indicate. Refer to 10-6 Troubleshooting with Response Codes for details on
response codes including the SRES.
MRES
00
Normal completion
01
Local node error
02
Remote node error
03
Unit error (controller error)
04
Service not supported
05
Routing error
10
Command format error
11
Parameter error
22
Status error
23
Operating environment error
25
Unit error
The format of the following FINS commands partially differs when the sockets
are used.
Command code
MRC
27
01
02
03
04
10
11
12
13
14
The basic format of these commands is shown in the diagram below.
Socket
Results storage area
number
Specifies the requested process.
Specifies the socket number for which the process is requested, from 1 to 8.
Specifies the area to store the results of the requested process.
Specifies the parameters for the command code. Parameters depend on the
command being executed; for details, refer to the following pages.
Execution results
SRC
UDP OPEN REQUEST
UDP RECEIVE REQUEST
UDP SEND REQUEST
UDP CLOSE REQUEST
PASSIVE TCP OPEN REQUEST
ACTIVE TCP OPEN REQUEST
TCP RECEIVE REQUEST
TCP SEND REQUEST
TCP CLOSE REQUEST
Number of bytes from the
beginning of the frame
Parameters
Section 11-2
Name
223
224
225
227
228
231
232
234
235
Page
215

Advertisement

Table of Contents
loading

Table of Contents