Reset Modbus counter

Check the Gateway console when you try to write 0 to that register, you ought to get a error message with some more information in it than “bad quality”. Copy/paste the entire error message here.