![background image](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528200.webp)
11-1
Section
Command Codes and Response Codes
190
11-1 Command Codes and Response Codes
11-1-1 Command Code List
The command codes listed in the following table can be sent to an Ethernet Unit.
Command code
Name
Page
MRC
SRC
04
03
RESET
193
05
01
CONTROLLER DATA READ
193
06
01
CONTROLLER STATUS READ
195
08
01
INTERNODE ECHO TEST
196
02
BROADCAST TEST RESULTS READ
197
03
BROADCAST DATA SEND
197
21
02
ERROR LOG READ
197
03
ERROR LOG CLEAR
198
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
20
PING
211
50
IP ADDRESS TABLE WRITE
212
60
IP ADDRESS TABLE READ
213
61
IP ROUTER TABLE READ
214
62
PROTOCOL STATUS READ
215
63
MEMORY STATUS READ
219
64
SOCKET STATUS READ
221
65
ADDRESS INFORMATION READ
221
11-1-2 Response Code List
Response codes are 2-byte codes which indicate the results of command
execution. They are returned in the response following the command code.
The first byte of a response code is the MRES (main response code), which
categorizes the results of command execution. The second byte is the SRES
(sub-response code) which specifies the results.
Command
code
Response
code
MRC:
Main request code
SRC: Sub-request
code
MRES: Main response code
SRES: Sub-response code
MRC SRC MRES SRES