Mac9010 Posted June 5, 2022 Report Posted June 5, 2022 Hi there. I have a problem with a data table. I adquire the values of some variables in real time (presure and temperature) . and those are saving in a data table to after going to be printed. But sometimes my program save the last parameter with another "time" Example is the here the las rung has a diferent time. the time should be 3 minutes after of the last rung. It is a no repetible o predictible problem... sometimes it ocurrs and here is a correct data table. i am programming with unilogic 1.29. I hope that someone could help me with this issue. thanks in advance.
MVP 2023 kratmel Posted June 5, 2022 MVP 2023 Report Posted June 5, 2022 I looked at your question and said to myself: I have already seen something similar on the forum! A little search ... Regarding the problem - you must understand that other times in the report are possible under the following conditions: 1) the event really happens at this "wrong" time; 2) the program code has the ability to read time from an inappropriate source - ie not from the RTC, but from another place; 3) time is calculated according to timer readings and RTC is not taken into account; 4) something bad is happening in the process of communication between the Panel and the CPU (where exactly the RTC is located). By the way, you did not specify the type of PLC you use.
MVP 2023 Ausman Posted June 5, 2022 MVP 2023 Report Posted June 5, 2022 I was just about to write Kratmel's Point 1. To me it looks like your row 13 is occasionally not being written to correctly, if at all, resulting in a previous reading still being there. Have you compared previous tables to see if there is a match? Are you fully clearing the data table before each new write? If not, do some programming to make this happen, and then see what happens. If row 13 then occasionally appears as empty, that is a good pointer to the issue. cheers, Aus
Mac9010 Posted June 7, 2022 Author Report Posted June 7, 2022 Thanks for your coments i AM going to check this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now