![background image](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528224.webp)
11-3
Section
Command/Response Reference
214
11-3-21
IP ROUTER TABLE READ
Reads the IP router table.
Command Block
61
27
Command
code
Number of
records
Response Block
61
27
8 bytes
Command
code
Maximum
number
of stored
records
IP router table records
8 bytes
Response
code
Number
of stored
records
Number
of records
Parameters
The number of records to read is specified between 0000 and 0008 (0 to 8 deci-
mal) in the command. If this value is set to 0, the number of stored records will be
returned but the IP router table records will not be returned. The response re-
turns the actual number of records read.
The maximum number of records that can be stored in the IP router table is re-
turned. The maximum number of stored records is fixed at 0008 (8 records).
The number of IP router table records stored at the time the command is
executed is returned.
The number of IP router table records specified in the number of records param-
eter is returned. The total number of bytes in the IP router table records is calcu-
lated as the number of records x 8 bytes/record. The configuration of the 8 bytes
of data in each record is shown below.
IP address
Router IP address
8 bytes
1
IP Address
The network ID from the IP address in hexadecimal. The network ID part corre-
sponding to the address class (determined by the leftmost 3 bits; refer to 1–7 IP
Addresses) set here, is enabled.
Router IP Address
The IP address of a router connected to a network specified with IP addresses.
Precautions
If the IP router table contains fewer records than the number specified in the
number of records parameter, all the records contained in the IP router table
when the command is executed will be returned and the command execution will
end normally.
Response Codes
Response code
Description
0000
Normal
1001
Command too large
1002
Command too small
Number of Records
(Command, Response)
Maximum Number of Stored
Records (Response)
Number of Stored Records
(Response)
IP Router Table Records
(Response)