Parameters > Citect.ini File Parameters > Alarm Parameters > [Alarm]HresType

[Alarm]HresType

Determines the time format used to record time stamped alarms. When a time stamped alarm is triggered, CitectSCADA reads the time of the alarm from the PLC or RTU and stores it in one of the 10 formats listed below.

Allowable Values Description

0

12 hour BCD timer (stored as hexadecimal)

1

Continuous counter

2

12 hour BCD timer (stored as decimal)

3

12 hour Millisecond timer (stored as decimal)

4

Number of seconds since 1970

5

24 hour BCD timer (stored as hexadecimal)

6

24 hour BCD timer (stored as decimal)

7

24 hour millisecond timer (stored as decimal)

8

Negative BCD Offset (stored as hexadecimal). Set the high byte to represent the total number of hours of the history. The maximum history is 99 hours (four days) from midnight of the next day.

9

Negative BCD Offset (stored as decimal). Set the high byte to represent the total number of hours of the history. The maximum history is 4923 hours (178 days) from midnight of the next day.

10

Negative Millisecond Offset in milliseconds from the next Midnight. The maximum history is 439 days from midnight. This is stored as a positive decimal whole number in a ULONG data type. Therefore, a value of 1 would mean 1ms before midnight today, a value of 4,233,600,000 would equate to 49D, 0H, 0M, 0S, 0ms before midnight today.

Note: The BCD types have a resolution of 100th of a second (10ms).

Default Value: 0

See Also