Most commonly used analog circuit simulator today
It is a MATLAB add-in that is easy-to-use and intuitive.
Using this program you can test communication with modbus slaves.