I was investigating the feasibility of exchanging our "soft_ai" composite for an Alarm Function Block, Andre Dicaire's extremely useful writeup. I think he makes some great points, and for my systems, i think an Alarm Block would be a great fit. The only missing piece is how to deal with the "simulate" functionality. A few parameters with an xfer block does the trick. I put all of these into a composite block. The "missing piece" is, how do I drive the BLOCK_ERR parameter either on a block in the composite (i.e. alarm block, dummy calc block, etc.) such that it flags the "simulate active" bit. If this bit is flagged on the composite, then I assume it will be flagged in the module that the composite is in.
This is important b/c the dynamos (developed by Emerson) key the "simulation active" bitmap off of the BLOCK_ERR bit that shows "simulate active".
Is it possible to force a bit on the BLOCK_ERR bit string? I tried using an expression using the [ STBT(integer value, boolean value, bit position) ] function with no success.
Anyone have any ideas?
In reply to Matt Stoner:
Thanks, Matt. I created my own "simulate enabled" parameter in my soft AI and I broke out a condition block that looks at a combination of "simulate enabled" and the BLOCK_ERR simulation bit. My animations will now point to the output of that condition block. What do you mean by selecting SOFT on a dynamo? I did not see that as an option on any of the built-in fshr dynamos? Are you referring to a dynamo that only comes with PCSD?
In reply to Alex Lutz: