Variable Tags Generated via equipment editor updates

I have created a couple of equipment types in Citect 2016.

I do notice that when the tags are generated, all the properties in the tags are greyed out, which means that it cannot be changed. this is correct as we do not want to change the properties outside of the equipment editor environment.

however I noticed an inconsistency when i created variable tags off another equipment type, the system did not grey out all the tag properties (fields) of the other type (see below comparison between SFC_LP1 and SFC_BP04). not all the fields for SFC_LP1 are greyed out.

can anyone explain why? how can i correct this? 

Thanks.

  • I can't explain why this happened, but to resolve you need to adjust the xml file by using notepad++ for instance. Copy the line
    <field name="EDITCODE">1077412879</field>
    from one element from the correct equipment type to the 'wrong' equipment type, the Editcode in your xml can be different. Then save and 'Update equipment'. Good luck!
  • I see. but what does this edit code mean and how can we generate that if we are not using the equipment editor in Citect? I generated the equipment xml from the example project, changed some properties and imported the xml into scada.
  • If you look at the editcode in binairy mode 1077412879 looks like this 1000000001110000000010000001111. This is for the variable.dbf, this DBF has 31 fields. If the corresponding position in the binairy is 1, the field is greyed out. Have fun with it!
  • I believe it is supposed to work like this: every field that is defined in your equipment type, even when not filled (blank) should grey out in the variables editor.
    The mechanism for this is the value in the Editcode field, like Bas already explained. This is a bitmask value, but to my knowledge it is not documented which bit corresponds to which field of the variable.dbf.
    This editcode field is also present in dbfs for accumulators, alarm tags, alarm categories, devices, equipment, events, fonts, groups, labels, local variables, page menu, parameters, reports and trend tags.