Pump power in % shown on the process screen
This commit is contained in:
@@ -80,6 +80,16 @@ namespace TBF.BenchControl.Danfoss.VLT2800
|
||||
public int LagOpening { get { return 0; } }
|
||||
public int LagClosing { get { return 0; } }
|
||||
|
||||
/// <summary>
|
||||
/// Pump power in [%] in range 0 .. 100.0f
|
||||
/// </summary>
|
||||
private float power;
|
||||
public float Power
|
||||
{
|
||||
get { return power; }
|
||||
}
|
||||
|
||||
|
||||
readonly Elde.ControlBoardDev controlBoard;
|
||||
readonly int bitPosition; /// 0 .. 63
|
||||
|
||||
@@ -191,6 +201,8 @@ namespace TBF.BenchControl.Danfoss.VLT2800
|
||||
{
|
||||
log.DebugFormat("{0}.TurnOn({1})", Name, powerArg);
|
||||
|
||||
this.power = powerArg;
|
||||
|
||||
//UInt16 controlWord = 0x047C;
|
||||
UInt16 controlWord = (UInt16)(CW.Not_DcBraking |
|
||||
CW.Not_CoastingStop |
|
||||
@@ -241,6 +253,8 @@ namespace TBF.BenchControl.Danfoss.VLT2800
|
||||
{
|
||||
log.DebugFormat("{0}.TurnOff()", Name);
|
||||
|
||||
this.power = 0;
|
||||
|
||||
UInt16 controlWord = (UInt16)(CW.Not_DcBraking |
|
||||
CW.Not_CoastingStop |
|
||||
CW.Not_QuickStop |
|
||||
|
||||
Reference in New Issue
Block a user