Fault on variable

Hi I have seen this fault 2-3 of times today.

If i delete the network it works often next time i try? Fault Variable

Hello Emil,

which Version are you using?
Does this happen randomly or did you observe any pattern to it?
for example after Revoking changes or something similar.
kind regards,
Oliver

Hi It’s 2020.1 I’m not 100% when it happens, but i was changing some networks, and added/changed one variable, to the samme name, as another variable.

i will see if i can reproduce the fault. i will let you know. -Emil

Hi Emil, you are not alone with this issue. I have seen it a few times too. in my case, a rebuild sometimes solved the issue. but not every time. And when you search for the variable in the xref, there it doesn’t show. Peter Paul

Hi Today it hampend again.

I was copying a program in a function block to a new code page. Then the fault comes again. It’s like it trying to make new variables, but the variable is already there. This time it looks like it’s only variables from a struct there is the problem.
So probably it’s trying to make new variables event they are existing in a struct there is called in the variables list already? (Now i see that it’s also normal bool variables there makes problem to.) - Emil variable fault

The funny is. now i tried to find a solution for the problem, and i deleted all the ladder lines in that program, and will paste it in to the worksheet again. But in the meantime i have cleared the clipboard. so i hit undo button instead. Now all are back again with out the faults … :wink: