103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
433
To create a PROFINET connection, click the green (PROFINET) box on the first device, and
drag a line to the PROFINET box on the second device. Release the mouse button and your
PROFINET connection is joined.
Refer to "Device Configuration: Creating a network connection" (Page 117) for more
information.
10.2.5
PLC-to-PLC communication
A CPU can communicate with another CPU on a
network by using the TSEND_C and TRCV_C
instructions.
Consider the following when setting up communications between two CPUs:
●
Configuration/Setup: Hardware configuration is required.
●
Supported functions: Reading/Writing data to a peer CPU
●
No Ethernet switch is required for one-to-one communications; an Ethernet switch is
required for more than two devices in a network.
Table 10- 31 Required steps in configuring communications between two CPUs
Step
Task
1
Establishing the hardware communications connection
A PROFINET interface establishes the physical connection between two CPUs. Since Auto-Cross-Over
functionality is built into the CPU, you can use either a standard or crossover Ethernet cable for the
interface. An Ethernet switch is not required to connect the two CPUs.
Refer to "Communication with a programming device: Establishing the hardware communications
connection" (Page 429) for more information.
2
Configuring the devices
You must configure two CPUs in your project.
Refer to "Communication with a programming device: Configuring the devices" (Page 430) for more
information.
3
Configuring the logical network connections between two CPUs
Refer to "PLC-to-PLC communication: Configuring logical network connections between two devices"
(Page 434) for more information.
4
Configuring an IP address in your project
Use the same configuration process; however, you must configure IP addresses for two CPUs (for
example, PLC_1 and PLC_2).
Refer to "Device configuration: Configuring an IP address for a CPU in your project" (Page 127) for more
information.