Command Driven Algorithm Steps Don't Complete

Are command driven steps ever supposed to complete? I'm working on a command driven SFC now, and when the SFC gets to the Termination (expression is "TRUE") it just remains on the last Step and the Command Step is forever Running. Am I missing something?

  • You may just need to download the module. In the SFC diagram it shows T3 = False while in the Expression dialog it shows T3 = TRUE.

    It is probable that T3 downloaded value is False but someone may have changed in Control Studio offline mode to True without downloading.
  • In reply to Neil Castro:

    Yeah, I noticed that as well. It is fully downloaded. I wonder if this is a bug in 13.3.1 or expected behavior? Thanks for the replay.
  • In reply to JoshC:

    I tried this in v12.3.1 and did not see the issue. Is the module downloaded to a controller or workstation? There is a possibility that you may have encountered a bug in v13.3.1.
  • In reply to Neil Castro:

    Interesting. I'm running it on a Simulate workstation. I wonder if it would behave differently on a controller. When I find time, I'll try on different versions of DeltaV.
  • In reply to JoshC:

    I also see you have a branch prior to coming to the last step because of the double horizontal line. I don't think it should come into play, but I'm just curious, is the step on the other path also active?
  • In reply to Matt Forbis:

    Great question. No, it is an inactive (ACTIVE = False) step. I don't know if this is relevant but the Module level parameter "ACT_TRANS" shows "T_FINAL,T_OUT_00002". Not sure why it would indicate two active transitions. The second one seems to correspond to which command is Running (i.e. 00000,00001,00002,etc.).
  • In reply to Matt Forbis:

    Kudos Matt. Your question got me thinking. Once I deleted the double branch, the SFC completes as expected. The solution is to use two terminations (one for each step) rather than connecting two steps to one termination. Thanks for the help! I've been scratching my head over this for a long time.
  • In reply to JoshC:

    There is an internal SFC that controls the execution of each command that I believe the ACT_TRANS parameter is pointing too. I'm glad you got your issue sorted out!