Applies To:
  • CitectSCADA 5.01

Summary:
We need to use time stamped alarms in order to allow the historical data downloaded from RTU's every 24 hours to be processed by the Citect alarm system. It appears that some times at certain times may cause the date field to show as previous day, and others to show as day after. 

Solution:
The routines were written to support realtime 12 hour millisecond time from the PLC which accounts for the date changes when entering 24 hour times.

Even though the manual says 24 hour the following is the case for the option [ALARM] HRESTYPE

0...12 Hour BCD Timer (Stored as a Hex value)
1...Continuous Counter
2...12 Hour BCD Timer (Stored as a Decimal value)
3...12 Hour Millisecond Timer (Stored as a Decimal value)
4...Seconds Since 1970

To support 24 hour times three more options have been added in version 5.01 and version 3.40/4.20 Service Pack H:

5...24 Hour BCD Timer (Stored as a Hex value)
6...24 Hour BCD Timer (Stored as a Decimal value)
7...24 Hour Millisecond Timer (Stored as a Decimal value)

A new parameter[ALARM]HRES24HRDEADBAND (default = 60 seconds) allows user to specify how many seconds the PLC time can be ahead of Citect Time before the date field (if used) will show alarm as occuring on previous day.

This feature has been included in version 5.01 and version 3.40/4.20 Service Pack H.

 

Keywords:
 

Attachments