Configure
Configuring the algorithm.
Syntax
Definition:
METHOD Configure : BOOL
VAR_INPUT
eBandMode : E_ALY_BandMode;
fBand : LREAL;
nSegmentSize : UDINT;
tTimeout : TIME;
sFilePath : STRING(255);
bNegateStartPeriod : BOOL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eBandMode | Configuring the band mode Absolute: Upper bound: read value + fBand Lower bound: read value – fBand Relative: Upper bound: read value + (read value * fBand/100) Lower bound: read value - (read value * fBand/100) | |
fBand | LREAL | Configuring the band depending on the band mode. |
nSegmentSize | UDINT | Number of buffered elements for file operation. |
tTimeout | TIME | Timeout for asynchronous operations. |
sFilePath | STRING(255) | Path to the taught file, e.g. C:\TwinCAT\3.1\Boot\Teach.tas |
bNegateStartPeriod | BOOL | Negates the input parameter bStartPeriod. |
Return value
Name | Type | Description |
---|---|---|
Configure | BOOL | Returns |