214
Command Codes and Response Codes Section 11-1
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.
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 Name Page
MRC SRC
04 03 RESET 217
05 01 CONTROLLER DATA READ 218
06 01 CONTROLLER STATUS READ 219
08 01 INTERNODE ECHO TEST 220
02 BROADCAST TEST RESULTS READ 221
03 BROADCAST DATA SEND 221
21 02 ERROR LOG READ 221
03 ERROR LOG CLEAR 223
27 01 UDP OPEN REQUEST 223
02 UDP RECEIVE REQUEST 224
03 UDP SEND REQUEST 225
04 UDP CLOSE REQUEST 227
10 PASSIVE TCP OPEN REQUEST 228
11 ACTIVE TCP OPEN REQUEST 231
12 TCP RECEIVE REQUEST 232
13 TCP SEND REQUEST 234
14 TCP CLOSE REQUEST 235
20 PING 236
50 IP ADDRESS TABLE WRITE 237
57 IP ADDRESS WRITE (CJ Series only) 238
60 IP ADDRESS TABLE READ 239
61 IP ROUTER TABLE READ 240
62 PROTOCOL STATUS READ 241
63 MEMORY STATUS READ 245
64 SOCKET STATUS READ 247
65 ADDRESS INFORMATION READ 248
67 IP ADDRESS READ (CJ Series only) 249
Command
code
Response
code
MRC: Main request code
SRC: Sub-request code
MRES: Main response code
SRES: Sub-response code
MRC SRC MRES SRES