![Omron CS1W-ETN01 Скачать руководство пользователя страница 201](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528201.webp)
11-2
Section
Socket Applications
191
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 re-
sponse codes including the SRES.
MRES
Execution results
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
11-2 Socket Applications
The format of the following FINS commands partially differs when the sockets
are used.
Command code
Name
Page
MRC
SRC
27
01
UDP OPEN REQUEST
199
02
UDP RECEIVE REQUEST
200
03
UDP SEND REQUEST
201
04
UDP CLOSE REQUEST
203
10
PASSIVE TCP OPEN REQUEST
204
11
ACTIVE TCP OPEN REQUEST
206
12
TCP RECEIVE REQUEST
207
13
TCP SEND REQUEST
209
14
TCP CLOSE REQUEST
210
11-2-1 Format
The basic format of these commands is shown in the diagram below.
Command
code
Socket
number
Results storage area
Parameters
Number of bytes from the
beginning of the frame
Command Code
Specifies the requested process.
Socket Number
Specifies the socket number for which the process is requested, from 1 to 8.
Results Storage Area
Specifies the area to store the results of the requested process.
Parameters
Specifies the parameters for the command code. Parameters depend on the
command being executed; for details, refer to the following pages.