Call
The method calculates a manipulated output signal from an input signal that is transferred in the form of a pointer. If oversampling is used, not all information is displayed. The results of the function block outputs refer to the oldest input value of Call().
Syntax
METHOD Call : BOOL
VAR_INPUT
pIn : POINTER TO LREAL;
nSizeIn : UDINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
pIn | POINTER TO LREAL | Address of the input array |
nSizeIn | UDINT | Size of the input array |
Return value
Name | Type | Description |
---|---|---|
Call | BOOL | Returns TRUE if a manipulated output signal has been calculated. |
Sample
aInput := ARRAY [1..cOversamples] OF LREAL;
bSucceed := fbWeighing.Call(ADR(aInput), SIZEOF(aInput));