Communicating with a drive using modbusTCP

The error happens when the UPButton is pressed