Skip to main content

Plant graph

The Plant graph draws the plant model as a graph. You see how the enterprise, site, area, work centers and equipment contain each other, which devices feed which equipment, and how machines depend on each other. A detail panel shows the live state of a machine.

Plant graph of the Demo Foods plant with Line 1 and its four machines
Plant graph of the Demo Foods plant with Line 1 and its four machines

The page is Plant → Plant graph (kicker "Knowledge graph").

How it works​

The graph has nodes (enterprise, site, area, work center, equipment, and optionally tags and devices) and links:

Kind of linkSourceEditable
containsThe ISA-95 modelNo, derived
hostsA Site Runtime hosts a DeviceNo, derived
bound_toA Device is bound to equipmentNo, derived
feeds, controls, depends_on, measures, supplies, backup_of, located_inYou add themYes

The graph is drawn left to right. Drag to pan, scroll to zoom, click Fit to screen.

Step by step​

  1. Open Plant → Plant graph. The whole plant is shown.
  2. Use the toggles Show tags, Show containment and Show devices.
  3. To look at one part, choose a node in Select a node… (the box has a filter), set Depth (1 to 6) and click Focus here. Whole plant goes back.
  4. Click a node. The detail panel shows Kind, Code, Name, Path, Class, Parent and Contains.

Equipment state​

For an equipment node the panel shows:

  • "Equipment state": Running, Stopped or "Run state unknown", the "Overall" status, and the number of critical tags.
  • A table with Tag, Value, Status, "Normal range" and Source. The note "Low limit ignored while the machine is stopped (gated)" explains that low limits do not count when the machine is stopped.

Status per tag: ok, low, high, stale, unknown. A bad or missing value is unknown. A tag is stale after three poll intervals (at least 60 seconds), after 5 minutes if it has no interval, or after 15 minutes for on-change tags. The worst status wins.

The machine counts as running when a bool tag with role state and one of the codes running, run_status, motor_running, program_running, flame_on, heating_on or in_operation is true.

The Tag semantics editor changes Quantity, Role, Normal low, Normal high and Critical. Suggest proposes values, which apply only after you click Apply.

Relations​

To link equipment, select a node and use Add relation:

  1. Choose Direction: "this → other" or "other → this".
  2. Choose Relation (feeds, controls, depends_on, measures, supplies, backup_of, located_in).
  3. Choose Other node and an optional Label (optional).
  4. Click Add. Remove deletes a link.

Example: the Compressor supplies the Filler and the Capper. A repeated link gives "That relation already exists."

Editing relations needs the right to configure. Others see "You can view relations but not change them."

Lineage and impact​

  • Data lineage opens a dialog: "Where the data comes from and where it goes, read from the configuration now. It does not show whether data is flowing." You can choose Show "Both directions", "Comes from" or "Goes to", Steps 1 to 12, and "Include possible links". Links are "Certain" or "Possible". Loops are marked "loop". It is built from configuration, not from live traffic.
  • Impact shows "Downstream impact" and "N impacted nodes". Click Clear to remove the highlight. Example: what is affected if the Compressor stops.

Isolated nodes​

Nodes without a link are listed with the reason, for example "Device is not assigned to a Site Runtime" or "Device is not bound to equipment", with an "Edit Device" link.

Limits​

LimitValue
Depthat most 6
Nodes2000. Beyond that: "The graph was truncated (2000 node cap)…"
Impact depthat most 8 (default 4)

Good practice​

  • Add supplies and feeds links for utilities, so an operator can see what a compressor stop touches.
  • Check the isolated-node list after you add devices.
  • Keep normal ranges right. They drive the Low and High status here and on the Overview.

Troubleshooting​

SymptomCauseFix
A device is isolatedNot bound to equipment, or no Site Runtime.Edit the device.
Status is unknownBad quality or no value.Check the device status.
Run state unknownNo running-indicator tag.Give a bool tag the role state and a code from the list above.
Cannot add a relationNo right to configure.Ask a controls engineer.
"The graph was truncated"Over 2000 nodes.Use Focus here.