I am writing a chart to receive a TCP data string from a device that is turned on by an opto22 digital output.
When I try to open the communication handle, the OpenOutgoingCommunication doesn’t timeouts if the device is not responding (ethernet cable unplugged). This ends with the CPU not responding and I have to do a power restart. What am I missing here?
the code is:
sSidusComStr = “tcp:192.168.255.10:10002”;
Sidus_ComStatus = openOutgoingCommunication(chSidus_Port);
thanks for your help,