beautypg.com

Ip address table read, 3-23 ip address table read, Response codes precautions – Omron CS1W-ETN21 User Manual

Page 211: Command block response block parameters

background image

186

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

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

Response Codes

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

Response Block

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.

96

53

1F

02

FF

00

FF FF

Response code

Description

0000

Normal

1001

Command too large

1002

Command too small

Number of

records

Command

code

27 60

Maximum

number

of stored

records

Number

of stored

records

Number

of records

IP address

table records

Response

code

Command

code

27 60

IP address

table records

6 bytes

6 bytes