1 command codes and response codes, Command codes and response codes, Command code list – Omron CS1W-ETN21 User Manual
Page 181: Response code list, 1-1 command code list, 1-2 response code list
![background image](/manuals/203937/181/background.png)
156
Command Codes and Response Codes
Section 7-1
7-1
Command Codes and Response Codes
7-1-1
Command Code List
The command codes listed in the following table can be sent to an Ethernet
Unit.
7-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
Name
Page
MRC
SRC
04
03
RESET
05
01
CONTROLLER DATA READ
06
01
CONTROLLER STATUS READ
08
01
INTERNODE ECHO TEST
02
BROADCAST TEST RESULTS READ
03
BROADCAST DATA SEND
21
02
ERROR LOG READ
03
ERROR LOG CLEAR
27
01
UDP OPEN REQUEST
02
UDP RECEIVE REQUEST
03
UDP SEND REQUEST
04
UDP CLOSE REQUEST
10
PASSIVE TCP OPEN REQUEST
11
ACTIVE TCP OPEN REQUEST
12
TCP RECEIVE REQUEST
13
TCP SEND REQUEST
14
TCP CLOSE REQUEST
20
PING
30
FINS/TCP CONNECTION REMOTE
NODE CHANGE REQUEST
31
FINS/TCP CONNECTION STATUS
READ
50
IP ADDRESS TABLE WRITE
57
IP ADDRESS WRITE (CJ Series only)
60
IP ADDRESS TABLE READ
61
IP ROUTER TABLE READ
62
PROTOCOL STATUS READ
63
MEMORY STATUS READ
64
SOCKET STATUS READ
65
ADDRESS INFORMATION READ
67
IP ADDRESS READ
Command
code
Response
code
MRC: Main
request
code
SRC: Sub-request
code
MRES: Main response code
SRES: Sub-response code
MRC SRC MRES SRES