Extremelly Urgent

I have a problem with a client that has multiple CPUs T103 and T940.
After a system crash from the power plant on 26/12/2021, T103 no one monitors a few more types of blocks, now try making a new download, and the problem continues, we changed the new CPUs in stock, but not solved keep to monitor without same blocks as if they did not exist in strategy.
Has anyone seen a similar problem?
How can I solve this, they are blocks of Logic, select, condition and timer, lika the pictures attached.
Could you please answer this post as soon as Possible, I'm in the customer's plant and need a solution.
thank you
1 person has
this problem
+1
Reply
  • Ian Roughsedge (Product Manager - Systems) April 08, 2013 21:11
    The logic block you focus on shows the Sofware alarm raised. I notice that the EDB_DIAG block also shows the Software alarm but you do not highlight that. It is likely that there is a common failure mode.

    You are lucky that the DB_DIAG block does *not* show the software alarm and so appears to be communicating. Looking at this block we can see that the Featt (From External Attachment) resource is all consumed (lef hand colum is 'used' count, right hand column is 'max' or 'allocated' count). When used=max for any resource then there are no more spare resources of that type.

    In order to cache a block from a node there must be free Featt resources and you have none left. You can find out about these resources in the LIN Blocks Reference Manual Appendix B THE LIN APPLICATION LAYER (that is the location in the latest manual, I guess you may have an older version of the manual on the customer system but I recall the appendix may be the same).

    The LINtools monitor function (and the LINtools online connect in later versions of the LINtools software) work by caching blocks exactly as controllers cache blocks for the peer-to-peer comms function.

    The reason the I/O and 'main' blocks like PID, Mtr3In, AN_ALARM are mostly working would normally be because they will be in alarms groups and so will be cached automatially by workstations at system start up. The logic blocks are unlikely to be cached automatically by the workstation and so rely on free resources. It is likely that you do have some other blocks in alarm groups that have also fallen victim to the lack of Featt resorces, although this would be more obvious as these are visible in the alarm lists as 'LINcomms' alarms.

    I did not design the system so cannot comment what the correct set up should be,but I think for a short term measure you should consider increasing the Featt count. I will add a post below that gives an overview of how you might do that.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Ian Roughsedge (Product Manager - Systems) April 08, 2013 21:35
    If you need to increase the Featt resource allocation then this can be achieved by adjusting the properties of the DBF file at the engineering workstation. After editing the resources, you will need to download the DBF file again. You need to be careful when doing this as you can create configurations that will not load.

    As you increase the Featts you will consume more database RAM. We can see from the DB_DIAG block above that you have spare RAM at MaxDBSiz=65535 and DBSize (used) = 58340 so you have 7195 bytes free.

    You do not say what version of T92x processor you have, but i think a Featt was always 22 bytes (from my memory). So adding 10 Featts would use 220 bytes.

    If there is no access to original design information then it is hard to say what the correct Featt allocation should be. I can say that the figure above of 284 looks like a non-default value and so it appear it has been edited before.

    Have you made changes that affect the expected numbers of cached blocks e.g. added a server or historian server direct? If so, how many do you expect to have been added or deleted and hence how much should the Featts for this T103 have changed?

    As you will no doubt not want to download too many times to the controller if the plant is running, then why not aim to add about 50% to the Featt allocation. that would be a change from 284 to say 420 Featts and use I think 140*22=3080 of your spare RAM bytes.

    In Windows explorer view of the file system, right click on the DBF and select Properties. Then select the LIN Database tab. You will see something like below, simply type in a new Featt allocated figure. Do not be tempted to change anything else or to set the checkbox 'use exact allocation' as this will mean you have to start managing all the other database resources by hand too. You only need exact allocation if you have no RAM left and you still have a few thousand bytes.

    You will always see Featt allocation=0 at the PC workstation if it has never been edited as suggested here. This is because the Featts represent block cached FROM (Featt) a databaes and block are never cached FROM a database at configuration time. Normally the Featts do not get allocated until the DBF is lodaed and the controller normally picks the maximum of the value from the file and its own default maxima. The default maxima for the database resources are usually stated in the specifications section of the product manual.

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Ian Roughsedge (Product Manager - Systems) April 08, 2013 21:37
    I did not understand what you meant by "After a system crash from the power plant on 26/12/2021"

    Crash is sometimed overused, did you mean thay you had a power failure?

    Was "26/12/2021" a date, it is in the future!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I will now to customer plant and try your solution, I post soon if works fine! thank you for While
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Ian Roughsedge (Product Manager - Systems) April 10, 2013 13:04
    I am pleased you have solved your problem. I am not sure if you are still at the customer or not, but if you are, it would be a good idea to do a quick Audit of all the DB_DIAG blocks for each controller to make sure you have no similar, but perhaps as yet hidden problems.

    And, do take a look at the "LIN Blocks Reference Manual Appendix B - THE LIN APPLICATION LAYER" mentioned above! It will help you understand Featts, Teatts and EDBs.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Ian Roughsedge (Product Manager - Systems) April 10, 2013 13:08
    It is worth noting in this thread that the newer LIN products (e.g. T2x50) have a much larger DBSize and a higher allocation of resources (including Featts) so probelms of this sort are a lot rarer with the modern LIN products.

    And on the subject of newer products, the T10x product is now quite aged and many are being upgraded to T2x50. This may not be of immediate concern to your customer but it may be worth looking ahead so you can both budget ahead for the time and cost associated with an upgrade project.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated