PWRCONST.New()
Type: CLASS FUNCTION
Purpose: Create a new Pwrconst signal object.
Usage:
Signal = PWRCONST.New
(
Tag,
Pstat,
Value,
LimitValue,
Gain,
MinDif,
MaxStep,
TotalTime,
SamplePeriod,
PerturbationRate,
PerturbationPulseWidth,
TimerRes,
Mode,
WorkingPositive
)
Tag
- STRING
- Tag for object identification
Pstat
Value
- REAL
- The value to be set by the signal object. This units of this value depend upon the mode selected. The units are either volts, amperes, ohms, or watts.
LimitValue
- REAL
- This value is used to specify a limit used in calculating the signal.
It is not used for
PWR_MODE_CURRENT_DISCHARGE or
PWR_MODE_CURRENT_CHARGE. Enter 0.0.
For PWR_MODE_VOLTAGE it is the maximum current to be encountered, entered in amperes.
For PWR_MODE_POWER it is the minimum voltage to be encountered, entered in volts.
For PWR_MODE_RESISTANCE it is the maximum voltage to be encountered, entered in volts.
Gain
- REAL
- This is the gain used during the feedback loop. It should be left at the default value,
- PWR800_DEFAULT_GAIN
MinDif
- REAL
- This is the percentage above/below the nominal value, used during a perturbation. The nominal value is the current that is being applied by the signal. It is entered as a decimal where 1.0 = 100%. It should be left at the default value,
- PWR800_DEFAULT_MINIMUM_DIFFERENCE
MaxStep
- REAL
- This is the percentage of full scale that is used to limit the maximum step in current during the feedback loop. The I/E current range determines the full-scale value. The percentage is entered as a decimal where 1.0 = 100% of the scale. It should be left at the default value.
- PWR800_DEFAULT_MAXIMUM_STEP
Total Time
- REAL
- This is the total time that the signal is to be applied, entered in seconds.
SamplePeriod
- REAL
- This is the sample period, entered in seconds. This signal performs a feedback loop. The TimerRes determines the speed of the timer. The SamplePeriod determines the timing of output points.
PerturbationRate
- REAL
- This is the time, entered in seconds, between perturbations of the signal. A perturbation is an increase followed by a matching decrease in the applied signal value. This perturbation allows the signal to determine the response of the cell so that the feedback loop can work properly. Perturbations are only necessary in feedback modes. These modes are
- PWR_MODE_RESISTANCE,
- PWR_MODE_POWER, and
- PWR_MODE_VOLTAGE.
- Perturbations are skipped if the control algorithm determines they are not necessary. This value should be left at the default value.
- PWR800_DEFAULT_PERTURBATION_RATE
PerturbationPulseWidth
- REAL
- This is the width of a perturbation, entered in seconds. A perturbation includes both an increase and a decrease, each will be held for this amount of time. This should be left at the default value.
- PWR800_DEFAULT_PERTURBATION_WIDTH
TimerRes
- REAL
- This is the fundamental timer setting of the instrument in seconds. It should be left at the default.
- PWR800_DEFAULT_TIMER_RESOLUTION
Mode
- INDEX
- This is the control mode of the signal. The following constants are valid values.
- PWR_MODE_CURRENT_DISCHARGE
- PWR_MODE_RESISTANCE
- PWR_MODE_POWER
- PWR_MODE_VOLTAGE
- PWR_MODE_CURRENT_CHARGE
WorkingPositive
- BOOL
- This value specifies if the working connection is connected to the positive or negative terminal.
- TRUE = Working connected to positive terminal
- FALSE = Working connected to negative terminal
- Signal OBJECT The created PWRCONST object.
Comments are closed.