SetParameter()
Here the new position and the operation mode of the core function are defined.
Syntax:
METHOD SetParameter : HRESULT
VAR_INPUT
fPosition: LREAL;
bRelative: BOOL;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SetParameter | HRESULT | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
fPosition | LREAL | The position value to be used is defined here. |
bRelative | BOOL |
|
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 |