Modbus TCP master library

Yes I have enabled it.

Does the -10 result in the res variable mean anything to you ?

Also is this

if (modbus.read() == -1)

universal for all modbus devices or specific to yours ?