FB_init
Initialize the number of input channels.
Syntax
Definition:
METHOD FB_init : BOOL
VAR_INPUT
bSingleInput : BOOL : FALSE;
nNumChannels : UDINT := 2;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
bSingleInput | BOOL | If TRUE, the number of input channels is limited to one. This can be used for processing enumerations, for example. |
nNumChannels | UDINT | Initializes the number of channels. If bSingleInput is False, this also corresponds to the number of input channels. |
Return value
Name | Type | Description |
---|---|---|
FB_init | BOOL | Not used. |