• Not Answered

Algorithm Error / Component Error Debug

Hello everyone,

I have a PAS module containing some parameters, composites and blocks. Two of the composites are  referencing some SIS parameters.At module level I get Algorithm error and Component Error but in online mode I don't see any question mark on any of the blocks and also I checked all blocks and couldn't find any ABNORMAL_ACTIVE, BAD_ACTIVE or BLOCK_EROR, they all look OK.

I don't know how to track this problem. The functionality of the module is working OK but I get BAD_ACTIVE alarm and it is enoying, Any suggestion ?

DeltaV version is 11.3.1 build 4256

 

Thanks

2 Replies

  • Been a long time since I've done this kind of debugging. Control Studio can update too slow to show a question mark at the failing function block.
    The trick I used was to 1. switch to debug mode in CS. 2. Stop execution of the module. 3. Then use the execute single block button to go through the whole module block by block. 4. Wait after each block to see if MERROR or BAD_ACTIVE becomes non-zero.
    This option will also drill down into composites as the problem might be on that level. Sometimes you have to go through module a couple of times to find the error and can be at the start of the module during reading the input-parameters. Debug mode itself can trigger the MERROR so disable it in the mask.
  • Nice hint, Robert – thanks a lot!  I never think of executing a module one block at a time – this will come in very handy!
    Steve Elves
     
    Steve Elves | Control Systems Tech.