Contributed design: 16 channel priority error handler



  • This is a block I put on every one of my Rexygen machines. It take binary error signals and prioritizes them, then picks a corresponding status value and string description of the highest priority error (stored in parameters) and sends them out to the hmi or email or texting function, etc. It handles 16 error inputs and outputs a bitmask for all active errors to allow further analysis of coincident errors. Finally, it has a masking function where the current errors are masked for a given time period but the system is still sensitive to new errors, essentially "could you please shut that alarm off!"

    I'm working on automated greenhouse designs and use text alerts to let me know what's going wrong. This block is essential to tell me what I need to do to react to error conditions.

    0_1584658023304_Error_handler.mdl

    0_1584658461787_Block properties 2020-03-19 16.52.07.png

    tent_task.Err_Ha.png



  • Hi Eric,
    thank you for sharing your subsystem.

    How about turning it into a library? See Chapter 4 of REXYGEN Studio User Guide.

    Minor personal note: I'd use the REL block instead of the CMP block in this case.

    Thanks again!

    Best regards
    Jaroslav


Log in to reply