diff --git a/silecs-communication-cpp/src/silecs-communication/interface/communication/SNAP7Connection.cpp b/silecs-communication-cpp/src/silecs-communication/interface/communication/SNAP7Connection.cpp index d586594589deadcc13021bb212439e7a4f120c4e..5ff80558071f7653f2eed7b88f94870f35059118 100644 --- a/silecs-communication-cpp/src/silecs-communication/interface/communication/SNAP7Connection.cpp +++ b/silecs-communication-cpp/src/silecs-communication/interface/communication/SNAP7Connection.cpp @@ -260,7 +260,6 @@ int SNAP7Connection::writeIO(PLC* thePLC, unsigned long address, unsigned long o //DATA topic makes sense with SEND one if (SEND & Log::topics_) LOG(DATA) << "Write data, address: " << address << ", ofs: " << offset << ", byte-size: " << size; - Cli_ConnectTo(sendClient_, "10.11.34.77", 0, 2); err = Cli_ABWrite(sendClient_, (int)address, (int)size, (void *)pBuffer); checkError(thePLC, err, false); // close the connection, will try again at the next access }