3-22 ip router table read, Command block response block parameters, Precautions – Omron W343-E1-07 User Manual

Page 261: Response codes

Advertising
background image

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

61

27

Command
code

Number of
records

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

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

Advertising
This manual is related to the following products: