IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
122
Reading Network Parameters from EEPROM (PLC Method)
The Read EEPROM command allows you to obtain the network parameters stored in the module
EEPROM. The command is triggered using the command control bits in the module WY4 word.
Offset Description Hex
Value
Decimal
Value
0 Command Error Word
0000 0
1 Command (Read EEPROM Network Data)
000D 13
2 Connection Number
4B00 19200
3 Destination for Answer
Starting V memory Location
4 Number of Words to Reserve (Minimum=9) 000B 11
5- 15 Unused - reserved for future use (Set to 0)
0000 0
Offset 0 Error Word - Set to 0 so that any previous error code is cleared.
Offset 1 Command Code - The Command for Reading EEPROM Network Data is 13 decimal
(hex 000D).
Offset 2 Connection Number - Set this to 19200 decimal (hex 4B00). This connection
number communicates with the module.
Offset 3 Destination for Answer - The result of the read operation will be stored in contiguous
V memory locations starting at the location in offset 3.
Offset 4 Number of Words to Reserve - This version returns 11 words of data. Previous
versions returned 9. Future versions could return more. By specifying the number of
words to 9 you can limit the data returned to be compatible with previous versions.
The following data is returned by this command
Offset Description
0 Module Ethernet ID (High 16 bits)
1 Module Ethernet ID (Middle 16 bits)
2 Module Ethernet ID (Low 16 bits)
3 TCP Stale Socket Timeout
4 Module IP Address (High 16 bits)
5 Module IP Address (Low 16 bits)
6 TCP/UDP Port Number (2572 PLC Server)
7 Default Router (High 16 bits)
8 Default Router (Low 16 bits)
9 Subnet Mask (High 16 bits)
10 Subnet Mask (Low 16 bits)