Ben22

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Ben22

  • Rank
    Newbie

Profile Information

  • Country United States
  1. I'm having an issue finding how to change the text color for the Timer, Preset, Accum words in the TON instruction window. I just changed my background to black on RSLogix 5000, and the blue color for those words is no longer visible enough against the black background, but I can't find the option to change their colors.
  2. This is the structure of the array in question: I looked into the possibility of filling the consecutive memory locations, but I'm not sure how it would work assuming the strings are next to it. Perhaps the strings are why the FLL is not working for this tag structure   Update: I was able to get it to work as needed. I removed the .Count from the destination array and it now works perfectly. I guess there's more to be learned about how to use the FLL instruction than meets the eye. Thanks for the help!
  3. That's what I'm trying to figure out right now. I'm about to watch the trend line on a .Count value that has a >0 value in it Update: I placed an FLL in an empty rung to verify no preceding logic could be blocking it, and I'm trending one of the array elements to see if it's being rewritten every cycle by something else in the logic. The trend line stays a constant value indicating nothing is even being written to it by the FLL.  Could it be that the FLL is not the right instruction for this function? I tried a CPS as well with no success.    
  4. 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!
  5. 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!