Omron CS1W-ETN21 operation manual IP Network Address, Router IP Address

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 213
Image 213

Command/Response Reference

Section 7-3

Response Block

Parameters

Number of Records (Command, Response)

Maximum Number of Stored Records (Response)

Number of Stored Records (Response)

IP Router table Records (Response)

Precautions

Response Codes

27 61

 

 

 

 

8 bytes

8 bytes

Command

Response

Maximum

Number

Number

IP router

IP router

code

code

number

of stored

of records

table records

table records

 

 

of stored

records

 

 

 

 

 

records

 

 

 

 

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.

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).

The number of IP router table records stored at the time the command is exe- cuted is returned in hexadecimal.

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.

1

8 bytes

IP Network address

Router IP address

(Network ID)

 

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.

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 code

Description

 

 

0000

Normal

 

 

1001

Command too large

 

 

1002

Command too small

 

 

188

Page 213
Image 213
Omron CS1W-ETN21 operation manual IP Network Address, Router IP Address