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

Fetches the engineering value for a specified Ai-signal from I/O-copied area. See PROVIEW/R Designer's Guide. The complete name of the Ai-signal has to be supplied; its last segment is shown in the right empty part of the symbol. The GetAi object - is a pure address reference to the I/O-copied area for Ai-signals, - contains no relevant information (=data) in rtdb, - is without executable code.
| RtBody attributes pwr_sClass_GetAi | |||
|---|---|---|---|
| Float32 | ActVal | VAL | Used by the PLC Editor. |
| DevBody attributes | |||
|---|---|---|---|
| AttrRef | AiObject | VAL | Used by the PLC Editor. Specifies the complete name of the Ai object. |
| AttrRef | SigChanCon | Used by the PLC Editor. | |
| Int32 | AiObjectSegments | Specifies how many segments of the Ai object name that is to be displayed in the symbol of the GetAi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the signal 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 GetAi object or not. FALSE means no displaying and TRUE displaying. See also SigChanConSegments. |
|
| Int32 | SigChanConSegments | Specifies, when ShowSigChanCon = TRUE, how many segments of the channel object name that is to be displayed in the symbol of the GetAi 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 | 64 |
| 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 | 0 |
| traceindex | 0 |
| connectmethod | 4 |
| executeordermethod | 0 |
| objname | GetAi |
| graphname | Ai |
| debugpar | |
| Template Object | |
|---|---|
| AiObjectSegments | 2 |
| SigChanConSegments | 2 |
| ShowSigChanCon | 1 |
| ActVal Output | ||
|---|---|---|
| Class | Output | |
| Type | Float32 | |
| Flags | STATE | RTVIRTUAL | DEVBODYREF | INVISIBLE | |
| GraphName | VAL | |
| Body | RtBody | |
Used by the PLC Editor.
| AiObject Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | ||
| GraphName | VAL | |
| Body | DevBody | |
Used by the PLC Editor. Specifies the complete name of the Ai object.
| SigChanCon Intern | ||
|---|---|---|
| Class | Intern | |
| Type | AttrRef | |
| Flags | INVISIBLE | |
| Body | DevBody | |
Used by the PLC Editor.
| AiObjectSegments Intern | ||
|---|---|---|
| Class | Intern | |
| Type | Int32 | |
| Flags | ||
| Body | DevBody | |
Specifies how many segments of the Ai object name that is to be displayed in the symbol of the GetAi object. The segments are counted from behind. 0 and 1 both result in displaying the last segment of the signal 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 GetAi object or not. FALSE means no displaying and TRUE displaying. See also SigChanConSegments.
| 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 GetAi 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 | |