![Omron CS1W-ETN01 Operation Manuals Download Page 203](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528203.webp)
11-3
Section
Command/Response Reference
193
11-3 Command/Response Reference
This section describes the FINS commands that can be sent to Ethernet Units
and the responses to each command.
The command, response, and (where applicable) the results storage blocks are
given with the commands in graphic form as shown in the following diagram. If
the data is fixed, it is included in the blocks. If the data is variable, it is described
following the blocks. Each box represents 1 byte; ever two boxes; 1 word. The
following diagram shows 2 bytes, or 1 word.
Two bytes
The results storage format is the format used to store transfer results and data
for socket services requested with command codes 2701 to 2714.
Response codes applicable to the command are described at the end of the
command description. If any UNIX error codes are generated, these are also de-
scribed. Refer to your UNIX error symbol definition file /usr/include/sys/errno.h
for details. UNIX errors are returned in the results storage area.
11-3-1 RESET
Reset the Ethernet Unit.
Command Block
03
04
Command
code
Response Block
03
04
Command
code
Response
code
Precautions
No response will be returned if the command ends normally. A response will be
returned only if an error occurs.
In some cases, send requests (SEND(192)/RECV(193) instructions) made from
the PC to the Ethernet Unit just before execution of the RESET command may
not be executed.
Except for the FINS communications service sockets, all open sockets (for sock-
ets services, FTP server, or mail transmission) are closed immediately before
resetting.
Response Codes
Response code
Description
1001
Command too large
11-3-2 CONTROLLER DATA READ
Reads the following data from the Ethernet model, version, IP address, subnet
mask, FINS UDP port number, mode settings, Ethernet address.
Command Block
01
05
Command
code
Response Block
01
05
Command
code
Response
code
20 bytes
20 bytes
4 bytes
4 bytes
6 bytes
Model
Version
IP address
Subnet
mask
FINS UDP
port number
Mode
setting
Ethernet
address