IMD SolutionComputing LibraryShop main store

How-to

Do you need Citect Historian for alarms and trends

Edge computing and IIoT Published 6 min read

Short answer

No. Citect SCADA 7.2 stores alarm and trend history natively: a trend tag samples each variable and an alarm category controls logging. Add Citect Historian only for report generation and retention beyond the disk you size.

On this page
  1. Native history or Historian: the decision
  2. Check 1: the variable needs a trend tag that samples
  3. Check 2: a trends and alarms server must run, and the client must reach it
  4. Check 3: the alarm category owns the logging
  5. Configure and verify, step by step
  6. A shift of history in numbers
  7. When Citect Historian earns its place
  8. Questions asked

No. Citect SCADA 7.2 records alarm history and trend history on its own. Every variable you want on a trend needs a trend tag, and every alarm needs a category with logging enabled; neither needs Citect Historian. Add Historian only when a requirement appears that native history does not meet, typically report generation or retention that outlives the PC it runs on. The Power SCADA Expert 7.4 User Guide is the close reference for 7.2, with alarms in chapter 24 and trends in chapter 28; confirm field names in the Project Editor help of your installed version. Run the three checks below, then the procedure, and the history appears without Historian.

Native history or Historian: the decision #

Decide by requirement, not by symptom. A blank trend page and a missing alarm entry fail in different layers, and both layers are native Citect.

Requirement Native Citect 7.2 Citect Historian
Trend pages with past data Yes, via trend tags Not needed
Alarm and event history Yes, via alarm categories and logging devices Not needed
Reports built on stored history Build them yourself from the logged data Reason to add
Retention beyond one machine's disk Limited by the disk you size Reason to add

If the need is "show me last shift's trend and alarms", stay native and work the three checks.

Check 1: the variable needs a trend tag that samples #

History exists only for variables that have a trend tag. A variable placed on a trend page without one has nothing stored, because page templates and genies only display what the trends server already holds. The Plant SCADA documentation topic "Add a Trend Tag" states the purpose plainly: trend tags collect data from I/O device variables for analysis and trend graphing.

Open the trend tag form in the Project Editor and read the row for the blank pen:

  • No row for the variable: create it, with the trend name, the expression (the variable to log) and the sampling configuration, periodic or event-triggered. Test before going further.
  • Row exists but the expression reads bad quality or is unset: fix the variable or its I/O device first. History inherits bad data.
  • Event-triggered tag: the trigger expression must go true. A trigger that never fires leaves the trend empty by design.

In the Computer Setup Wizard, a machine that stores history must be configured as a server with the trends role, and with the alarms role for alarm history. A client-only setup displays history from a server; it never creates it.

  • Read the Kernel on the server and confirm the trends and alarms processes are present.
  • Recompile and restart after adding trend tags: changes made in the editor do not reach runtime until you compile and restart or update.
  • On the client, confirm the cluster and server names match the server's configuration. A client pointed at the wrong cluster shows live I/O values and empty history.
  • Confirm the data path for the trend files exists and has free space. A full or missing path stops storage silently.

Check 3: the alarm category owns the logging #

Alarm history depends on how the alarm is classed and logged, not on Historian. Open the category assigned to the digital or advanced alarm and read its logging-related settings; the exact field names are in the 7.2 form help.

  • An alarm tag with no valid category appears live and disappears when cleared. Assign one: the category governs display, priority and logging.
  • A category that logs to a device needs that device to exist on the Devices form, and its file or database target must be writable by the Citect runtime account.
  • No alarm server, no alarm processing: back to Check 2.

Configure and verify, step by step #

  1. Create a trend tag for each variable to log, with the expression and the sampling mode and period set.
  2. Assign every alarm to a category, set that category's logging so cleared alarms stay retrievable, and add the logging device on the Devices form.
  3. Build the trend and alarm pages from the standard templates or genies, following the chapter 24 and 28 procedures in the User Guide.
  4. Compile, then restart the runtime on the server.
  5. Confirm the Computer Setup Wizard gives that machine the trends and alarms server roles, and that every client points at that server's cluster.
  6. Let it run at least two full sample periods, then scroll back: each pen shows a continuous trace, with gaps only where an event trigger never fired.
  7. Force one alarm on, then clear it, and confirm it is retrievable from the configured history after it clears. Force the test alarm on a test tag or category, never by tripping a real plant condition.
  8. Restart the runtime and scroll back again: samples recorded before the restart are still present, which proves storage on disk rather than memory.

