Communication
11.2 PROFINET
S7-1200 Programmable controller
884 System Manual, V4.2, 09/2016, A5E02486680-AK
State BYTE Current status of the connection end point
• 0x00: Not used.
• 0x01: Connection terminated. Temporary status, for example, after the
"T_RESET" instruction is called. The system then automatically attempts to re-
establish the connection.
• 0x02: The active connection end point is attempting to establish a connection to
the remote communication partner.
• 0x03: The passive connection end point is waiting for establishment of the con-
nection to the remote communication partner.
• 0x04: Connection established.
• 0x05: The connection is being terminated. This may be because the "T_RESET"
or "T_DISCON" instruction has been called. Other possible reasons are protocol
errors and line breaks.
• 0x06..0xFF: Not used.
Kind BYTE Mode of the connection end point:
• 0x00: Not used.
• 0x01: Configured, static connection which has been configured and loaded to
the CPU.
•
0x02: Configured, dynamic connection which has been configured and loaded to
the CPU (not currently supported).
• 0x03: Programmed connection generated in the user program with the instruc-
tion "TCON". A call of the instruction "TDISCON" or a transition to CPU STOP
status has destroyed the connection end point.
• 0x04: Temporary, dynamic connection established by the engineering station
(ES) or operator station (OS), for example. (this connection type cannot current-
ly be diagnosed as there is no ID).
• 0x05..0xFF: Not used.
Number of data bytes sent.
Number of data bytes received.