User Activity

  • Posted a comment on discussion General Discussion on Snap7

    If you don't have an empty PLC, ask the PLC programmer to skip OB1 for some minutes and connect your PC directly to the PLC PN Port.

  • Posted a comment on discussion General Discussion on Snap7

    Currently, it is set to 2000. Increasing it obviously improves the situation this is not good news, if at 2000ms you have more problems than 3000ms it means that, statistically, some transaction takes 2500ms, and this is unacceptable. In our high productivity lines we use Snap7 (of course ;-) ) and the maximum time we record is 500ms for a complete transaction (PLC->SQL->Feedback to PLC) in a wired network, more than that we cannot tolerate. 10/15 ms is the maximum time you should expect. Possible...

  • Modified a comment on discussion General Discussion on Snap7

    Hi Laura, These problems are also common in WinCC, it seems that they depend on the communication queues inside the PLC that have become very complex over time. You can act on the communication priority, but it depends on the use you make of your automation, it may not be the most efficient way. (In my opinion, the communication load should never affect the CPU cycle time) Or, as WinCC does, you can mask the problem: in case of TCP error, disconnect the client, then at the next turn of your communication...

  • Modified a comment on discussion General Discussion on Snap7

    Hi Laura, These problems are also common in WinCC, it seems that they depend on the communication queues inside the PLC that have become very complex over time. You can act on the communication priority, but it depends on the use you make of your automation, it may not be the most efficient way. (In my opinion, the communication load should never affect the CPU cycle time) Or, as WinCC does, you can mask the problem: in case of TCP error, disconnect the client, then at the next turn of your communication...

  • Posted a comment on discussion General Discussion on Snap7

    Hi Laura, These problems are also common in WinCC, it seems that they depend on the communication queues inside the PLC that have become very complex over time. You can act on the communication priority, but it depends on the use you make of your automation, it may not be the most efficient way. (In my opinion, the communication load should never affect the CPU cycle time) Or, as WinCC does, you can mask the problem: in case of TCP error, disconnect the client, then at the next turn of your communication...

  • Posted a comment on discussion General Discussion on Snap7

    Very interesting. Never tested in production with Windows 11. Can you send me, please the source code of your changes ? thanks (in "about me" in the site you can find the mail) or tou can contact me in Linkedin (Davide Nardella)

  • Posted a comment on discussion General Discussion on Snap7

    public static void DBRead() { TestBegin("ReadArea()"); int Result = Client.ReadArea(S7.S7AreaDB, DBSample, 0, DataToMove, Buffer); if (Result==0) { System.out.println("DB "+DBSample+" succesfully read using size reported by DBGet()"); } TestEnd(Result); } this function does not show anything, only reports ok or not ok. Please, if you are a programmer, look into the code ;) then, as I wrote, size reported by DBGET is wrong because uses an unsupported function. try this public static void DBRead()...

  • Posted a comment on discussion General Discussion on Snap7

    not all functions are available on TIA Portal CPUs (1200/1500), it's normal that you have that errors using the demo. Don't use DBGET because it first queries the DB size (using an unsupported function). Use ReadArea and WriteArea instead. Then, did you re-compiled (and re-downloaded) DB100 after unoptimized it? Into the editor are the variable address visible?

View All

Personal Data

Username:
davenardella
Joined:
2012-11-25 09:04:05
Location:
Bari / Italy / CET
Gender:
Male

Projects

This is a list of open source software projects that Davide Nardella is associated with:

  • Project Logo Settimino Arduino Ethernet library for communicating with S7 Siemens PLC Last Updated:
  • Project Logo Snap7 32/64 bit multi-platform Ethernet S7 PLC communication suite Last Updated:
  • SnapModbus 32/64 bit multi-platform Modbus communication library Last Updated:

Skills

This is a list of skills that Davide Nardella possesses:

  • Delphi/Kylix
  • C++
  • Assembly

Personal Tools

MongoDB Logo MongoDB