You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that the device is offline but the modbusClient.Connect() method doesn't throw an exception & modbusClient.Connected returns true.
Here's the sample code
string modbusIP = "192.168.200.16";
int modbusPort = 502;
modbusClient = new ModbusClient(modbusIP, modbusPort);
modbusClient.Connect();
bool isConnected = modbusClient.Connected; // I expect this line to return FALSE as the device is offline. Not sure how it is able to establish connection.
Please advise.
The text was updated successfully, but these errors were encountered:
I am using EasyModbusTCP, Version 5.6.0
I know that the device is offline but the modbusClient.Connect() method doesn't throw an exception & modbusClient.Connected returns true.
Here's the sample code
Please advise.
The text was updated successfully, but these errors were encountered: