Hello,
Is there any way through which error response of Modbus write ( using FC 05,06,15 & 16) can be captured at DPE level to display meaningful message to the user?
Currently on writing value to DPE it just throws error at log viewer.
Best Regards,
Amit Golhani
How to capture error during write in Modbus TCP/IP
- amitgolhani
- Posts:41
- Joined: Thu Apr 10, 2014 10:32 am
How to capture error during write in Modbus TCP/IP
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: How to capture error during write in Modbus TCP/IP
You can use Wireshark
- amitgolhani
- Posts:41
- Joined: Thu Apr 10, 2014 10:32 am
Re: How to capture error during write in Modbus TCP/IP
Hello Kilian,
Thanks but as mentioned I wanted to display meaningful message to the user. For analysis currently information can be captured using Wireshark log as mentioned by you OR WinCC OA log after applying appropriate debug flag.
In one of our application when I am trying to write some parameters and sometimes device doesn't respond to the Modbus query and I don't get write failed notification at UI level.
Best Regards,
Amit Golhani
Thanks but as mentioned I wanted to display meaningful message to the user. For analysis currently information can be captured using Wireshark log as mentioned by you OR WinCC OA log after applying appropriate debug flag.
In one of our application when I am trying to write some parameters and sometimes device doesn't respond to the Modbus query and I don't get write failed notification at UI level.
Best Regards,
Amit Golhani
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: How to capture error during write in Modbus TCP/IP
The internal Modbus device datapoint has an error element, but I do not think you can be sure that it is a result of a specific (write) function.