User guide

1.4 Procedure when Using ERTEC 200 to Develop Your Own PROFINET IO Device
The DK-ERTEC200 PN IO development kit contains several CDs. A reference to these CDs is provided in
subsequent sections.
Procedure
How to Develop Your Own PROFINET IO Device Software Quickly and Easily
Step Procedure
1 Install the Tornado 2.2.1 development tools (Note1) on your PC (Section 2.8.1).
2 Install the NCM-PC configuration tool (Note2) or STEP 7 (Note3) on your PC (Section
2.4).
3 Copy the board support package for the development kit in the Tornado project
directory (Section
2.8.2) (Note4)
4 Copy the PROFINET IO application example and the PROFINET IO device stack in
the Tornado project directory (Section
2.8.4) and generate a downloadable
PROFINET-IO device program code (Section
2.8.5)
5 Configure the following tools:
FTP server (Section
2.8.6.1)
Terminal (Section
2.8.6.2)
6 Install PROFINET IO configuration example for CP1616 or CPU319 3 PN/DP:
Copy GSD file + bit map file (Section
2.4)
Copy configuration example (Section
0 or 2.6)
7 Download the example PROFINET IO device program and familiarize yourself with
the application example. Make your changes and adjustments in the application
example step-by-step and test them on the EB200 hardware.
8 a device with ERTEC 200 needs 3 MAC addresses:
one MAC address per Port for the neighborhood relationship (LLDP protocol).
one MAC address for the Device.
The Function „BSP_GET_MAC_ADR();“ is an example and must be changed with
your settings.
9 change the manufacturer specific identification for your device.
Example: usriod_cfg.h Æ RT = 1
change the manufacturer specific identification
in File usriod_main_rt.c
10 After you have successfully tested your software on the EB 200, adapt the example
program to your hardware and test the program on your target hardware.
(Note5):
Note:
1: This software requires a license. You can obtain this license from Windriver.
2: This software does not require a license.
3: This software is not included in the development kit and requires a license. You can obtain this software and license from
Siemens.
4: When testing the PROFINET IO device application on the EB 200, adjustments in the example program are normally not
necessary.
5: For your target hardware, adjustments are necessary in the BSP if you are not using the suggested „Minimum configuration
for a PROFINET IO device“ hardware or if your own drivers are to be linked. Due to the PHYs, please note the information in
the EB200 manual.
Copyright © Siemens AG 2008. All rights reserved. 8 DK_ERTEC200_PNIO_Description
Technical data subject to change Version 3.0.0