Is there a way to edit EDC/STATE_MASKS.(number of states) using bulk edit?[SOLVED]

When trying to bulk edit EDC blocks, it does not seem possible to edit the number of states within the STATE_MASKS parameter.

The only parameters that are accessible are STATEIN0..5 and STATEOUT0..5

I feel this is a bug to submit to Emerson.

Does anyone have a suggestion of how to effectively change 500 modules when all other changes except this one can be bulk edited, and we need to change the number of states from 3 to 4?

In FHX this parameter is called NSTATES. But we are unable to access it via watchit, OPC, etc.

Thanks!

3 Replies

  • Hey Mr Grubweiser!!

    The parameters need to bulk modify are not exposed by default but you will need to manually modify your format file. Add the the following parameters assuming your EDC is named EDC1

    EDC1$STATE_MASKS.STATE0_ENB,
    EDC1$STATE_MASKS.STATE1_ENB
    EDC1$STATE_MASKS.STATE2_ENB
    EDC1$STATE_MASKS.STATE3_ENB
    EDC1$STATE_MASKS.STATE4_ENB
    EDC1$STATE_MASKS.STATE5_ENB

    the "Is a a string parameter" type will need to be Set to T for each one.

    When you export the values, all be 0000. change them in the import to Either "T" or "F" based upon whether you need to need that state enabled.

    the Nstates will be calculated from the enabled state.

    give me a shout if you want to discus further.
  • In reply to Richard Bruce:

    Hey Richard! Thanks for the undocumented solution and very nice to hear from you! What a small world. I look forward to trying this out and will update if I get stuck.
  • In reply to Richard Bruce:

    Hi Richard. Thanks a million! The exported values were "X000" rather than "0000", but I followed your directions exactly and it worked perfectly.