The network comms in Codesys is ... magical to point of insanity. I would start with monitoring traffic with Wireshark or similar in order to see the traffic flow and which end is closing the connection. You're about to become very familiar with TCP/IP and associated technologies πππ
3.5 SP15 Patch 3 32 bit.
On any preemptive multitasking system you will still have a race condition unless the operation of getting the data is an atomic operation. So you still end up with a need to address this race condition.
Greetings Just purchased a license and installed the SVN, profiler, and static analysis packages. According to documentation there should be some new menu options, but none of them are present. Anyone have a similar experience? Any input is greatly appreciated. Thanks Vic
If I remember correctly, I wrapped the methods and put a giant lock/semaphore around the system calls.
Good afternoon I have an application with several tasks that utilizes the SysTimeRtc* family of functions. The initial problem I encountered was that the SysTimeRtcConvertHighResToLocal function would not properly convert the UTC time to local time. The converted time that was being returned was always for the UTC time zone. During the debugging process I discovered that the SysTimeRtcGetTimezone function was returning the timezone as UTC even though the PLC was properly configured with the appropriate...