shialun
I have a projecct now.OPENPLC RUNTIME is installed on my pc,scadabr is installed on pc virtualbox.now openplc runtime can communicate with modbus tcp IO module,using modbus tcp protocol.But the scadabr can't communicate with the openplc runtime.scadabr choose the modbus IP,and the IP is my pc's IP,the port is 502.now there is no any data in the scadabr.I don't know why.Please help me.Thanks 
Quote 0 0
John.Lee
Here is the topology I drew with your description, please check the IP setting in each place, hope it can help you a little.
111.jpg 
Quote 0 0
thiagoralves
What type of network are you using on your Virtualbox VM? If you’re using NAT, it won’t work. Also, I would check windows firewall, which could be blocking connections.
Quote 0 0
shialun
What type of network are you using on your Virtualbox VM? If you’re using NAT, it won’t work. Also, I would check windows firewall, which could be blocking connections.

Hello.
Thanks for your response.
I checked that the network was Bridged Adapter on my Virtualbox VM.The Virtual VM was installed according to the steps  on THE OPENPLC PROJECT.COM ,not NAT. And I closed the windows firewall.The VM and the Runtime were installed on the same PC.That's ok ? Then what any other reasons?Here is the topology.Is there any problem?
Quote 0 0
shialun
John.Lee wrote:
Here is the topology I drew with your description, please check the IP setting in each place, hope it can help you a little.
111.jpg 

Thanks!Here is my topology.The ScadaBR and The OpenPLC runtime were on the same PC,but ScadaBR was on the PC virtual VM.The IP of OpenPLC was set in ScadaBR.I have a question to ask.Is there modbus slave on the OpenPLC runtime?
Quote 0 0
thiagoralves
OpenPLC is already configured as a Modbus slave on TCP port 502. You can change that on settings. Your configuration seems correct. What is the error you’re having with ScadaBR? 
Quote 0 0
shialun
OpenPLC is already configured as a Modbus slave on TCP port 502. You can change that on settings. Your configuration seems correct. What is the error you’re having with ScadaBR? 

The error is which there is no data in ScadaBR or the data is 0.Because the OpenPLC was stopped,the ScadaBR was't refreshed.I think that maybe OpenPLC was communicating with ScadaBR,but the data was 0.Do you think so?
Quote 0 0