|
|
4 jaren geleden | |
|---|---|---|
| .github | 4 jaren geleden | |
| cmake | 3 jaren geleden | |
| doc | 3 jaren geleden | |
| include | 3 jaren geleden | |
| samples | 3 jaren geleden | |
| src | 3 jaren geleden | |
| test | 3 jaren geleden | |
| .clang-format | 5 jaren geleden | |
| .git-blame-ignore-revs | 5 jaren geleden | |
| .gitattributes | 3 jaren geleden | |
| .gitignore | 3 jaren geleden | |
| .gitmodules | 5 jaren geleden | |
| CHANGELOG.md | 4 jaren geleden | |
| CMakeLists.txt | 3 jaren geleden | |
| LICENSE.md | 3 jaren geleden | |
| README.md | 4 jaren geleden | |
| options.h.in | 4 jaren geleden | |
| pnet_options.h.in | 3 jaren geleden | |
| pnet_version.h.in | 4 jaren geleden |
Profinet device stack implementation. Key features:
The RT-Labs Profinet stack p-net is used for Profinet device implementations. It is easy to use and provides a small footprint. It is especially well suited for embedded systems where resources are limited and efficiency is crucial. The stack is supplied with full sources including porting layers and a sample application.
Also C++ (any version) is supported for application development.
The main requirement on the platform is that it can send and receive raw Ethernet Layer 2 frames.
Features:
Limitations or not yet implemented:
This software is dual-licensed, with GPL version 3 and a commercial license. If you intend to use this stack in a commercial product, you likely need to buy a license. See LICENSE.md for more details.
The platform must be able to send and receive raw Ethernet Layer 2 frames, and the Ethernet driver must be able to handle full size frames. It should also avoid copying data, for performance reasons.
For Linux:
For rt-kernel:
An example of microcontroller we have been using is the Infineon XMC4800, which has an ARM Cortex-M4 running at 144 MHz, with 2 MB Flash and 352 kB RAM. It runs rt-kernel, and we have tested it with 9 Profinet slots each having 8 digital inputs and 8 digital outputs (one bit each). The values are sent and received each millisecond (PLC watchdog setting 3 ms).
See the tutorial in the documentation: https://rt-labs.com/docs/p-net/tutorial.html
Note that you need to include submodules when cloning:
git clone --recurse-submodules https://github.com/rtlabs-com/p-net.git
Some of the platform-dependent parts are located in the OSAL repository and the cmake-tools repository.
Those are downloaded automatically during install.
The p-net stack contains no third party components. Its external dependencies are:
Tools used for building, testing and documentation (not shipped in the resulting binaries):
Contributions are welcome. If you want to contribute you will need to sign a Contributor License Agreement and send it to us either by e-mail or by physical mail. More information is available on https://rt-labs.com/contribution.