Every now and then I spent a short while or a few hours on it. Finally I got pyprofibus and pyprofibus-linuxcnc-hal within linuxcnc up and running.
I had some issues with pyprofibus but have not yet investigated all details, need to compare against git repository. Have not read git manual yet, anybody how which git command to issue to compare local commits against repository? There is one issue by running pyprofibus-linuxcnc-hal from within linuxcnc. Parameter "profibus.config.ready" need to be set and if done from *.hal file linuxcnc pyprofibus: LinuxCNC HAL module shutdown will shut down but if set manually from hal configuration command prompt it work, any ideas why? I could see the inputs are received from profibus device on command line but for some reason they do not show up in hal meter. For some reason the outputs are never turned on. I will try to find these small problems within a few days. This is very close to be usable and possible to communicate with standard profibus devices must really useful since millions of these devices have been sold. Regards Nicklas Karlsson On Sun, 5 Jun 2016 14:33:07 +0200 Michael Büsch <[email protected]> wrote: > Hi, > > I'd like to announce the first release of my LinuxCNC userspace HAL > module for PROFIBUS-DP. > It is based on the pyprofibus project that implements a PROFIBUS stack > in Python. > > https://bues.ch/h/profibus > > pyprofibus includes an example LinuxCNC project (linuxcnc-demo > directory) that connects LinuxCNC to an ET200S slave via HAL signals. > > pyprofibus can either be connected directly to LinuxCNC, or awlsim (a > S7 soft-PLC) can be put in between for additional signal processing > using an AWL/STL program. > > Feel free to experiment with this stuff. > I'd be happy if people try this on other PROFIBUS slaves and > find/squash some bugs in the process. > > Happy hacking and CNCing. > > -- > Michael ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
