Applies To:
  • CitectSCADA 3.x 4.x

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

Solution:
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.

MS1001,1,1,1,0

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.

MS1001,1,1,0.ES

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..

MS1001,1,1,0.ES
MS1001,1,1,0.STA
MS1001,1,1,0.LIM

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

 

Keywords:
 

Attachments