Omron CS/CJ Series Network Card User Manual


 
240
Command/Response Reference Section 11-3
11-3-22 IP ROUTER TABLE READ
Reads the IP router table.
Command Block
Response Block
Parameters
Number of Records
(Command, Response)
The number of records to read is specified between 0000 and 0008 (0 to 8
decimal) 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 returns the actual number of records read.
Maximum Number of
Stored Records
(Response)
The maximum number of records that can be stored in the IP router table is
returned. The maximum number of stored records is fixed at 0008 (8 records).
Number of Stored
Records (Response)
The number of IP router table records stored at the time the command is exe-
cuted is returned.
IP Router Table Records
(Response)
The number of IP router table records specified in the number of records
parameter is returned. The total number of bytes in the IP router table records
is calculated as the number of records x 8 bytes/record. The configuration of
the 8 bytes of data in each record is shown below.
IP Network Address
The network ID from the IP address in hexadecimal. The network ID part cor-
responding 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
6127
Command
code
Number of
records
6127
8 bytes
Command
code
Maximum
number
of stored
records
IP router
table records
8 bytes
Response
code
Number
of stored
records
Number
of records
IP router
table records
IP Network address
(Network ID)
Router IP address
8 bytes
1
Response code Description
0000 Normal
1001 Command too large
1002 Command too small