Modify the System state set (Special considerations for blank states)
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
The system digital state set is always set number . It cannot be deleted. Renaming it is allowed, but not recommended. As with any other set, it must be edited in its entirety.
The system digital state set usually includes some blank states. To preserve these, make sure that blank state are enclosed in quotes, or use the oldcode attribute. The oldcode attribute can help maintain reference to state offsets within a set during editing. It has no other use.
@istru set
@istru oldcode,state
@istru ...
system
0,??????????
1,
2,?2
3,
4,?4
@istru set
@istru state
@istru ...
system
??????????
""
?2
""
?4
Both examples
show only the first five states in the system set, and in both cases states 1 and 3 are blank.