Communication
11.2 PROFINET
S7-1200 Programmable controller
848 System Manual, V4.2, 09/2016, A5E02486680-AK
Note
Error messages of the instructions TCON, TSEND, TRCV, and TDISCON
Internally, the
TSEND_C instruction uses the TCON, TSEND, and TDISCON instructions;
and the TRCV_C instruction uses the TCON, TRCV, and TDISCON instructions. Refer to
"
TCON, TDISCON, TSEND, AND TRCV (Page 857)" for more information on error
messages of these instructions.
Connection Ethernet protocols
Every CPU has an integrated PROFINET port, which supports standard PROFINET
communications. The TSEND_C and TRCV_C and TSEND and TRCV instructions all
support the TCP and ISO on TCP Ethernet protocols.
Refer to "Device Configuration: Configuring the Local/Partner connection path (Page 807)"
for more information.
Legacy TSEND_C and TRCV_C instructions
Prior to the release of STEP 7 V13 SP1 and the S7-1200 V4.1 CPUs, the TSEND_C and
TRCV_C instructions could only work with connection parameters with structures according
to "TCON_Param". The general concepts apply to both sets of instructions. Refer to the
individual legacy TSEND_C and TRCV_C instructions for programming information.
Selecting the version of the TSEND_C and TRCV_C instructions
There are two versions of the TSEND_C and TRCV_C instructions available in STEP 7:
● Versions 2.5 and 3.1 were available in STEP 7 Basic/Professional V13 or earlier.
● Version 4.0 is available in STEP 7 Basic/Professional V13 SP1 or later.
For compatibility and ease of migration, you can choose which instruction version to insert
into your user program.
Do not use different instruction versions in the same CPU program.
Click the icon on the instruction tree task card to enable the headers and columns
rsion of the TSEND_C and
TRCV_C instructions, select the version from
the drop
-down list. You can select the group
or individual instructions.