Case Profinet
Case Profinet
Revision History
Rev. # Date of Name of person Description of Change
change making change
1.0 09/29/2018 MCD team Initial Version
2.0 02/13/2019 MCD team Add chapter "1.2How the application example works"
3.0
Unrestricted
1 Introduction
1.1 Overview
The following documentation describes the structure, machine model generation and
commissioning of the hardware-in-the-loop solution for Profinet communication protocol.
The following diagram shows the overview of the communication.
Note It is assumed that readers have knowledge about PLC setup and configuration, and operating
Mechatronics Concept Designer.
When setting up the Profinet communication between PLC and MCD, you need configure
the transfer areas. Those are the I/O areas over which the I-device exchanges data with the
higher-level IO controller. Here the address in MCD External Signal Configuration is map to
IO controller. And the PLC Tag Address map to I-device.
Unrestricted
1.3 Principle of operation
The following figure shows the operating principle of the application example. It is possible
to execute the various programs on different computers or virtual machines (VM).
Hardware PC / VM
PLC IO MCD
Device
Signal Mapping Signal Adapter
Formula
Unrestricted
between TIA Portal computer and computer which runs the “SIMATIC NET PCStation” in
download project or run the example) .
PC / VM Hardware PC / VM
IO Controller
192.168.0.10 192.168.0.20
192.168.0.11
c) Download PLC program: In Project tree, select PLC_1, then click Download to device
Unrestricted
3.2 Configuration in Station Manager
a) In Project tree, select PC station, then click Compile
c) Click Import Station, select PC station.xdb. (You can find PC station.xdb from TIA
project folder “.\Case_Profinet_PLC\XDB\PC station.xdb”)
Unrestricted
- In Profinet page, click Import Tags Information, select file “PLCTags.xlsx”
- Click OK
Note: In this step, if initial connection failed, you should make sure
PLC is connected to MCD computer/VM.
Profinet Configuration is correct.
Profinet is not initialized by another process.
d) Open signal mapping dialog:
- Type: Profinet
- UDP Servers: PROFINET(1)
- Click Do Auto Mapping, then signal mapping will be list under Mapped Signals list.
- Click OK.
Unrestricted