IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
51
5.3. Send/Receive Command Blocks
The Send/Receive feature is implemented on the 2572 using the standard Command Interface. You
may create up to four S
END/RECEIVE connections.
OPEN ACTIVE Connection Command
If the 2572 is designated as the Active partner, you must initiate an OPEN ACTIVE CONNECTION
command using PLC logic. The OPEN ACTIVE CONNECTION command attempts to establish a
connection with a designated communications partner. If the connection attempt is successful, the
connection can be used for data transmission using the S
END or RECEIVE commands.
If a connection cannot be made with the designated partner, an error code will be returned to the
application, and the application must explicitly retry the connection attempt. Once the connection
has been established, if the connection is subsequently lost, the 2572 will automatically attempt to re-
establish the connection.
NOTE:
If you choose to open an Active connection, the partner must not open an Active connection. For S7
communications, ensure that the Active selection is not enabled. Configuring the 2572 as the Active
partner tends to establish the connection quicker.
Offset Description Hex Decimal
0 Error Word 0000 0
1 Command Code 2E01 11777
2 Connection Number 4B15 – 4B1C 19221-
19228
3 Protocol Manager Number 002E 46
4 IP address of Partner – High 16 bits
5 IP address of Partner – Low 16 bits
6 Flags N/A
7 Length of local TSAP (in bytes) 1-10 1-10
8 Start V-memory address of local TSAP
9 Length of remote TSAP (in bytes) 1-10 1-10
10 Start V-memory address of remote
TSAP
11-15 Unused
Command Code The number for this command is 0x2E01.
Connection number The connection number must be unique and within the designated range.
Protocol Manager Number The number for this Protocol Manager is 0x2E.
IP Address of Partner This is the IP address of the partner to which you want to connect. See the
2572 user documentation for the format of the IP address.
Flags None Used
Local TSAP This is the TSAP associated with the connection in this PLC. You may select any
value but you must ensure that the value entered for Remote TSAP in the partner PLC matches this.