Command Codes And Response Codes; Command Code List; Response Code List - Omron CS1W-ETN01 Operation Manuals

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

Command Codes and Response Codes

11-1 Command Codes and Response Codes

11-1-1 Command Code List

11-1-2 Response Code List

190
The command codes listed in the following table can be sent to an Ethernet Unit.
Command code
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
50
IP ADDRESS TABLE WRITE
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
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
MRC SRC MRES SRES
Name
MRC: Main request code
Response
SRC:
Sub-request code
code
MRES: Main response code
SRES: Sub-response code
Section
11-1
Page
193
193
195
196
197
197
197
198
199
200
201
203
204
206
207
209
210
211
212
213
214
215
219
221
221

Advertisement

Table of Contents
loading

Table of Contents