User Activity

  • Posted a comment on discussion General Discussion on Snap7

    Hi Matthew, this looks like a python-snap7 (the python wrapper) problem. Snap7 is the core of it, but may not be the cause of your error.

  • Posted a comment on discussion General Discussion on Snap7

    Hi Chetan, first things first: snap7(then you are here right) != python-snap7(you would be on their github right). Anyway. Afaik snap7 and python-snap7 can't flash firmware to a PLC. but there are possibilities for block functions (upload/download a DB, OB ...) but just for S300 and S400 (see the docs). http://snap7.sourceforge.net/snap7_client.html#target_compatibility You may need to dig either in the snap7 code or take a look in python-snap7 about e.g. "block_type" and similar. Not sure how much...

  • Posted a comment on discussion General Discussion on Snap7

    You are here in snap7, not python-snap7: https://github.com/gijzelaerr/python-snap7/issues If you got further issues/questions you may ask there. Anyway: Have you checked and done what is written in the general Notes for S7 1200/1500? http://snap7.sourceforge.net/snap7_client.html#1200_1500

  • Posted a comment on discussion General Discussion on Snap7

    def ReadBool(db_number, start_offset, bit_offset): reading = plc.db_read(db_number, start_offset, 1) bool = snap7.util.get_bool(reading, 0, bit_offset) return bool This doesn't sound like C++ Code, more like python-snap7. Post your question on the Discussionboard on github : https://github.com/gijzelaerr/python-snap7/discussions/categories/q-a

  • Posted a comment on discussion General Discussion on Snap7

    Hey Dmitry, the message tells you that a client cannot access either due to "protocol not enabled" or DB optimized. Are your configs correct? http://snap7.sourceforge.net/snap7_client.html#1200_1500 What I can't interpret if this is even supported on S1200... but I can't test it myself at the moment :( http://snap7.sourceforge.net/snap7_client.html#target_compatibility

  • Posted a comment on discussion Bugs reporting on Snap7

    Just made the test and compared the contribution with the tool you recommended: It seems that these issues haven't been reduced, but other vulnerabilities and issues have been fixed (which seems to be unseen by flawfinder). Many lines of the isses are a warning, about easily wrongly handling functions, which isn't always a vulnerability.

  • Posted a comment on discussion Bugs reporting on Snap7

    Hi Marius, at the moment, there is a code contribution in progress to tackle (hopefully) most of these issues. I informed Davide about it today and guess there will be an update in near future. :)

  • Posted a comment on discussion General Discussion on Snap7

    snap7 != python-snap7 snap7 is the C++ brain part, while python-snap7 is just a wrapper around it. Please post your question here in the github discussions

View All

Personal Data

Username:
swamper
Joined:
2021-11-25 12:46:52

Projects

  • No projects to display.

Personal Tools