Applies To:
  • CitectSCADA 3.x 4.x

I am a little confused as to how to use Bailey Module Status tags in Citect. More information please? 

When reading module status information, you have a couple of options. First, you can access the entire 32 bit data word and then reference it however you want via cicode. That is you can read the whole thing up as one tag then use bit operations to break out relevant flags. However, I'm not at all sure which bits mean what. Anyway, to do this, use the standard syntax but omit the "mandatory" qualifier.


This would be typed as a long.

In this case I have numbered the block as zero; I suggest you number all irrelevant parameters zero. The index number I have used is arbitrary. It can fall anywhere in the range between 1 and 10000 I think.

Your other option is to refer to specific flags by tagging them separately and as digitals. So you could define a tag as follows.


This would be typed as a digital and when true would indicate the presence of errors in this module. Other tags referencing the same module would be defined as separate tags (included in the Citect point count) but you should use the same index number for tags referring to the same module. So others would be..


or whatever. This now counts as three tags, but you don't have to use up three index numbers, only one.