How to add or assign modbusSlave ID more than one

Thank a lot Sir.
so, how about an example of making an arduino modbusSlave program? I have tried several programs, but I always fail. I want to make three analog inputs with three different addresses for the outputs. I use RS485 for output conversion.