Volume pwrs | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
Class GraphPlcNode![]() |
||
---|---|---|
Version | 1.0 | |
Modified | 15-JAN-2025 13:23:33.00 |
Description class for a Buffer in plc objects. The buffer contains graphic data used by the plc editor.
SysBody attributes pwr_sClass_GraphPlcNode | |||
---|---|---|---|
UInt32 | object_type | Plceditor type for the class. | |
Array of UInt32 | parameters | Number of input, intern and output attributes. | |
UInt32 | subwindows | Number of plc subwindows. | |
Array of ClassId | subwindow_class | Class of subwindows. | |
Array of Float32 | sw_page_x | Not used. | |
Array of Float32 | sw_page_y | Not used. | |
UInt32 | graphmethod | Method for drawing the plc symbol. | |
UInt32 | graphindex | Index used by the grapich method. | |
Array of UInt32 | default_mask | The default input and output configuration. | |
UInt32 | segname_annotation | Annotation in which the object name will be displayed. The common graph methods uses annotation 1 to display the object name. |
|
Boolean | rtbody_annotation | Attributes whose value will be displayed in an annotation will be searched for in RtBody. |
|
Boolean | devbody_annotation | Attributes whose value will be displayed in an annotation will be serach for in DevBody. |
|
UInt32 | compmethod | Compilation method. Method that generates plc code for the object. | |
UInt32 | compindex | Not used. | |
UInt32 | tracemethod | Metod used by trace. | |
UInt32 | traceindex | Not used. | |
UInt32 | connectmethod | Method to connect the object to another object. | |
UInt32 | executeordermethod | Method to calculate the execute order in the plc program. | |
String16 | objname | Name for class displayed in the plc editor. | |
String16 | graphname | Name for an object instance created in the plc editor. | |
String32 | debugpar | Name of the attribute that trace uses to display the status of the object. |
Template Object | |
---|---|
object_type | 11 |
object_type Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Plceditor type for the class.
parameters Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Array of UInt32 | |
Flags | ARRAY | ALWAYSWBL | |
Elements | 4 | |
Kropp | SysBody |
Number of input, intern and output attributes. Element 0 : the number of input attributes. Element 1 : the number of intern attributes. Element 3 : the number of output attributes. Element 4 : not used.
subwindows Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ||
Kropp | SysBody |
Number of plc subwindows.
subwindow_class Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Array of ClassId | |
Flags | ARRAY | |
Elements | 2 | |
Kropp | SysBody |
Class of subwindows.
sw_page_x Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Array of Float32 | |
Flags | ARRAY | |
Elements | 2 | |
Kropp | SysBody |
Not used.
sw_page_y Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Array of Float32 | |
Flags | ARRAY | |
Elements | 2 | |
Kropp | SysBody |
Not used.
graphmethod Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Method for drawing the plc symbol. 0: The ordinary symbol for an object. Symbol with - header row containing class name, - footer row containing object names, - leadnames for all inputs and outputs.
1: Symbol for objects where the inputs and outputs doesn't have to be specified. Symbol without leadnames for inputs and outputs.
2: Equivalent with method 0, but equiped with an extra annotation field above the footer. 3: Method for Text objects. 4: Method for objects with special design. 5: Method for a grafcet order. 6: Method for document objects. 7: Method for singlerow objects with maximum one input and one output. Displays the class name and object name in the object.
8 and 9: This method uses method 7, 15 or 0 dependent on the number of used inputs and outputs. 14: Method for singleline arithm objects. 15: Method for double row objects with maximum two inputs and two outputs.
graphindex Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Index used by the grapich method.
default_mask Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Array of UInt32 | |
Flags | ARRAY | ALWAYSWBL | |
Elements | 2 | |
Kropp | SysBody |
The default input and output configuration. An array of bitmasks. Element 0: mask for input attributes, if a bit is set, the corresponding input will be displayed. Element 1: mask for output attributes, if a bit is set, the corresponding output will be displayed. Element 2: mask for input attributes, if a bit is set, the corresponding output will be inverted.
segname_annotation Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Annotation in which the object name will be displayed. The common graph methods uses annotation 1 to display the object name.
rtbody_annotation Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Boolean | |
Flags | ||
Kropp | SysBody |
Attributes whose value will be displayed in an annotation will be searched for in RtBody.
devbody_annotation Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | Boolean | |
Flags | ||
Kropp | SysBody |
Attributes whose value will be displayed in an annotation will be serach for in DevBody.
compmethod Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Compilation method. Method that generates plc code for the object. 2: Method for object without any plc code. 4: Method for an object with a standard function call. 5: Method for an object with a standard macro call. 58: Method for an object with template plc code in class definition.
compindex Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Not used.
tracemethod Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Metod used by trace.
traceindex Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Not used.
connectmethod Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Method to connect the object to another object. 0: No connect function.
executeordermethod Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | UInt32 | |
Flags | ALWAYSWBL | |
Kropp | SysBody |
Method to calculate the execute order in the plc program. 0: No executable code for this object. 2: Ordinary method for objects with executable code.
objname Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | String16 | |
Flags | ||
Kropp | SysBody |
Name for class displayed in the plc editor.
graphname Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | String16 | |
Flags | ||
Kropp | SysBody |
Name for an object instance created in the plc editor.
debugpar Attribute | ||
---|---|---|
Klass | Attribute | |
Typ | String32 | |
Flags | ||
Kropp | SysBody |
Name of the attribute that trace uses to display the status of the object.