This chapter explains the usage of the PROFINET specific features of the Communication Creator.
...
Introduction
To start using port PNIO stack with own application one has to:
...
Generation of stack configuration file;
Generation of software model definition file;
Generation of device description GSDML file;
User assistance for each configuration setting;
Detection of common configuration errors;
Step by step configuration guide in form of task list.
...
PROFINET Projects
port PNIO stack configuration, together with software model, is defined as a single Communication Creatorproject. Using this project, the tool can generate appropriate code files. Working with PROFINET projects is analogous to working with otherIndustrial Communication Creator projects. If some aspects are not clear, please check help pages for common functionality:Industrial Communication Creator User Guide.
...
Project Type
User will be able to create and edit PROFINET projects if he has support for this protocol installed intoIndustrial Communication Creator application. One can check if that is the case, by opening About Dialog from Help main menu and checking if section Supported project types contains line "PROFINET (full version)".
...
Figure 40: Top Page for PROFINET project
...
Modules/Slots Page
Modularity of PNIO stack is represented in software model. Process interfaces are separated into Modules and Submodules, while addresses are represented as Slots/Sub-slots. Number and properties of these objects are to be specified by the user, with each new project being initialized with few example Modules and Slots as starting point.
...
Case b) can consist of multiple options (see Table 38) but the end of the command has to be always the full path of the project file. Options are separated by whitespaces and start with a double minus (--). The steps done by the commands are documented in the errorProtocol.txt file and after every command the project file will be saved. See chapter 25 for usage of options in commands.
...
Pre-/Post-Generation
It is possible to execute application-specific programs before and after generation. The commands can be entered about the Generation-block in the editor view > Pre-/Post-Generation Commands. The commands can be a shell-script or a batch file, or you can call an executable file, e.g. the GSDML checker, make all. The output of the command is written into the information file "errorProtocol.txt".
...
Generated files
goal_appl.c
goal_appl.c file is a C code file which contains structure definitions of application software model.
...
Specifies the soft- and hardware release of the Submodule.
...
Create a new Module
User can have much more Modules in his/her Software Model than the three ones predefined in new project template. One can add new Module to the model by selecting Modules editor block and using Create Object tool ( ). Sonderzeichen fehlt
...