studio5000 AOI In/Out counters get trash data

JGax

Member
Join Date
Nov 2013
Location
Mexicali
Posts
28
Hi
Hope you all are doing well.

Iam working on a project with some AOI. I also hate no online edits... lol.
My problem occurs when I use a UDT that contain as element a Counter[3]. this counters are used inside AOI and don't work.
The counters shows values that are changed alone and seems like trash data. The counters are not used on any other piece of code. just have the UDT as aIn/Out parameter on the AOI and the counter[3] is part of the UDT.

Have any of you experience similar behave on AOIs?
Any solution?

Thanks in advance.
Jesus
 
Might be the tag of that udt type used in multiple places. Cross reference the tag at the in/out interface.
 
My SWAG: inside or outside of your AOI, you have a COP (like COP MyCounter[2] AOI.Counter[2]) that has a bad Length (i.e., not 1), and so is copying "junk" data (the memory following the end of "MyCounter[2]") into other registers past AOI.Counter[2] and thus into Counter[3].

But that's a blind stab in the dark. It'd be helpful to actually see your code.
 

Similar Topics

Existing environment shown in attached photo (Existing.jpeg) Proposed Environment shown in attached photo (New.jpeg) I am migrating a PLC5 system...
Replies
0
Views
590
Hi guys, Making a bunch of AOI's for company and I was wondering if there was a way to make them pre-populate their input requirements with the...
Replies
5
Views
2,355
I am curious why my latches do not work and maybe someone here has some insight. I have created two AOIs. One AOI latches an output on (ON)...
Replies
5
Views
1,797
Hi, just wondering if anyone has made an AOI that would generate a permissive from a selectable number of true inputs from say 8 discrete inputs...
Replies
1
Views
1,088
Hi all one question about Logix5000 and AOI: normally I work with Siemens, and I use FBs with multi-instances Now I need to transpose the...
Replies
8
Views
2,700
Back
Top Bottom