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

Fetches the engineering value for a specified Di-signal from I/O-copied area. See PROVIEW/R Designer's Guide. The complete name of the Di-signal has to be supplied; its last segment name is shown in the right empty part of the symbol. The GetDi object - is a pure address reference to the I/O-copied area for Di-signals, - contains no relevant information (=data) in rtdb, - is without executable code.
| RtBody attributes pwr_sClass_GetDi | |||
|---|---|---|---|
| Boolean | Status | sts | Used by the PLC Editor. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | DiObject | Used by the PLC Editor. Specifies the complete name of the Di object. |
|
| AttrRef | SigChanCon | Used by the PLC Editor. | |
| Int32 | DiObjectSegments | Specifies how many segments of the Di object name that is to be displayed in the symbol of the GetDi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the Di object name. |
|
| Boolean | ShowSigChanCon | Specifies if the name on the channel object ( associated with the signal object) is to be displayed in the symbol of the GetDi object or not. FALSE means no displaying and TRUE displaying. |
|
| Int32 | SigChanConSegments | Specifies, when ShowSigChanCon = TRUE, how many segments of the channel object name that is to be displayed in the symbol of the GetDi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the channel object name. |
|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 60 |
| parameters[0] | 0 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 7 (Get,Set) |
| graphindex | 1 |
| default_mask[0] | 0 |
| default_mask[1] | 1 |
| segname_annotation | 0 |
| devbody_annotation | 1 |
| compmethod | 8 |
| compindex | 0 |
| tracemethod | 1 |
| traceindex | 1 |
| connectmethod | 1 |
| executeordermethod | 0 |
| objname | GetDi |
| graphname | Di |
| debugpar | Status |
| Template Object | |
|---|---|
| DiObjectSegments | 2 |
| SigChanConSegments | 2 |
| ShowSigChanCon | 1 |
| Status Output | ||
|---|---|---|
| Class | Output | |
| Type | Boolean | |
| Flags | STATE | RTVIRTUAL | DEVBODYREF | |
| GraphName | sts | |
| Body | RtBody | |
Used by the PLC Editor.
| DiObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| Body | DevBody | |
Used by the PLC Editor. Specifies the complete name of the Di object.
| SigChanCon Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | INVISIBLE | |
| Body | DevBody | |
Used by the PLC Editor.
| DiObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies how many segments of the Di object name that is to be displayed in the symbol of the GetDi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the Di object name.
| ShowSigChanCon Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Boolean | |
| Flags | ||
| Body | DevBody | |
Specifies if the name on the channel object ( associated with the signal object) is to be displayed in the symbol of the GetDi object or not. FALSE means no displaying and TRUE displaying.
| SigChanConSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies, when ShowSigChanCon = TRUE, how many segments of the channel object name that is to be displayed in the symbol of the GetDi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the channel object name.
| PlcNode Buffer | ||
|---|---|---|
| Class | Buffer | |
| Type | PlcNode | |
| Flags | INVISIBLE | |
| Body | DevBody | |