Logging Bools



  • Hi All,

    I was just wondering what is the best way to log bools. I have 4 or 5 alarm states that I wish to log when they are active. But I don't wish to log them when they are not. Would the TRND block be best for this or would it need to sample at a high rate creating a large file.

    Cheers

    Mike



  • Hi Mike,
    for this purpose you should use ALB function blocks and the archiving subsystem of REXYGEN.

    Jaroslav



  • Hi Jaroslav,

    That's perfect thank you, makes sense now. Is there a way I can get the alarm into the HMI. Currently I am using the "simple logger" to show strings for some alarms in the HMI. Can I link the ALB blocks to this somehow?

    Cheers

    Mike



  • Hi Mike,
    unfortunatelly not. Simple logger is one possible approach. The other is to use RS flip-flop blocks in your task to show/hide alert messages or popup windows in your HMI.

    Kind regards
    Jaroslav



  • Ok, thanks Jaroslav.

    I'll use a combination of the ALB and what I currently have to achieve both. This way I'll get both live HMI and logged alarms.

    Cheers

    Mike