7/26/2021 11:02 AM | |
Joined: 5/16/2014 Last visit: 9/12/2022 Posts: 7298 Rating: (2145)
|
Hello Mussab, you could use any one Tag (i.e. Bit) of the connection, and read BOOL GetTagBitState(Tag Tag_Name, PDWORD lp_dwstate); see manual: https://support.industry.siemens.com/cs/ww/en/view/102777678/45877116427 Then can you check if the paramter lp_dwstate is 0x0000 (connection OK)
Georg Berghof |
PS: If this post did really help you, you may use the Rate-button |
|
7/28/2021 5:59 AM | |
Joined: 4/12/2018 Last visit: 5/17/2022 Posts: 9 Rating: (0) |
Dear GEORG BERGHOF, Thankhs for your reply, KIndly suggest something to monitor the clients whether they are connected or not using similar method. |
7/28/2021 9:03 AM | |
Joined: 5/16/2014 Last visit: 9/12/2022 Posts: 7298 Rating: (2145)
|
Hello Hello Mussab, you could use the option "Lifebeat Monitoring" from https://support.industry.siemens.com/cs/ww/en/view/102768374/12813164299 Regards Georg Berghof |
PS: If this post did really help you, you may use the Rate-button |
|
Follow us on