Point class (PIPTCLS)
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
The point class database (PIPTCLS) contains all the point classes defined on a Data Archive server. A point class defines the attributes of a PI point. This approach allows points to have attributes specific to the point's role. For example, Totalizer points use a point class designed specifically for the Totalizer needs.
Note: Edit point classes in stand-alone mode.
|
PIPTCLS Attributes |
Description |
|
Class |
Name of the class. |
|
SET |
The attribute set where attribute in the class were defined. This attribute is only used in create mode. It is used to specify the attribute sets which comprise the point class. |
|
ATTRIB |
Attribute name; a class has many of these. |
|
DEFAULT |
Default value of the attribute. |
|
TYPE... |
Data type of the attribute. For example, String, Float32. |
To list the point classes on the server:
* (Ls - PIPTCLS) PIconfig> @ostr class
* (Ls - PIPTCLS) PIconfig> @ends
*PIConfig Err> Wild-card specs. missing, default to '*'.
Alarm
base
classic
SQC_Alarm
Totalizer
This lists the classic point class; this class is built from the classic and base attribute sets:
* (Ls - PIPTCLS) PIconfig> @tabl piptcls
* (Ls - PIPTCLS) PIconfig> @mode list
* (Ls - PIPTCLS) PIconfig> @ostr attrib,default,type
* (Ls - PIPTCLS) PIconfig> @ostr ...
* (Ls - PIPTCLS) PIconfig> @istr class
* (Ls - PIPTCLS) PIconfig> classic
*> classic
descriptor,,String
exdesc,,String
typicalvalue,50.,Float32
engunits,,String
zero,0.,Float32
span,100.,Float32
pointtype,12,UBYTE
pointsource,Lab,String
scan,1,BYTE
.
.
.
datagroup,piadmins,String
dataaccess,o:rw g:rw w:r,String
datasecurity,"piadmin: A(r,w) | piadmins: A(r,w) | PIWorld: A(r)",String
pointid,0,Uint32
recno,0,Uint32
ptclassname,classic,String
ptclassid,2,Uint32
ptclassrev,1,Uint32
tag,,String
sourcetag,,String
compdevpercent,2.,Float32
excdevpercent,1.,Float32
* End Repeat...
* (Ls - PIPTCLS) PIconfig>