The following sections describe the steps to configure a project that contains one PLC implementing PROFINET Controller Functionality and the SITARA AM64x based PROFINET device.
In the setup described in the diagram below a Siemens S7-1511C-1 hardware is used and connected to TIA Portal V16.
In this example it is assumed, you have TIA Portal V16 installed and setup correctly on your system.
Add a PLC to your project, in this example a S7-1511C-1 is used.
Verify that hardware and firmware versions matches the connected device.
Hardware and firmware versions can either be selected manually or detected via the network.
In case of hardware detection add an unspecified PLC to the project.
When in PLC Device View TIA Portal will show a unspecified PLC at this point.
Start the hardware detection for CPU in Online → Hardware detection → CPU from network...
The Hardware Detection for PLC_1 dialog will show up.
Select the network the PLC is connected to and click Start Search.
When detected the devices will show up, you can identify them when selecting the Flash LED check box.
Select the expected PLC and hit Detect in order to apply the configuration read back.
Note that the PLC device view has changed.
The unspecified device is replaced by the configuration read back from network.
Add the PROFINET device GSDML to the TIA Portal GSD library.
Open the Manage general station description files dialog by selecting Options → Manage general station description files (GSD).
Browse to the GSD location and select the GSDML file you want to import into the device library.
Click on Install.
Next configure the PROFINET network.
Enter the Devices & networks view.
Add a network to the PLC PROFINET interface.
Enter the Device Configuration dialog, navigate to PROFINET Interface → Ethernet addresses.
Click on Add new subnet.
Note a new network PN/IE_1 connected to the PLC in Devices & networks.
To add the PROFINET Device, you can run a hardware detection for PROFINET device from network.
In the Hardware detection of PROFINET devices dialog,
select the network interface the PLC is connected to and click Start search.
The detected devices will show up, select the expected ones and click Add devices.
When successfully completed, you will be prompted the message below.
In Devices & networks note that the device appears.
Once both, PLC and devices are added to the project, you can assign IP addresses to them.
You can do so in Online & diagnostics view:
In Functions, select Assign IP address and Scan for Accessible devices.
Select the PLC and click on apply, in order to select the device by MAC Address.
Click on Assign IP address to write the IP adress set in PLC Configuration tab.
Redo the same for the device and set an IP address in device configuration dialog.
Click on the device PROFINET port and drag the mouse towards the network PN/IE_1 to connect to.
On successful completion, the network will connect the two devices.
You are now setup to write your PLC program.