Applies To:
  • CitectSCADA 5.42r0 or earlier
  • CitectHMI 5.42r0 or earlier

Summary:
There are some modes (types) for the PageInfo Cicode command that are not listed in the Online Help if you are running CitectHMI/SCADA v5.42r0 or earlier, which cite modes 1 - 15. What are they? 

Solution:

The PageInfo(Type) function returns information about the current page as a STRING.

The undocumented types are:

16 Dynamic Window Horizontal Scale
17 Dynamic Window Vertical Scale
18 Flashing Colour State
19 In Animation Cycle
20 In Communications Cycle
21 Width of Background Page
22 Height of Background Page

Types 16 and 17 return a REAL number between 0 and 1 (as a STRING) and they will both be identical, as the dynamic scaling will not allow a change in the aspect ratio.

Type 18 returns the following:  

"0" Palette does not flash.
"1" Palette is primary now. Toggles with approximate synchronization to the palette animated flashing colours.
"2" Palette is secondary now. Toggles with approximate synchronization to the palette animated flashing colours.

Types 19 and 20 return "0" (false) or "1" (true) as a STRING. Types 21 and 22 return the resolution number of the current graphics page as a STRING (i.e. "1024" x "768").

The following labels have also been implemented:

    FlashColourState() is equivalent to StrToInt(PageInfo(18))

    InAnimationCycle() is equivalent to StrToInt(PageInfo(19))

    InCommunicationsCycle() is equivalent to StrToInt(PageInfo(20))

Types 16 - 22 have been added to the Online Help in CitectHMI/SCADA v5.50r0. For information on extended modes for the TagInfo command, please refer to Knowledge Base article Q3484.

 

Keywords:
 

Attachments