FB_init
Initializes the number of input channels, the number of cluster centers and the size of the aggregation buffer.
Syntax
Definition:
METHOD FB_init : BOOL
VAR_INPUT
nNumChannels : UDINT := 2;
nNumClusters : UDInT := 1;
nAggBufferSize : UDINT := 10;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nNumChannels | UDINT | Initializes the number of input channels. |
nNumClusters | UDINT | Defines the number of clusters. |
nAggBufferSize | UDINT | Specifies the number of cycles after which the cluster centers are updated. The input values over this number of cycles are buffered internally (in the aggregation buffer). |
Return value
Name | Type | Description |
---|---|---|
FB_init | BOOL | Not used. |