Class Intern
|
Version |
1.0 |
|
Modified |
15-JAN-2025 13:23:34.00 |
|
Definition of an intern attribute.
Intern attributes are used in plc-objects for attributes that should not
be displayed as an input or output pin in the plc symbol.
The Intern object reside in a class volume as a child of an ObjBodyDef object.
Template Object |
Elements |
1 |
TypeRef |
pwrs:Type-$Boolean |
Attributes detail
Name for the element the c-struct.
Bitmask for attribute properties.
PWR_MASK_POINTER Attribute is a pointer.
PWR_MASK_ARRAY Attribute is an array.
PWR_MASK_STATE Value will not be loaded from develompent database.
PWR_MASK_CONST Value is a constant.
PWR_MASK_RTVIRTUAL Attribute doesn't exist in runtime environment
PWR_MASK_DEVBODYREF Used for input and output attributes, where the
connection refers another object which is found
in the first attribute of type Objid in DevBody.
PWR_MASK_OBJIDSELF Contains the objects own objid. Used in timer attributes.
PWR_MASK_NOEDIT Value can't be changed in object editor.
PWR_MASK_INVISIBLE Attribute will not be displayed in object editor.
PWR_MASK_REFDIRECT If an AttrRef, should not give value pointed to.
PWR_MASK_NOINVERT Can't be inverted in plc editor.
PWR_MASK_NOREMOVE Can't be removed in plc editor.
PWR_MASK_RTDBREF Contains an rtdb reference.
PWR_MASK_PRIVATE Should not be interpreted by an object editor.
PWR_MASK_ISCLASS Attribute is specified by a class.
PWR_MASK_SUBCLASS ...
PWR_MASK_BUFFER ...
PWR_MASK_NOWBL Attribute will not be to printed to wb_load file.
PWR_MASK_ALWAYSWBL Attribute is always printed to wb_load file.
If array, number of elements..
Index of attribute within a body.
Reference to the object defining the type.
Name displayed in plc editor.
Not used for intern attributes.
The value will be displayed in the plc symbol. The plc symbol
contains places where individual text can be drawn, annotations.
The annotations are numbered, and NiNaAnnot is the number of the
annotation where the value of the attribute will be drawn.
Special condition for an annotation to be drawn or not.
In some cases, the condition whether an attribute should be displayed
in an annotation or not, can be configured from the object editor.
If NiNaCond is true, the condition will be fetched from an attribute
named Show'attributename' in devbody.
For example, the DSup object has an attribute ShowDetectText which
is the condition for DetectText to be displayed in the plc symbol.
Special condition for the number of segments to be displayed for an
objid.
In some cases, the number of name segments for an objid attribute
that should be displayed in an annotatation, can be configured from
the object editor.
If NiNaSegments is true, the number of segments will be fetched
from an attribute named 'attributename'Segments in devbody.
For example, the GetDi object has an attribute SigChanConSegments
which contains the number of segments of SigChanCon to be displayed
in the plc symbol.
Not used for intern attributes.