Sign in to follow this  
Followers 0
Ben22

FLL Instruction - RSLogix 5000

1 post in this topic

My problem is this:

I'm using a UDT Array to store and calculate scrap quantities for individual stations on our machines. Every lot I clear those arrays using an FLL. I Source an empty array of 500 elements (So I may use one array for my varying lengths of arrays to clear. None of them are greater than 500 elements). My instruction looks like this:

FLL

Source: Empty_Array_500[0].Count               (Count is a DINT) (Empty_Array_500 is a UDT[500])

Dest:     StationTag[0].Count                           (Count is a DINT) (StationTag is the same UDT[50] or UDT[32] depending on the station being referenced)

Length: 32 or 50                                                (Depending on the station, the length is 32 or 50 because the array tag for that station only needs so many array elements)

 

Somehow, after the FLL's for every station tag are completed, there are values left in some of my ".Count" in some of my arrays, but not all of them. I'd really appreciate some input on what I may be doing wrong or what to look out for.

 

Thanks!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0