Define a digital state set
- Last UpdatedOct 02, 2024
- 1 minute read
To define digital state sets, use the Digital States tool in PI SMT (Points > Digital States) or piconfig. Digital points typically have only a small number of valid states. Before you configure a digital point, you must define the digital state set that it will use.
For example, you can configure a point to report a valve position with a digital code value of 0 or 1, where 0 indicates a CLOSED state and 1 indicates an OPEN state.
Before you configure this point, you must create a digital state set with two strings, CLOSED and OPEN. You might name this digital state set Valve Position. You can define other points that also have CLOSED and OPEN states to use the same Valve Position digital state set. Points that have states of ON and OFF would use a different digital state set, which you could name Switch Position.
PI Server determines the digital code value, such as 0 or 1, based on the position of the digital state string in the Digital State Table. The first value is 0, the second is 1, the third is 2, and so on.
You can define up to 16,383 state sets with up to 16,383 states in each set. For details, see The SYSTEM digital state set.