Sounds like you are writing a location that the drive is unhappy about.
I am only writing to two addresses. It gives a maximum of three errors before a success. I am not counting successive successes or I should say summing successive successes. I love alliterations.
Is there a reason that you aren't using the Ethernet I/O function to control the drives? It should be much easier.
That's the way I've always done it.

The other reason is that I think I read that the PLC will drop out of run mode if it looses communication with an attached device. While I prefer this with remote IO, I do not like that idea with a drive.