Ignition/OPC tag write is overwritten, Logix, FBD

jds8086

Member
Join Date
Jan 2020
Location
Kansas
Posts
42
Hardware: 5069-L320ERMS2
Software: Logix Designer 35.11 / Ignition 8.1


Issue: When attempting to write to the tag "HMI_DRV200_DynamicTrim" in ignitition, the tag write returns "GOOD" but the value does not change. If i disconnect the OUT of the following AOI from the tag, the value will change when writing from ignition. To my confusion, disabling the routine (not calling it with JSR), will not allow the value to update via ignition. I assume i need to go about this differently and that there is no actual software issue, but I'm not sure exactly why the value does not change when writing.

kFE2dd1
kFE2dd1
kFE2dd1

F37Ysay.png





*EDIT* I've found that i can't ever change the value of the tag in Logix Designer itself unless i disconnect this tag from the AOI's OUT
 
The AOI output is a destructive instance of the tag. It will always overwrite any value you set from ignition.
 
The AOI output is a destructive instance of the tag. It will always overwrite any value you set from ignition.


That makes sense, but if that is the issue, then i am confused as to why if the routine containing this instruction is not being called, why is it still modifying the value? Also, why does setting the EnableIn bit of the AOI to false not keep it from writing to the tag?
 
FBD instructions are always enabled. Those bits are for ladder.

although you seem to have a custom AOI, so who knows what it does with the bit
 
Right click the AOI and view its logic.

You have something writing to that tag in more than one location.




Here is the cross reference for the tag in question. I'm not sure why it is calling the OREF destructive when that appears to be the only place it is modified from. Just for s&g, at the very last rung of the program i added some logic that would just add x amount to the value of the tag when a test bit was set, even this would not change the value of the tag (which i would have assumed if it was an issue of the tag being overwritten elsewhere, this should have "won").






CO9Tgx1.png
 

Similar Topics

I would like to be able to backup and restore the values of my opc tags. Ideally I'd like to store them as XML or JSON. I have tried the tag...
Replies
8
Views
2,981
Can Ignition be used to serve historical data to a third-party historian client? The documentation says that Ignition can be used as an OPC UA...
Replies
3
Views
4,466
Hi I'm very new into this, but also very keen to learn new stuff. I'm currently practicing on a test setup with a few DI and DO's. I would like...
Replies
5
Views
3,700
Hi, I have questions. I have Analog Input that need to put into Ignition Designer. But I don't know how to put?
Replies
1
Views
119
Hey guys. We've been learning Ignition and going through all the courses on Inductive University. I really like the software and the things you...
Replies
20
Views
1,155
Back
Top Bottom