aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs/addedfiles/ACHeatersDefinition.cs
blob: f815c1cd4a36c17d174e07d6674da4f97b545167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
using System;
using System.Text;
using System.Linq;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Tango.PMR.Hardware;
using Tango.PMR.Printing;
using Tango.PMR.Stubs;
using Tango.Stubs;

HardwarePidControl DryerHeater1000 = new HardwarePidControl();
DryerHeater1000.HardwarePidControlType = Tango.PMR.Hardware.HardwarePidControlType.DryerHeater1000W;
DryerHeater1000.OutputProportionalBand = 1;
DryerHeater1000.SensorCorrectionAdjustment = 2.0;
DryerHeater1000.IntegralTime = 0.01;
DryerHeater1000.OutputProportionalPowerLimit = 100;
DryerHeater1000.IntegralTime = 5;
DryerHeater1000.DerivativeTime = 0;
DryerHeater1000.SensorCorrectionAdjustment = 0;
DryerHeater1000.SensorMinValue = 2;
DryerHeater1000.SensorMaxValue = 250;
DryerHeater1000.SetPointRampRateorSoftStartRamp = 0;
DryerHeater1000.SetPointControlOutputRate = 4;
DryerHeater1000.ControlOutputType = 0;
DryerHeater1000.SsrControlOutputType = 0;
DryerHeater1000.OutputOnOffHysteresisValue = 0;
DryerHeater1000.ProcessVariableSamplingRate = 1000;
DryerHeater1000.PvInputFilterFactorMode = 4;
DryerHeater1000.OutputProportionalCycleTime = 0;
DryerHeater1000.AcHeatersHalfCycleTime = 0;
DryerHeater1000.ProportionalGain = 20.0;
  
HardwarePidControl DryerHeater200w1 = new HardwarePidControl();
DryerHeater200w1.HardwarePidControlType = Tango.PMR.Hardware.HardwarePidControlType.DryerHeater200W1;
DryerHeater200w1.OutputProportionalPowerLimit = 0;//small heater is OFF after initial heating
DryerHeater200w1.OutputProportionalBand = 1;
DryerHeater200w1.SensorCorrectionAdjustment = 0.5;
DryerHeater200w1.IntegralTime = 0.1;
DryerHeater200w1.OutputProportionalPowerLimit = 0;
DryerHeater200w1.OutputProportionalBand = 5;
DryerHeater200w1.IntegralTime = 5;
DryerHeater200w1.DerivativeTime = 0;
DryerHeater200w1.SensorCorrectionAdjustment = 0;
DryerHeater200w1.SensorMinValue = 0;
DryerHeater200w1.SensorMaxValue = 0;
DryerHeater200w1.SetPointRampRateorSoftStartRamp = 0;
DryerHeater200w1.SetPointControlOutputRate = 4;
DryerHeater200w1.ControlOutputType = 0;
DryerHeater200w1.SsrControlOutputType = 0;
DryerHeater200w1.OutputOnOffHysteresisValue = 0;
DryerHeater200w1.ProcessVariableSamplingRate = 1000;
DryerHeater200w1.PvInputFilterFactorMode = 4;
DryerHeater200w1.OutputProportionalCycleTime = 0;
DryerHeater200w1.AcHeatersHalfCycleTime = 0;
DryerHeater200w1.ProportionalGain = 20.0;

//hardwareConfiguration.PidControls.Add(DryerHeater1000);
//hardwareConfiguration.PidControls.Add(DryerHeater200w1);