| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class SetDp
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 08-MAR-2026 11:05:32.00 | |
| Code | rt_plc_macro_io.h | |
Set Digital parameter.

If the input signal is TRUE, the value of the specified local digital quantity ( e.g. internal digital variable in an arbitrary object) is set at the execution, otherwise there will be no effect on the digital quantity. The complete name of the digital quantity has to be supplied; see hints below.
| RtBody attributes pwr_sClass_setdp | |||
|---|---|---|---|
| Boolean | In | in | The input is connected to a binary signal or left open. In the latter case In is default TRUE and the condition not adjustable in the run time system and consequently the function is unconditional. Specifies whether the binary quantity is to be set or not. FALSE means that the quantity is not effected, and TRUE means that a local quantity is set. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | Object | sts | Used by the PLC Editor. Specifies the complete name of the current attribute. |
| Int32 | ObjectSegments | Specifies how many segments of the actual object name that is to be displayed in the symbol of the SetDp 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 | 257 |
| parameters[0] | 1 |
| parameters[1] | 0 |
| parameters[2] | 0 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 7 (Get,Set) |
| graphindex | 0 |
| default_mask[0] | 1 |
| default_mask[1] | 0 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 12 |
| compindex | 0 |
| tracemethod | 4 |
| traceindex | 1 |
| connectmethod | 7 |
| executeordermethod | 6 |
| objname | SetDp |
| graphname | SetDp |
| debugpar | In |
| Template Object | |
|---|---|
| In | 1 |
| In Input | ||
|---|---|---|
| Class | Input | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | DEVBODYREF | NOEDIT | |
| GraphName | in | |
| Body | RtBody | |
The input is connected to a binary signal or left open. In the latter case In is default TRUE and the condition not adjustable in the run time system and consequently the function is unconditional. Specifies whether the binary quantity is to be set or not. FALSE means that the quantity is not effected, and TRUE means that a local quantity is set.
| Object Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| GraphName | sts | |
| Body | DevBody | |
Used by the PLC Editor. Specifies the complete name of the current attribute.
| ObjectSegments 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 SetDp 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 | |