Reconfigure
The method is called in order to reconfigure the function block during the runtime.
Syntax
METHOD Reconfigure : BOOL
VAR_INPUT
fSetpoint : LREAL := 230.0;
fMinThreshold : LREAL := 0.9;
fMinThresholdHysteresis : LREAL := 0.01;
fMaxThreshold : LREAL := 1.1;
fMaxThresholdHysteresis : LREAL := 0.01;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
fSetpoint | LREAL | Setpoint of the input channels to be monitored |
fOffsetVoltage | LREAL | Minimum threshold value. |
fGainVoltage | LREAL | Hysteresis of the minimum threshold value. |
fOffsetCurrent | LREAL | Maximum threshold value. |
fGainCurrent | LREAL | Hysteresis of the maximum threshold value. |
Return value
Name | Type | Description |
|---|---|---|
Reconfigure | BOOL | Indicates whether the method was executed successfully. Further information is provided in the Event interface of the function block. |