UpdatePosition()
The target position of the point is changed after it is defined.
Syntax:
METHOD UpdatePosition: HRESULT
VAR_INPUT
nIdx : INT;
fPosition: LREAL;
bSwap : BOOL;
END_VAR
Return value
Name | Type | Description |
---|---|---|
UpdatePosition | BOOL | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
nIdx | INT | The index of the point to be updated. |
fPosition | LREAL | The new target position. |
bSwap | BOOL | With |
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 |