Omron CS1W-ETN21 operation manual IP Address Table Read, Reads the IP address table

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 211
Image 211

Command/Response Reference

Section 7-3

Parameters

IP Address (Command) Specify the local IP address of the Ethernet Unit using 4 pairs of hexadecimal numbers in the range 00.00.00.00 to FF.FF.FF.FF (0.0.0.0. to 255.255.255.255 decimal). If 0.0.0.0 is specified, the local IP address set in the allocated words in the DM Area is enabled.

Example: 150.31.2.83

96 1F 02 53

Subnet Mask (Command) Specify the local IP address of the Ethernet Unit using 4 pairs of hexadecimal numbers in the range 00.00.00.00 to FF.FF.FF.FF (0.0.0.0. to 255.255.255.255 decimal).

Example: 255.255.255.255

FF FF FF 00

Response Codes

Response code

Description

 

 

0000

Normal

 

 

1001

Command too large

 

 

1002

Command too small

 

 

Precautions

The local IP address and subnet mask set using this mask are written to the

CPU Bus Unit System Setup for the Ethernet Unit.

The new local IP address and subnet mask settings will not be effective until the PC is restarted or the Ethernet Unit is reset.

7-3-23 IP ADDRESS TABLE READ

Reads the IP address table.

Command Block

27 60

Command Number of

code records

Response Block

27 60

 

 

 

 

6 bytes

Command

Response

Maximum

Number

Number

IP address

code

code

number

of stored

of records

table records

 

 

of stored

records

 

 

records

6 bytes

IP address table records

Parameters

Number of Records (Command, Response)

The number of records to read is specified between 0000 and 0020 (0 to 32 decimal) in the command. If this value is set to 0, the number of stored records is returned but the IP address table records are not returned. The response returns the actual number of records read.

186

Page 211
Image 211
Omron CS1W-ETN21 operation manual IP Address Table Read, Reads the IP address table