Menu

NetToPLCsim and not Siemens HMI (write function not work)

Help
2022-01-28
2022-01-31
  • Morris Esher

    Morris Esher - 2022-01-28

    Hi,

    I am trying to connect Weintek HMI to PLCSim (S7-1200) using NetToPLCSim.

    The Weintek HMI (Physics and Simulation) reads data from PLCSim but does not write changed data to PLCSim.

    The exchange goes through symbolic addressing and port 102 is used.

    If I start monitoring on NetToPLCSim, then the connection with the panel disappears.

    Perhaps you can tell me what could be causing this problem.

    Thanks.
    Regards.

     

    Last edit: Morris Esher 2022-01-28
  • Thomas Wiens

    Thomas Wiens - 2022-01-28

    Interesting that the protocol variant use is still supported. I've seen this only in the first variants of S7-1200 Plcs. I believe the Nettoplcsim monitor fails to decode these addresses.

    But if reading data succeeded, then may be writing also succeeds but the data is overwritten in Plcsim. What data areas do you want to write? Remember that if you want to write input %I0.0 to true, then it's overwritten by the virtual process image inside Plcsim.

     
  • Morris Esher

    Morris Esher - 2022-01-28

    The HMI writes data only to DB blocks.

    The process image (I and Q) is read-only.

    I can post screenshots from wireshark if that helps.

     

    Last edit: Morris Esher 2022-01-28
  • Thomas Wiens

    Thomas Wiens - 2022-01-28

    Yes, a wireshark capture would help. But at least it all depends on what Plcsim supports, as Nettoplcsim does not look deeper into the packets, only if you open the monitor window.

     
  • Morris Esher

    Morris Esher - 2022-01-31

    Thank you for your attention!

    I solved the write issue. I switched from character addressing to absolute addressing between HMI and PLCSim. Everything is working.

    The NetToPLCSim works great again.

    From Russia Regards

     

Log in to post a comment.

MongoDB Logo MongoDB