beautypg.com

Precautions, Response codes – Omron CS1W-ETN21 User Manual

Page 213

background image

188

Command/Response Reference

Section 7-3

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 in hexadecimal.

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

×

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) set here,
is enabled. (Refer to page 49.)

Router IP Address

The IP address (in hexadecimal) 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

Maximum

number

of stored

records

Number

of stored

records

Number

of records

IP router

table records

Response

code

Command

code

27 61

IP router

table records

8 bytes

8 bytes

IP Network address
(Network ID)

Router IP address

1

8 bytes

Response code

Description

0000

Normal

1001

Command too large

1002

Command too small