| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
Class GetSp
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
Get String parameter.

Fetches the value of a string attribute. The attribute can be an in- or output signal in an arbitrary object. The size of the attribute has to be 80 bytes or less. The complete name of quantity has to be supplied.
| RtBody attributes pwr_sClass_GetSp | |||
|---|---|---|---|
| String80 | ActVal | VAL | Used by the PLC Editor. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | SpObject | VAL | Used by the PLC Editor. Specifies the complete name of the actual attribute. |
| Int32 | SpObjectSegments | Specifies how many segments of the actual object name that is to be displayed in the symbol of the GetSp object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the actual object name. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 263 |
| parameters[0] | 0 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 7 (Get,Set) |
| graphindex | 0 |
| default_mask[0] | 0 |
| default_mask[1] | 1 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 36 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| connectmethod | 7 |
| executeordermethod | 2 |
| objname | GetSp |
| graphname | Sp |
| debugpar | |
| Template Object | |
|---|---|
| SpObjectSegments | 2 |
| ActVal Output | ||
|---|---|---|
| Class | Output | |
| Type | String80 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | VAL | |
| Body | RtBody | |
Used by the PLC Editor.
| SpObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| GraphName | VAL | |
| Body | DevBody | |
Used by the PLC Editor. Specifies the complete name of the actual attribute.
| SpObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies how many segments of the actual object name that is to be displayed in the symbol of the GetSp object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the actual object name.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |