User Activity

  • Posted a comment on discussion Bugs reporting on Snap7

    Thank you, I thought the function Connected() was handling a request to the PLC to check the connection status. I was able to work with no issues using by monitoring the status of the PLC. Thanks again

  • Posted a comment on discussion Bugs reporting on Snap7

    Hello everybody. I am experiencing issues on the Client->Connected() function on a s7-1500 CPU. Using the bleow piece of code: while (!TerminateCondition()) { if (Client->Connected()) { PerformDataExchange(); sleep(TimeRate); // exchange time interval } else if (Client->Connect()!=0) sleep(10); // small wait recovery time } I am able to connect and read without any issue. When I unplug the ethernet cable from the CPU, the Client->Connected() keeps returning true value, so it does not recognize that...

View All

Personal Data

Username:
m2dfe3
Joined:
2016-09-26 15:59:35
Location:
Milan / Italy / CET
Gender:
Male

Projects

  • No projects to display.

Personal Tools