Communicating with a drive using modbusTCP

Without your wiring diagram, I would guess that you are creating a dead short from power to ground.