If you suspect that you're experiencing EMC issues, this is a method used to identify intermittent communication failures on Hiperface DSL®.
Step 1 - Enable the Counter
The first thing to do is to enable logging certain events within the Workbench terminal.
Step 2 - Run the Script
Paste the following into a Workbench Macro and run it.