Disabling a Setpoint on DCC

V13.3.1

PCSD-13.0.1

I have a device with multiple output states that I'd like to limit certain SP selections at certain times.  In Provox I could disable setpoints dynamically with code. Is there a way to disable the selection of a setpoint on a device in DeltaV with code in the background?

For example: Let's say the device is a fwd/rev conveyor. If certain conditions exist, I don't want the operator to be able to reverse the motor or even be able to choose the reverse SP.

Does anyone know if there is a PCSD module that can be adapted to this or maybe another option?

Thanks

Scott Brown

5 Replies

  • PCSD faceplate for discrete device have below animation for setpoint buttons on faceplate:

    Variable ‘pn_num_selections’ is calculated based on EDC/SP_D Namedset parameter states (operator selectable state in that Namedset).

    Changing operator selectable state in Namedset associated with EDC/SP_D is not possible online, so masking setpoint conditionally is difficult in code.

     

    Masking setpoint from faceplate is possible so operator cannot select that setpoint:

    Visibility animation for above mentioned groups in faceplate can be modified and ‘AND’ condition can be added that will reference Boolean parameter corresponding to mask/unmask that setpoint.

  • In reply to vmvmhatre:

    Thanks vmvmhatre for the response. Can you elaborate a little on how to mask SPs on the faceplate? Will those masks be added to the graphic on the PCSD Dynamo or does the std PCSD faceplate already have the hooks to mask out the faceplate groups from code? I didn't see where I could add animations on the graphic. Thanks
  • In reply to s_brwn:

    Database customization:

    Add Boolean parameters as shown below in Control Module class. Operate these Boolean parameters to enable/disable setpoint:

    Graphics Customization:

    Create copy of faceplate and do below customization:

    grpState1_: There will be no visibility animation for this group in faceplate as State1 is assumed default state in module. If requirement is to mask this state setpoint on faceplate then add Visibility animation for this group ‘grpState1_’ as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 2 AND DVSYS.@MOD@/ENAB_STATE1.F_CV

    grpState2_: Update Data Source of group ‘grpState2_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 3 AND DVSYS.@MOD@/ENAB_STATE2.F_CV

     

    grpState3_: Update Data Source of group ‘grpState3_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 4 AND DVSYS.@MOD@/ENAB_STATE3.F_CV

     

    grpState4_: Update Data Source of group ‘grpState4_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 5 AND DVSYS.@MOD@/ENAB_STATE4.F_CV

     

    grpState5_: Update Data Source of group ‘grpState5_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 6 AND DVSYS.@MOD@/ENAB_STATE5.F_CV

      

    Assign this custom faceplate to a control module instance and test functionality.

  • In reply to s_brwn:

    Database customization:

    Add Boolean parameters as shown below in Control Module class. Operate these Boolean parameters to enable/disable setpoint:

    Graphics Customization:

    Create copy of faceplate and do below customization:

    grpState1_: There will be no visibility animation for this group in faceplate as State1 is assumed default state in module. If requirement is to mask this state setpoint on faceplate then add Visibility animation for this group ‘grpState1_’ as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 2 AND DVSYS.@MOD@/ENAB_STATE1.F_CV

    grpState2_: Update Data Source of group ‘grpState2_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 3 AND DVSYS.@MOD@/ENAB_STATE2.F_CV

     

    grpState3_: Update Data Source of group ‘grpState3_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 4 AND DVSYS.@MOD@/ENAB_STATE3.F_CV

     

    grpState4_: Update Data Source of group ‘grpState4_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 5 AND DVSYS.@MOD@/ENAB_STATE4.F_CV

     

    grpState5_: Update Data Source of group ‘grpState5_’ Visibility animation as:

    PCSD_EDC_130_FP.grpSixState.pn_num_selections.CurrentValue >= 6 AND DVSYS.@MOD@/ENAB_STATE5.F_CV

    Assign this custom faceplate to control module instance and test functionality.

  • In reply to vmvmhatre:

    Thank you very much vmvmhatre. We will try this.