SetPoints()
This method sets the number of available points in the table.
Method can only be executed once If this method is executed for the second time or a number of points > 0 is passed in the initialization, this method fails. The number of points can only be defined once. |
Syntax:
METHOD SetPoints : HRESULT
VAR_INPUT
nRequired: INT;
END_VAR
Return value
Name | Type | Description |
---|---|---|
GetPoint | HRESULT | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
nRequired | INT | Number of points requested. |
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 |