103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
396
System Manual, 11/2011, A5E02486680-05
10.2.2
Open user communication
10.2.2.1
Connection IDs for the PROFINET instructions
When you insert the TSEND_C, TRCV_C or TCON PROFINET instructions into your user
program, STEP 7 creates an instance DB to configure the communications channel (or
connection) between the devices (Page 118). Use the "Properties" of the instruction to
configure the parameters for the connection. Among the parameters is the connection ID for
that connection.
●
The connection ID must be unique for the CPU. Each connection that you create must
have a different DB and connection ID.
●
Both the local CPU and the partner CPU can use the same connection ID number for the
same connection, but the connection ID numbers are not required to match. The
connection ID number is relevant only for the PROFINET instructions within the user
program of the individual CPU.
●
You can use any number for the connection ID of the CPU. However, configuring the
connection IDs sequentially from "1" provides an easy method for tracking the number of
connections in use for a specific CPU.
Note
Each TSEND_C, TRCV_C or TCON instruction in your user program creates a new
connection. It is important to use the correct connection ID for each connection.