Parameter Declaration Data type Memory area Description
ERROR OUTPUT BOOL I, Q, M, D, L ERROR status parameter:
n ERROR = 1: Error occurred during processing.
STATUS provides detailed information on the type
of error.
STATUS OUTPUT WORD M, D STATUS status parameter:
Error information
CONNECT IN_OUT ANY D Pointer to the associated connection description.
Ä
Chap. 8.1.6 ‘UDT 65 - TCON_PAR Data structure
for FB 65’ page 124
ERROR STATUS Description
0 0000h Connection is able to be established
0 7000h Call with REQ = 0, establishment of connection not initiated
0 7001h First call with REQ = 1, connection being established
0 7002h Follow-on call (REQ irrelevant), connection being established
1 8086h The ID parameter must not have value of zero.
0 8087h Maximal number of connections reached; no additional connection possible
1 8089h The CONNECT parameter does not point to a data block.
1 809Ah The CONNECT parameter points to a field that does not have the length of the data
structure for assigning connection (UDT 65).
1 809Bh The communication interface specified via local_device_id and next_staddr is not sup-
ported by the CPU.
1 80A1h Connection or port is already occupied by the user.
1 80A2h Local or remote port is occupied by the system.
1 80A3h Attempt being made to re-establish an existing connection.
1 80A4h IP address of the remote connection endpoint is invalid.
1 80A7h Communications error: you have called TDISCON before TCON was complete.
TDISCON must first complexly terminate the connection referenced by the ID.
1 80B4h In the ISO on TCP protocol, one or more of the following conditions have been violated
during passive connection setup:
n local_tsap_id_len ³ 02h
n local_tsap_id[1] = E0h at local_tsap_id_len = 02h
n local_tsap_id[1] an ASCII character local_tsap_id_len ³ 03h
n local_tsap_id[1] is an ASCII character and local_tsap_id_len ³ 03h
1 80B5h Parameter active_est (UDT 65) is TRUE with the protocol variant UDP.
1 80B6h Parameters connection_type is invalid (UDT 65).
Status information
VIPA SPEED7
Network Communication
Open Communication > FB 65 - TCON - Establishing a connection
HB00 | OPL_SP7 | Operation list | en | 18-30 123