Arduino MODBUS

Is it possible to use the ArduinoMODBUS library with another RS485 transceiver ?

Which RS485 transceiver did you have in mind?

Finally I successfully connected MAX485 and MEGA2569, but now I can't choose Serial2, only Serial. Is there such a possibility in the ArduinoRS485 library?

Does anyone have any idea how to change the Serial port number in the ArduinoRS485 library