Modbus RTU Connect me 9210

I want to implement Modbus RTU Master on digi Module Connect me 9210. I am using libmodbus-master library but there is some connect failed error. Does anybody know how to implement the Modbus RTU master any sample code would be very great full.