Configure
Configure the algorithm. Channel specific parameter are set using the method ConfigueChannel().
Syntax
Definition:
METHOD Configure : BOOL
VAR_INPUT
fSampleRate : LREAL;
tInterval : LTIME;
nRatedCurrent : UDINT;
nTorqueConstant : UDINT;
nMotorCurrentType : UDINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
fSampleRate | LREAL | Sample rate of the system to be analyzed in Hz. |
tInterval | LTIME | Interval time of averaging. Used to calculate the electrical energy. |
nRatedCurrent | UDINT | Nominal current in mA |
nTorqueConstant | UDINT | Torque constant in mNm / A |
nMotorCurrentType | UDINT | Type of specification of the nominal current |
Return value
Name | Type | Description |
---|---|---|
Configure | BOOL | Returns |