Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profinet Documentation #1

Open
cholletisaik777 opened this issue Jun 24, 2016 · 11 comments
Open

Profinet Documentation #1

cholletisaik777 opened this issue Jun 24, 2016 · 11 comments

Comments

@cholletisaik777
Copy link

Hi

I came across your repository while searching for profinet implementation on Sitara TI micro controller.I went through your code.

I am able to understand individual parts of the code,but as a whole I could not understand the flow of the program.

I could not find proper documentation to implement profinet on Sitara. Could you please suggest me some good resources to implement profinet protocol.

@alfredkrohmer
Copy link
Owner

alfredkrohmer commented Jun 24, 2016

Hi,

I learned a bit about and did some practical work with profinet at university and I just googled/asked the tutors for most, but that was almost a year ago; so I won't be of much help here I suppose :)

For the program itself: it basically contains a command line interface (main.py) and a web GUI (server.py) that can be used independently; you should be able to run the web server with python server.py -i eth0 (or whatever NIC you are using). protocol.py contains the description of the different profinet packet types; dcp.py and rpc.py contain the implementation for the DCP and RPC privimites, respectively. I think you need to consult the profinet documentation to find out what exactly they are used for.

@hsch0
Copy link

hsch0 commented Jul 23, 2016

is this repository to create a PROFINET Slave or Master?

@alfredkrohmer
Copy link
Owner

Neither, it's mainly for discovery of Profinet devices on the network and for reading and writing some basic information about them via RPC.

@bovi
Copy link

bovi commented Apr 25, 2017

@devkid may I ask what kind of license you put your code under? I can't see any standard license description in the documentation.

@alfredkrohmer
Copy link
Owner

Assume this one.

@bovi
Copy link

bovi commented Apr 26, 2017

@devkid thanks for the fast reply! Interesting License, didn't even know it exist (-;

@go1312223
Copy link

@devkid Excuse me,I don't know much about it how to start this program.I try to type python server.py -i eth0 and it sends a packet,but I don't know next step what to do.Should I use main.py to let the web be changed?
Could you please suggest me some example commands or step to use this program?I want to use wireshark to observe the behavior and frames.Please teach me if you have time.Thanks a lot.Orz

@alfredkrohmer
Copy link
Owner

@go1312223 I summed up the general usage in this comment. Note that this is not a full "program", but a merely a dump of some scripts. Please don't try to use the code "as-is" but at most as examples on how to get going.

I do not intent to put more work into documenting this.

@ezditto-dio
Copy link

@devkid can you help a bit more with the usage? I'm trying to figure out how to create a test mode using a virtual machine

@shrutifiske
Copy link

@devkid Can you please add documentation.

@Nemos
Copy link

Nemos commented Jan 13, 2022

@alfredkrohmer Can you please add documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants