IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
56
5.4. Application Example
Application
A Siemens SIMATIC 505 PLC is used to update a Siemens S7 PLC with process information. When
the S7 receives the information, it sends status information back to the 505 PLC.
Assumptions
The SIMATIC 505 PLC uses the 2572 as a network TCP/IP interface.
The S7 uses a CP343-1 TCP/IP interface.
The 2572 will be configured as the Active partner
The S7 will be configured as the Passive partner
The IP address of the 2572 is 192.168.1.2 (Dotted hexadecimal is C0.A8.01.02).
The TSAP for the SIMATIC 505 connection endpoint is PLCA. This TSAP string is stored at
V500 in the SIMATIC 505 PLC.
The IP address of the CP343 interface is 192.168.1.3
The TSAP for the S7 connection endpoint is S701. This TSAP string is stored at V510 in the
SIMATIC 505 PLC.
The 2572 will send 100 words of data obtained from V1000 V1099.
The S7 will reply with 10 words of status information, which will be written to V1200 V1209.
The 2572 module is logged into the PLC at WX1.
No router is used on the network.
CP 2572 Command Blocks
Open Active Connection
Address Description Hex Decimal
V100 Error Word 0000 0
V101 Command Code 2E01 11777
V102 Connection Number 4B15 19221
V103 Protocol Manager Number 002E 46
V104 IP address of Partner High 16 bits C0A8 49320
V105 IP address of Partner Low 16 bits 0102 258
V106 Flags 0000 0
V107 Length of local TSAP (in bytes) 0004 4
V108 Start V-memory address of local TSAP 01F4 500
V109 Length of remote TSAP (in bytes) 0004 4
V110 Start V-memory address of remote
TSAP
01FE 510
V111-115 Unused 0000 0