ganutenator
Lifetime Supporting Member
Here's a really stupid error that I made the first time I used TIA. It will absolutely allow you to assign multiple things to the same bit.
For example I'd written a program that used say M10.0, but also had a real/double word value that was assigned to MD8, which takes up MB8, MB9, MB10 and MB11. As my value was changing, M10.0 was seeminly doing whatever the hell it wanted as that bit was encompassed in the MD8 value. Then I found the assignment list and realised what an idiot I am.
Nevermind Bubba, everything makes sense when you write it. When you come back to it two years later you'll wish you'd kept it simple.
Yes, but very easy to do. Especially easy to do w/ 'some' plc's more than others.
Quick story:
I don't remember how the conversation started. Just going to presume I said something like: "It's cool that all of the orrifice plates are the same".
customer: wtf?
me: they are all using the same constant in the program.
Apparently the customer had been driving to each of them in his service truck, correcting the program at each one and moving to the next one.
But, the customer was unaware that each site was using the same %MW/4x/located memory on the variable.
Worse: They were reporting the data to a college university that was studying the data.
Only he and I know that all those years, California University was studying bad data.
P.S. Totally unrelated to this post, but if anyone knows someone that was studying Aera Energy Automatic Well Testing oil data before 2005, hint hint.
Last edited: