I downloaded the Windows version of awlsim. Its very impressive. Regarding the Profibus interface; Are you using a RS232/ RS485 converter to connect to the Profibus I/O block? Is the methods of configuring a Profibus drop documented some where?
I do Step7 programming but mostly in Lad/Ladder. I haven't tried it yet, but it appears that I could write a program in Step7, compile it and check it for errors and then export the source to your AWLSIM program and control Profibus I/O from a Raspberry PI, PC, etc ! Very nice! Thanks, Dave On 5/16/2016 3:43 AM, Michael Büsch wrote: > On Sun, 15 May 2016 19:33:03 +0200 > Nicklas Karlsson <nicklas.karlsso...@gmail.com> wrote: > >> Then trying to get raspi-profibus to work on an ordinary PC I discovered >> there is an awlsim hal module suitable for PLC programming. It would be good >> to know if anyone are working with awlsim? Or profibus right now? >> >> The raspi-profibus software is divided in two. The higher level is written >> in python and communicate with the lower levels implemented on an Atmel AVR >> via SPI. I have been able to replace AVR code with ordinary *nix system >> calls for UART communication. Data is coming out but no answer from real >> hardware, it is at exactly this point I got stuck last time I tried. > I am the author of these projects. > > I just want to note that "raspi-profibus" is end-of-life and its > successor "pyprofibus" is not split into Python and C anymore. It does > not use an AtmelAVR via SPI for data transfer anymore. > It's a pure Python implementation that already contains pure Python > code for a /dev/ttyS UART PHY. > So "pyprofibus" is not restricted to the Raspi and should work anywhere > (including an LinuxCNC/awlsim enviromment. But that was not tested, yet) > > https://bues.ch/h/profibus > https://bues.ch/h/awlsim > https://bues.ch/h/pilc > > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users