A shift of history in numbers #

An illustrative configuration, not a specification: 24 trend tags, periodic sampling at a 30-second period, one 8-hour shift.

  • Samples per tag per shift: 8 h × 3,600 s/h = 28,800 s, and 28,800 s ÷ 30 s per sample = 960 samples.
  • Across all tags: 24 tags × 960 samples = 23,040 samples per shift.
  • First verification point: two full sample periods is 2 × 30 s = 60 s after startup, so the pens must show samples one minute in.

The on-disk bytes per sample are version-specific, so commit to the sample count and to free space on the data path, not to a file size. Decision on the evidence: one flat pen among recording pens is that tag's row in the trend tag form (Check 1); every pen empty on one client only is a roles or cluster fault (Check 2); alarms visible live but gone after clearing is the category (Check 3).

When Citect Historian earns its place #

Install it for two requirements: reports generated from stored history, and retention beyond what one machine's disk and lifecycle support. If neither is on the roadmap, native history is the complete answer for 7.2.

When alarms must land in a database, that interface brings its own faults: why Citect alarm logging never reaches SQL Server covers the login, DSN and write checks before you blame the category. Once AVEVA Historian is in the system, why Citect alarms do not appear in AVEVA Historian is the next failure to expect. And if the site later moves to a newer platform, why Geo SCADA history needs points to backfill Citect trends explains what must exist before old trend data can be carried over.

Questions asked

How long does native trend history stay available?

Until the data path fills or someone deletes it. Native trends write to the disk you configure, so retention is a storage-sizing decision, not a license limit. When history must outlive a PC refresh or feed plant-wide reports for years, add Citect Historian rather than more local disk.

Can native trend files be moved to another PC?

Only when the recorded path is valid there. In Citect SCADA 2018, trend history sits in numbered data files with the native file paths stored in .hst files, so a straight copy can leave history unretrievable if the target path differs. Match the path held in the .hst file, or accept a trend that starts empty on the new machine.

Does the alarm server need SQL Server to keep alarm history?

No. The alarm server writes to the device configured for the alarm category, and that device can be a file. A database enters only when you point a logging device at one or add Citect Historian. Treat database logging as its own interface to configure and test, separate from the category.

Can alarm logging be set per cluster instead of project-wide?

Yes, in the documented mechanism for current Plant SCADA: some alarm parameters are defined in a Citect .ini file for a specific cluster or alarm server process, so two clusters can log differently. Parameter names vary by release, so confirm them in the help of your installed version before editing the file.

Keep reading

  • Troubleshooting

    Running redundant InTouch historians with parallel tag logging

    InTouch has no dual-Historian target, so a partner Historian configured for redundancy stays empty. Log process data in parallel: the same tag list imported into both Historians, an IDAS on each node reading the OI Server. Handle historical alarms separately with A2ALMDB, because IDAS failover does not carry alarm data.

    Edge computing and IIoT

  • Explainer

    Why Geo SCADA history needs points to backfill Citect trends

    No — not without duplicate points. Geo SCADA keeps history only for points with the Historic feature enabled, and the documented write path runs through that point model, for example the LoadDataValue method of a point's Historic aggregate. A Citect 2018 backfill therefore means creating the destination points, or choosing a SQL database or a Citect-integrated historian instead.

    Edge computing and IIoT

  • Explainer

    Do you need a historian or just an OPC tag server?

    No. An OPC tag server (OPC DA) supplies the current value, quality and timestamp of each item and stores nothing, so monthly figures need a historian or a SQL logger collecting from that same server. Keep a reporting client like ActiveFactory only if you also run the historian it expects.

    Edge computing and IIoT