Hi, I just tried to get the DateTime of the PLC - I used the GetPlcDateTime function from Sharp7 as a template. My function looks like this: int S7Client::GetPlcDateTime(tm *DT) { uint16_t Length; LastError = 0; // Setup the telegram memcpy(&PDU.H, S7_GET_DT, sizeof(S7_GET_DT)); if (TCPClient->write(&PDU.H[0], sizeof(S7_GET_DT)) == sizeof(S7_GET_DT)) { RecvISOPacket(&Length); if (LastError == 0) { if (Length > 30) // the minimum expected { if ((PDU.H[27] != 0x00)) { *DT = S7.GetDateTimeAt(&PDU.DATA,...
I'm running it on Win10 x64 - compiled as x86 app Cheers, Stephan
Did You try using _plcConnection.freePointer(); _plcInterface.disconnectAdapter(); btw - I only close connections on error... Cheers, Stephan
ok, sorry - smn just told me that it is 'virus_scan' (clamd)
Hi, what do You mean with 'service'?
Can't open audiostream via http playlist (.pls)