2/26/2024 2:52 AM | |
Joined: 3/28/2010 Last visit: 8/21/2024 Posts: 1052 Rating:
|
To simulate a Modbus device that is not available to you, use a Windows generic Modbus Server/Slave simulator on a PC with an Ethernet port. There's several apps that are licensed, but one open source. freeware app is Mod_RSsim, which can be downloaded from: https://sourceforge.net/projects/modrssim/ There's a web page that describes the basic functions of comm setup and loading the register cells with data values. https://hackmd.io/@quency/most_modbus_software A couple caveats. 1. When I went to run it, I had go into Windows Defender Firewall (enable applications) and enable 'public' networks for mod_rssim.exe, because the app would not run on my wired 192.168.1.x subnet with public networks disabled. I had enabled domain and private networks, but only when I enabled public networks did the app run through the firewall. 2. The Modbus master/client read 16 bit integer values from the Mod_RSsim app without any problem. But it read stupid values for 32 bit floating values (Holding registers). I haven't really spent much time trying to fix it, though. |
Last edited by: danw at: 02/26/2024 03:31:34 |
|
Follow us on