I am trying to simulate a Modbus RTU communication between a Arduino Pro mini slave and a Modbus master simulation software in Proteus.
I am using the simplemodbusng library and actually I just try to read any holding register with QModMaster or ModbusPoll.
I am using VSPE and tried it by directly connecting COMPIM to RX/TX, via MAX232 and also via MAX232 and MAX487.
Somehow it always runs into a timeout when requesting the holding registers.
It was already running connected physically to my FHEM Modbus master, but I would like to simulate it with Proteus using a virtual serial port and a Modbus test sw.
Can anyone please show me how to successfully test a Arduino pro mini as Modbus RTU slave under Proteus using a virtual serial port and a Modbus test SW?
I use the real hardware when I am at home, but actually I am on a business trip, and with the simulator I can test small changes or play arund with the modbus communication when I am abroud and also in the plane.
If it works exactly as simulated I will see whem I am at home, but actually it is enough to get a little bit familiar with the modbus protocol.