Skip to content

tukim-8pin/profinet-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

profinet-python

Minimal Profinet implementation in Python

alfredkrohmer#1 (comment)

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.

  • gira su python3
  • posso lanciare un discovery (sudo python3 main.py discover -i enp4s0f0)
  • posso lanciarlo anche su PLCnext ma richiede utente root (root@axcf1152:/opt/plcnext/profinet-python# python3 main.py discover -i eth0)

About

Minimal Profinet implementation in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.2%
  • HTML 11.8%