PMaxTest and LeakTest improvements:

- result items P_xy_start and P_xy_end added
- DurationLeak test parameter for LeakTest method
- correct default parameters for Danfoss.VLT2800.Pump (FC protocol)
- bug fixes
This commit is contained in:
Milan Hanajik
2015-02-20 13:07:21 +01:00
parent 286bd13eb8
commit 08e53c090e
13 changed files with 395 additions and 217 deletions
@@ -15,9 +15,9 @@ namespace TBF.BenchControl.Danfoss.VLT2800
/// Serialized parameters
///
public int Delay; // Delay of the pump function in [s] (affects the duration of transition sequence steps)
public PumpProtocol Protocol; // Modbus or FC
public PumpProtocol Protocol; // Modbus or FC with Siemens address
public int BitPosition;
public int BusAddress; // Modbus or FC address in range 1..247 (Modbus) or 1..31 (FC)
public int BusAddress; // Modbus or FC address in range 1..247 (Modbus) or 1..31 (FC with Siemens address)
public int ComPortNr;
public int BaudRate;
public Parity Parity;
@@ -28,14 +28,16 @@ namespace TBF.BenchControl.Danfoss.VLT2800
PumpCfg()
{
Name = "Pump-Danfoss";
ParentName = string.Empty;
Delay = 1;
Protocol = PumpProtocol.Modbus;
ComPortNr = 3;
/// Default protocol settings (the same as Danfoss VLT2800 factory settings)
Protocol = PumpProtocol.FC;
BusAddress = 1;
ParentName = string.Empty;
ComPortNr = 5;
BaudRate = 9600;
DataBits = 8;
Parity = System.IO.Ports.Parity.None;
Parity = System.IO.Ports.Parity.Even; /// 'Parity.None' is the default value for Protocol = PumpProtocol.Modbus
StopBits = System.IO.Ports.StopBits.One;
}