I am trying to connect siemens s7 plcsim advanced (virtual ethernet adapter) as OPC UA connection. but the following error is coming.
UaException: status=Bad_Timeout, message=io.netty.channel.ConnectTimeoutException: connection timed out: /192.168.0.10:4096
Hi,
To connect S7 PLCSIM Advanced is as just the same as connecting any Siemens PLC. Just create a new device using Siemens S7-1200 or S7-1500 driver and put the IP address from PLCSIM and it should work fine. I'm also using PLCSIM Advanced for my simulations.
AFAIK the PLC Sim Adv. can only simulate OPC UA without Security ("None" Policy)...
Did you set OPC UA server in your hardware config before upload to the PLC SIM?
Take a look at THIS...