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

this project is interesting #2

Open
lorenzofattori opened this issue Aug 27, 2019 · 1 comment
Open

this project is interesting #2

lorenzofattori opened this issue Aug 27, 2019 · 1 comment

Comments

@lorenzofattori
Copy link

this is a nice project, I work with profinet and I have access to a lot of documentation and I'm trying to learn python... can I help you in some way? let me know!

@DaCookie4u
Copy link
Owner

DaCookie4u commented Aug 30, 2019

Hey, I haven't been working on this for a long time, since I had a lot of work and didn't put up the energy to work on the DCE-RPC part.

If you want to help out I would be more than happy. I would love to see my Raspberry running as an OpenSource ProfiNET IO-Device.

What has already happened:
Assigning a device name via DCP is already working. The daemon will also answer any discovery request. It will prohibit setting the IP via DCP with an (correct?) error message.

What is missing:
After discovery of the io-device by the plc, the plc will need to connect to the DCE-RPC server running on the io-device. That part is completely missing up until now. I was too lazy to reverse engineer this via wireshark.

There are not many settings needed in the first steps, but it needs to be implemented.

Edit: If you want to help out, that would be the part that needs major work at the moment. I am also not a professional programmer, so I am open for everything. I thought to build this as different python modules.

You will see a pniodce folder, which contains a basic tcp-server for the first connection. This server needs to fork a "per connect request" server, for further setting up of the profinet parameters.

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

2 participants