Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ReadClass() assigns all properties to 0 and false (SOMETIMES) #94
I use this method in my program in a loop to scan all datablocks in my PLC and update mysql database. I created a control panel for my client this way. It works 99% of a time. From time to time it scans all the properties to "0" and "false". The next scan usually is successfull and stupid values are gone. But problem stays in charts. If chart update time matches with failed (0/false) scan it stays in a graphical representation and it looks bad. There is no anomaly for a certain datablock. All failed reads are totally random.