Skip to content

Create, Edit, and Delete Digital Sets (Digital States) ​

AudiencePlant Admins, Process Engineers, Control Engineers
Required Permissions`digital_sets:view`, `:create`, `:update`, `:delete` on the target plant
Estimated Time5 min read
Demo Referencecemento-valladolid
Quick Demo · 0:16

Create, Edit, and Delete a Digital Set

00:16
Searchable Transcript (3 steps)
  1. 00:01Map numeric PLC values to readable labels (for example 0 = Stopped, 1 = Running).
  2. 00:09Edit names or state labels whenever equipment naming conventions change.
  3. 00:12Confirm by typing the exact digital set name when no tags still reference it.

What Are Digital States (Digital Sets)? ​

Industrial PLCs and SCADA systems commonly transmit equipment status, damper positions, or valve modes as bare integers such as 0, 1, 2, or 3. A Digital Set is a plant-level lookup dictionary that maps each integer code to a human-readable Digital State label:

Raw PLC ValueDigital State LabelTypical Meaning
0StoppedDrive de-energized / zero speed
1RunningOperating in normal production mode
2Standby / ReadyPermitted to start, awaiting interlock
3Tripped / FaultShutdown triggered by protection interlock

When you attach a Digital Set to a discrete tag, Live Values, Historical Trends, Downtime Rules, and Ask Cogni automatically display descriptive state text alongside numeric codes.

Step 1: Open Digital Sets for Your Plant ​

  1. In the left menu, go to Configuration -> Digital Sets.
  2. Confirm the active Plant in the top filter bar.

Digital Sets workspace overview

Step 2: Create a Digital Set (At Least Two State Mappings) ​

  1. Click Add Digital Set in the top-right header.
  2. Enter a clear Digital Set Name (for example, Kiln Operating State) and an optional Description.
  3. Define at least two state pairs under State Mappings:
    • Enter the integer Numeric value (e.g. 0, 1) and its State label (Stopped, Running).
    • Add extra rows if the PLC sends more multi-state integers (2 = Standby, 3 = Fault).
  4. Click Create to save the mapping table.

Add Digital Set modal showing numeric value and label mappings

Step 3: Edit or Delete a Digital Set ​

  • Edit: Click Edit directly in the table row actions column to update the set name, description, or numeric-to-label pairs. Changes apply immediately to linked tags.
  • Delete: Click Delete on the row and type the exact digital set name to confirm deletion.

Deletion Blocked While Tags Still Reference the Set

To preserve historical trend rendering, OTCognix blocks deletion if any plant Tag currently references that Digital Set. Reassign or unlink those tags first before deleting an obsolete set.

Next Steps ​

OTCognix Industrial IoT & AI Documentation