Reconfigure
The method is called in order to reconfigure the function block during the runtime.
Syntax
METHOD Reconfigure : BOOL
VAR_INPUT
fOffsetVoltage : LREAL := 0.0;
fGainVoltage : LREAL := 1.0;
fOffsetCurrent : LREAL := 0.0;
fGainCurrent : LREAL := 1.0;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
fOffsetVoltage |
LREAL |
Indicates a user-defined offset for the voltage scaling. |
|
fGainVoltage |
LREAL |
Indicates a user-defined gain factor for the voltage scaling. |
|
fOffsetCurrent |
LREAL |
Indicates a user-defined offset for the current scaling. |
|
fGainCurrent |
LREAL |
Specifies a user-defined gain factor for the current scaling. |
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. |