Communication
10.2 PROFINET
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
529
DONE OUT Bool
• 0: Job is not yet started or still running.
• 1: Job completed without error.
BUSY OUT Bool
• 0: Job is completed.
• 1: Job is not yet completed. A new job cannot be
triggered.
ERROR OUT Bool Status parameters with the following values:
• 0: No error
• 1: Error occurred during processing. STATUS provides
detailed information on the type of error.
STATUS OUT Word Status information including error information. (Refer to the
Error and Status condition codes in the table below.)
Both communication partners execute the TCON instruction to set up and establish the
communication connection. You use parameters to specify the active and passive
communication end point partners. After the connection is set up and established, it is
automatically maintained and monitored by the CPU.
If the connection is terminated due to a line break or due to the remote communications
partner, for example, the active partner attempts to re-establish the configured connection.
You do not have to execute TCON again.
An existing connection is terminated and the set-up connection is removed when the
TDISCON instruction is executed or when the CPU has gone into STOP mode. To set up
and re-establish the connection, you must execute TCON again.
Table 10- 9 ERROR and STATUS condition codes for TCON and TDISCON
Connection was established successfully.
0 7001 Start job processing; establishing connection (TCON) or terminating connection
0 7002 Follow-on call (REQ irrelevant); establishing connection (TCON) or terminating
The ID parameter is outside the permitted address range.
TCON: Maximum number of connections reached; no additional connection possible.
TCON: The local_device_id in the connection description does not match the CPU.
TCON: Connection or port is already occupied by user.
TCON: Local or remote port is occupied by the system.
1 80A3 Attempt being made to re-establish an existing connection (TCON) or terminate a non-
existent connection (TDISCON).
1 80A4 TCON: IP address of the remote connection end point is invalid; it may match the local
IP address.
TCON: Connection ID (Page 514) is already in use.
1
80A7 TCON: Communications error: you executed TDISCON before TCON was complete.
TDISCON must first completely terminate the connection referenced by the ID.