Omron CS/CJ Series Network Card User Manual


 
239
Command/Response Reference Section 11-3
11-3-21 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.
Maximum Number of
Stored Records
(Response)
The maximum number of records that can be stored in the IP address table is
returned. The maximum number of stored records is fixed at 32.
Number of Stored
Records (Response)
The number of IP address table records stored at the time the command is
executed is returned as a hexadecimal number.
IP Address Table Records
(Response)
The number of IP address table records specified in the number of records
parameter is returned. The total number of bytes in the IP address table
records is calculated as the number of records x 6 bytes/record. The configu-
ration of the 6 bytes of data in each record is as shown in the following dia-
gram.
FINS Node Number
Node number for communications via the FINS command.
IP Address
IP number used by TCP/IP protocol.
Precautions
If the IP address table contains fewer records than the number specified in the
number of records parameter, all the records contained in the IP address table
when the command is executed will be returned and the command execution
will end normally.
An error response will be returned if the IP address conversion method in the
system mode settings is set to the automatic generation method.
Response Codes
6027
Command
code
Number of
records
6027
6 bytes
Command
code
Maximum
number
of stored
records
IP address
table records
6 bytes
Response
code
Number
of
stored
records
Number
of
records
IP address
table records
00
FINS node
number
IP address
1
6 bytes
Response code Description
0000 Normal
1001 Command too large
1002 Command too small
2307 IP address conversion method is set to the automatic genera-
tion method.