Справочник Пользователя для Omron CS1W-ETN11

Скачать
Страница из 317
237
Command/Response Reference
Section 11-3
11-3-19 IP ADDRESS TABLE WRITE
Writes the IP address table.
Command Block
Response Block
Parameters
Number of Records 
(Command)
The number of records to write is specified between 0000 and 0020 (0 to 32
decimal) in the command. If this value is set to 0, the IP address table will be
cleared so that no records are registered.
IP Address Table Records 
(Command)
Specify the IP address table records. The number of records specified must
be provided. The total number of bytes in the IP address table records is cal-
culated as the number of records x 6 bytes/record. The configuration of the
6 bytes of data in each record is as shown in the following diagram.
FINS Node Number
Node number for communications via the FINS command (hexadecimal).
IP Address
IP address used by TCP/IP protocol (hexadecimal).
Precautions
The new I/O address table records will not be effective until the PC is
restarted or the Ethernet Unit is reset.
An error response will be returned if the IP address conversion method in the
system mode settings is set for automatic generation.
Response Codes
50
27
Command 
code
Number of 
records
6 bytes
IP address 
table records
6 bytes
IP address 
table records
50
27
Command 
code
Response 
code
00
FINS node 
number
IP address
1
6 bytes
Response code
Description
0000
Normal (echo reply received from the remote node)
1001
Command too large
1002
Command too small
1003
The number of records specified does not match the sent data 
length. 
110C
The number of records is not between 0 and 32.
The FINS node number is not between 1 and 126
The IP address is 0.
2307
IP address conversion method is set for automatic generation.