Digital state strings (PISTATE)
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
PI maintains a list of all digital state strings in use. This means that if a given digital state string is used in more than one digital state set, both sets refer to the same state string.
System managers need the ability to edit the digital string in the event that an error is made when the string is first added to PI. The PISTATE table is used for this purpose. For example, to correct the digital state string error “AUto” to “Auto”, you would issue the following piconfig commands:
(Ls - ) piconfig> @table pistate
(Ls - PISTATE) piconfig> @mode edit
(Ed - PISTATE) piconfig> @istr state,newstate
(Ed - PISTATE) piconfig> AUto,Auto
AUto,Auto
(Ed - PISTATE) piconfig>
The only processing mode supported by the PISTATE table is edit, which means that you cannot use this table to create, delete or list digital state strings. To modify or list digital state sets or the strings that belong to them, use the PIDS table.
You should not use the PISTATE table to substantially change the meaning of any digital state string. This would affect any digital state set that uses the state string.