GetPoint()
A point from the lookup table is read back.
Syntax:
METHOD GetPoint: HRESULT
VAR_INPUT
nIdx : INT;
stPoint: REFERENCE TO ST_LookUpPtpPointIntern;
END_VAR
Return value
Name | Type | Description |
---|---|---|
GetPoint | HRESULT | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
nIdx | INT | The index of the point. Permissible range 1 ... NumberOfPoints. |
stPoint | REFERENCE TO ST_LookUpPtpPointIntern | A reference to the variable to be updated with the point data. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |