blob: af9f7b843695f2cee3d16146eeaf6df9d2b66d8d (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
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 FeederPidControl = new HardwarePidControl();
FeederPidControl.HardwarePidControlType = Tango.PMR.Hardware.HardwarePidControlType.MotorFeeder;
FeederPidControl.OutputProportionalPowerLimit = 1.0;
FeederPidControl.OutputProportionalBand = 5;
FeederPidControl.IntegralTime = 5;
FeederPidControl.DerivativeTime = 0;
FeederPidControl.SensorCorrectionAdjustment = 0;
FeederPidControl.SensorMinValue = 0;
FeederPidControl.SensorMaxValue = 0;
FeederPidControl.SetPointRampRateorSoftStartRamp = 0;
FeederPidControl.SetPointControlOutputRate = 4;
FeederPidControl.ControlOutputType = 0;
FeederPidControl.SsrControlOutputType = 0;
FeederPidControl.OutputOnOffHysteresisValue = 0;
FeederPidControl.ProcessVariableSamplingRate = 1000;
FeederPidControl.PvInputFilterFactorMode = 4;
FeederPidControl.OutputProportionalCycleTime = 0;
FeederPidControl.AcHeatersHalfCycleTime = 0;
FeederPidControl.ProportionalGain = 50.0;
HardwarePidControl PoolerPidControl = new HardwarePidControl();
PoolerPidControl.HardwarePidControlType = Tango.PMR.Hardware.HardwarePidControlType.MotorPooler;
PoolerPidControl.OutputProportionalPowerLimit = 1.0;
PoolerPidControl.OutputProportionalBand = 5;
PoolerPidControl.IntegralTime = 5;
PoolerPidControl.DerivativeTime = 0;
PoolerPidControl.SensorCorrectionAdjustment = 0;
PoolerPidControl.SensorMinValue = 0;
PoolerPidControl.SensorMaxValue = 0;
PoolerPidControl.SetPointRampRateorSoftStartRamp = 0;
PoolerPidControl.SetPointControlOutputRate = 4;
PoolerPidControl.ControlOutputType = 0;
PoolerPidControl.SsrControlOutputType = 0;
PoolerPidControl.OutputOnOffHysteresisValue = 0;
PoolerPidControl.ProcessVariableSamplingRate = 1000;
PoolerPidControl.PvInputFilterFactorMode = 4;
PoolerPidControl.OutputProportionalCycleTime = 0;
PoolerPidControl.AcHeatersHalfCycleTime = 0;
PoolerPidControl.ProportionalGain = 11.0;
HardwarePidControl WinderPidControl = new HardwarePidControl();
WinderPidControl.HardwarePidControlType = Tango.PMR.Hardware.HardwarePidControlType.MotorWinder;
WinderPidControl.OutputProportionalPowerLimit = 1.0;
WinderPidControl.OutputProportionalBand = 5;
WinderPidControl.IntegralTime = 7;
WinderPidControl.DerivativeTime = 0;
WinderPidControl.SensorCorrectionAdjustment = 0;
WinderPidControl.SensorMinValue = 0;
WinderPidControl.SensorMaxValue = 0;
WinderPidControl.SetPointRampRateorSoftStartRamp = 0;
WinderPidControl.SetPointControlOutputRate = 4;
WinderPidControl.ControlOutputType = 0;
WinderPidControl.SsrControlOutputType = 0;
WinderPidControl.OutputOnOffHysteresisValue = 0;
WinderPidControl.ProcessVariableSamplingRate = 1000;
WinderPidControl.PvInputFilterFactorMode = 4;
WinderPidControl.OutputProportionalCycleTime = 0;
WinderPidControl.AcHeatersHalfCycleTime = 0;
WinderPidControl.ProportionalGain = 12.0;
|