![]() |
tcio
|
Functions | |
DLL_RESULT | TC42GetQ4ControllerCurrentFFWDGain (short *pGain) |
Get Feedforward-Gain of Q4 current controller. More... | |
DLL_RESULT | TC42GetQ4ControllerCurrentIGain (short *pGain) |
Get I-Gain of Q4 current controller. More... | |
DLL_RESULT | TC42GetQ4ControllerCurrentPGain (short *pGain) |
Get P-Gain of Q4 current controller. More... | |
DLL_RESULT | TC42GetQ4ControllerPowerIGain (short *pGain) |
Get I-Gain of Q4 power controller. More... | |
DLL_RESULT | TC42GetQ4ControllerPowerPGain (short *pGain) |
Get P-Gain of Q4 power controller. More... | |
DLL_RESULT | TC42GetQ4ControllerVoltageFFWDGain (short *pGain) |
Get Feedforward-Gain of Q4 voltage controller. More... | |
DLL_RESULT | TC42GetQ4ControllerVoltageIGain (short *pGain) |
Get I-Gain of Q4 voltage controller. More... | |
DLL_RESULT | TC42GetQ4ControllerVoltagePGain (short *pGain) |
Get P-Gain of Q4 voltage controller. More... | |
DLL_RESULT | TC42SetQ4ControllerCurrentFFWDGain (short Gain) |
Set Feedforward-Gain of Q4 current controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerCurrentIGain (short Gain) |
Set I-Gain of Q4 current controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerCurrentPGain (short Gain) |
Set P-Gain of Q4 current controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerPowerIGain (short Gain) |
Set I-Gain of Q4 power controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerPowerPGain (short Gain) |
Set P-Gain of Q4 power controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerVoltageFFWDGain (short Gain) |
Set Feedforward-Gain of Q4 voltage controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerVoltageIGain (short Gain) |
Set I-Gain of Q4 voltage controller [0...32767]. More... | |
DLL_RESULT | TC42SetQ4ControllerVoltagePGain (short Gain) |
Set P-Gain of Q4 voltage controller [0...32767]. More... | |
DLL_RESULT | TC4GetAdaptivControlSettings (unsigned int *vpadaptiv, unsigned int *viadaptiv, unsigned int *cpadaptiv, unsigned int *ciadaptiv) |
Reads actual adaptiv controller settings. More... | |
DLL_RESULT | TC4GetAnalogBW (unsigned int *pAnalogIn, unsigned int *pAnalogOut) |
Reads the actual bandwidth limit for set values and actual values on analog interface. More... | |
DLL_RESULT | TC4GetControlIn (unsigned int *pVoltageOn) |
With this function you can determine whether output voltage is enabled or disabled. More... | |
DLL_RESULT | TC4GetCurrentControlSettings (unsigned int *pPGain, unsigned int *pIGain, unsigned int *pDGain, unsigned int *pFeed, unsigned int *pTime1) |
Reads the actual controller parameters of the current. More... | |
DLL_RESULT | TC4GetLoadReject (unsigned int *reduction, unsigned int *cdifference) |
Reads load reject settings. More... | |
DLL_RESULT | TC4GetOperatingModeQ1Only (unsigned short *pEnable) |
Query if operating mode is limited to Q1 only. More... | |
DLL_RESULT | TC4GetOperatingModeQ4Only (unsigned short *pEnable) |
Query if operating mode is limited to Q4 only. More... | |
DLL_RESULT | TC4GetPowerControlSettings (unsigned int *pPGain, unsigned int *pIGain) |
Reads the actual controller parameters of the voltage. More... | |
DLL_RESULT | TC4GetSlaveCharacteristics (int *slavevolterr, int *slavecurrerr, unsigned int *turnoffslaves) |
Reads actual settings for slave characteristics. More... | |
DLL_RESULT | TC4GetVoltageControlSettings (unsigned int *pPGain, unsigned int *pIGain, unsigned int *pDGain, unsigned int *pFeed, unsigned int *pTime1) |
Reads the actual controller parameters of the voltage. More... | |
DLL_RESULT | TC4GetVoltageSlopeRamp (unsigned int *pSlope, unsigned int *pRamp) |
Reads the actual slopes and ramps for voltage. More... | |
DLL_RESULT | TC4SetAdaptivControlSettings (unsigned int vpadaptiv, unsigned int viadaptiv, unsigned int cpadaptiv, unsigned int ciadaptiv) |
Sets adaptive controller parameters. Adaptiv controller parameters can improve controller behaviour when load impedance changes. More... | |
DLL_RESULT | TC4SetAnalogBW (unsigned int analogIn, unsigned int analogOut) |
Sets bandwidth limit for analog set values and analog actual values. More... | |
DLL_RESULT | TC4SetControlIn (unsigned int voltageOn) |
Enables and disables output voltage. More... | |
DLL_RESULT | TC4SetCurrentControlSettings (unsigned int pGain, unsigned int iGain, unsigned int dGain, unsigned int feed, unsigned int time1) |
Sets controller parameters current. More... | |
DLL_RESULT | TC4SetCurrentSlopeRamp (unsigned int slope, unsigned int ramp) |
Set slope and ramp values for current set values. More... | |
DLL_RESULT | TC4SetLoadReject (unsigned int reduction, unsigned int cdifference) |
Sets load reject parameters. These parameters can improve controller behaviour on load rejection. More... | |
DLL_RESULT | TC4SetOperatingModeQ1Only (unsigned short Enable) |
Set operating mode to Q1 only. Be sure to not disable operating range to Q4 only at the same time. Otherwise output is disabled (as nether Q1 nor Q4 operating mode is allowed) More... | |
DLL_RESULT | TC4SetOperatingModeQ4Only (unsigned short Enable) |
Set operating mode to Q4 only. Be sure to not disable operating range to Q1 only at the same time. Otherwise output is disabled (as nether Q1 nor Q4 operating mode is allowed) More... | |
DLL_RESULT | TC4SetPowerControlSettings (unsigned int pGain, unsigned int iGain) |
Sets controller parameters power. More... | |
DLL_RESULT | TC4SetSlaveCharacteristics (int slavevolterr, int slavecurrerr, unsigned int turnoffslaves) |
Set parameters for slave characteristics. These parameters determine whether TopCon Slaves try to reach set values fast or slow, depending on their actual control-error. Automatically turning off the slave controller when load current is very small or zero can improve output voltage stability. More... | |
DLL_RESULT | TC4SetVoltageControlSettings (unsigned int pGain, unsigned int iGain, unsigned int dGain, unsigned int feed, unsigned int time1) |
Sets controller parameters voltage. More... | |
DLL_RESULT | TC4SetVoltageSlopeRamp (unsigned int slope, unsigned int ramp) |
Set slope and ramp values for voltage set values. More... | |
Values to read/change controller PID parameters and other controller related settings.
DLL_RESULT TC42GetQ4ControllerCurrentFFWDGain | ( | short * | pGain | ) |
Get Feedforward-Gain of Q4 current controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerCurrentIGain | ( | short * | pGain | ) |
Get I-Gain of Q4 current controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerCurrentPGain | ( | short * | pGain | ) |
Get P-Gain of Q4 current controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerPowerIGain | ( | short * | pGain | ) |
Get I-Gain of Q4 power controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerPowerPGain | ( | short * | pGain | ) |
Get P-Gain of Q4 power controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerVoltageFFWDGain | ( | short * | pGain | ) |
Get Feedforward-Gain of Q4 voltage controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerVoltageIGain | ( | short * | pGain | ) |
Get I-Gain of Q4 voltage controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42GetQ4ControllerVoltagePGain | ( | short * | pGain | ) |
Get P-Gain of Q4 voltage controller.
[out] | pGain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerCurrentFFWDGain | ( | short | Gain | ) |
Set Feedforward-Gain of Q4 current controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerCurrentIGain | ( | short | Gain | ) |
Set I-Gain of Q4 current controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerCurrentPGain | ( | short | Gain | ) |
Set P-Gain of Q4 current controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerPowerIGain | ( | short | Gain | ) |
Set I-Gain of Q4 power controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerPowerPGain | ( | short | Gain | ) |
Set P-Gain of Q4 power controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerVoltageFFWDGain | ( | short | Gain | ) |
Set Feedforward-Gain of Q4 voltage controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerVoltageIGain | ( | short | Gain | ) |
Set I-Gain of Q4 voltage controller [0...32767].
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC42SetQ4ControllerVoltagePGain | ( | short | Gain | ) |
Set P-Gain of Q4 voltage controller [0...32767].
TC4__ regen / TC42__ GSS extension
[in] | Gain | [#] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetAdaptivControlSettings | ( | unsigned int * | vpadaptiv, |
unsigned int * | viadaptiv, | ||
unsigned int * | cpadaptiv, | ||
unsigned int * | ciadaptiv | ||
) |
Reads actual adaptiv controller settings.
[out] | vpadaptiv | Adaptive gain for voltage controller P-gain |
[out] | viadaptiv | Adaptive gain for voltage controller I-gain |
[out] | cpadaptiv | Adaptive gain for current controller P-gain |
[out] | ciadaptiv | Adaptive gain for current controller I-gain |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetAnalogBW | ( | unsigned int * | pAnalogIn, |
unsigned int * | pAnalogOut | ||
) |
Reads the actual bandwidth limit for set values and actual values on analog interface.
[out] | pAnalogIn | Actual bandwidth limit for analog set values |
[out] | pAnalogOut | Actual bandwidth limit for analog actual values |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetControlIn | ( | unsigned int * | pVoltageOn | ) |
With this function you can determine whether output voltage is enabled or disabled.
[out] | pVoltageOn | Actual output voltage state |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetCurrentControlSettings | ( | unsigned int * | pPGain, |
unsigned int * | pIGain, | ||
unsigned int * | pDGain, | ||
unsigned int * | pFeed, | ||
unsigned int * | pTime1 | ||
) |
Reads the actual controller parameters of the current.
[out] | pPGain | Actual P-gain |
[out] | pIGain | Actual I-gain |
[out] | pDGain | Actual D-gain |
[out] | pFeed | Actual feed-forward-gain |
[out] | pTime1 | Actual time delay for D-gain |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetLoadReject | ( | unsigned int * | reduction, |
unsigned int * | cdifference | ||
) |
Reads load reject settings.
[out] | reduction | Controller output reduction [0...4096] 0: 0% 4096: 100% |
[out] | cdifference | Current difference within 50us for load reject detection [0...4000] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetOperatingModeQ1Only | ( | unsigned short * | pEnable | ) |
Query if operating mode is limited to Q1 only.
[out] | pEnable | 0: false 1: true |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetOperatingModeQ4Only | ( | unsigned short * | pEnable | ) |
Query if operating mode is limited to Q4 only.
[out] | pEnable | 0: false 1: true |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetPowerControlSettings | ( | unsigned int * | pPGain, |
unsigned int * | pIGain | ||
) |
Reads the actual controller parameters of the voltage.
[out] | pPGain | Actual P-gain |
[out] | pIGain | Actual I-gain |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetSlaveCharacteristics | ( | int * | slavevolterr, |
int * | slavecurrerr, | ||
unsigned int * | turnoffslaves | ||
) |
Reads actual settings for slave characteristics.
[in] | slavevolterr | Actual allowed slave voltage error [-4000...4000]. (the values correspond in percentage from [-100%...100.0%] of nominal voltage) |
[in] | slavecurrerr | Actual allowed slave current error [-4000...4000] (the values correspond in percentage from [-100%...100.0%] of maximum current) |
[in] | turnoffslaves | Actual setting whether slaves are automatically turned off on small or zero load current. |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetVoltageControlSettings | ( | unsigned int * | pPGain, |
unsigned int * | pIGain, | ||
unsigned int * | pDGain, | ||
unsigned int * | pFeed, | ||
unsigned int * | pTime1 | ||
) |
Reads the actual controller parameters of the voltage.
[out] | pPGain | Actual P-gain |
[out] | pIGain | Actual I-gain |
[out] | pDGain | Actual D-gain |
[out] | pFeed | Actual feed-forward-gain |
[out] | pTime1 | Actual time delay for D-gain |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4GetVoltageSlopeRamp | ( | unsigned int * | pSlope, |
unsigned int * | pRamp | ||
) |
Reads the actual slopes and ramps for voltage.
[out] | pSlope | Actual startup ramp value (this ramp will be applied to set values when enabling output voltage) |
[out] | pRamp | Actual ramp value (this ramp will be applied to set values when they are changed) |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetAdaptivControlSettings | ( | unsigned int | vpadaptiv, |
unsigned int | viadaptiv, | ||
unsigned int | cpadaptiv, | ||
unsigned int | ciadaptiv | ||
) |
Sets adaptive controller parameters. Adaptiv controller parameters can improve controller behaviour when load impedance changes.
[in] | vpadaptiv | Adaptive gain for voltage controller P-gain |
[in] | viadaptiv | Adaptive gain for voltage controller I-gain |
[in] | cpadaptiv | Adaptive gain for current controller P-gain |
[in] | ciadaptiv | Adaptive gain for current controller I-gain |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetAnalogBW | ( | unsigned int | analogIn, |
unsigned int | analogOut | ||
) |
Sets bandwidth limit for analog set values and analog actual values.
[in] | analogIn | bandwidth limit for analog set values [0...15] |
[in] | analogOut | bandwidth limit for analog actual values [0...15] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetControlIn | ( | unsigned int | voltageOn | ) |
Enables and disables output voltage.
[in] | voltageOn | 0: power unit off 1: power unit on |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetCurrentControlSettings | ( | unsigned int | pGain, |
unsigned int | iGain, | ||
unsigned int | dGain, | ||
unsigned int | feed, | ||
unsigned int | time1 | ||
) |
Sets controller parameters current.
[in] | pGain | P-gain [0...32767] |
[in] | iGain | I-gain [0...32767] |
[in] | dGain | D-gain [0...32767] |
[in] | feed | Feed-forward-gain [0...32767] |
[in] | time1 | Time delay for D-gain [0...16383] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetCurrentSlopeRamp | ( | unsigned int | slope, |
unsigned int | ramp | ||
) |
Set slope and ramp values for current set values.
[in] | slope | ramp value for ramp at voltage on [1...32000] |
[in] | ramp | ramp value for ramp on changing set values [1...32000] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetLoadReject | ( | unsigned int | reduction, |
unsigned int | cdifference | ||
) |
Sets load reject parameters. These parameters can improve controller behaviour on load rejection.
[in] | reduction | Reduces controller output to X% of actual value when detecting load rejection [0...4096] 0: 0% 4096: 100% |
[in] | cdifference | Minimal current difference between two cycles (50us) to detect load rejection [0...4000]. |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetOperatingModeQ1Only | ( | unsigned short | Enable | ) |
Set operating mode to Q1 only.
Be sure to not disable operating range to Q4 only at the same time.
Otherwise output is disabled (as nether Q1 nor Q4 operating mode is allowed)
[in] | Enable | 0: false 1: true |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetOperatingModeQ4Only | ( | unsigned short | Enable | ) |
Set operating mode to Q4 only.
Be sure to not disable operating range to Q1 only at the same time.
Otherwise output is disabled (as nether Q1 nor Q4 operating mode is allowed)
[in] | Enable | 0: false 1: true |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetPowerControlSettings | ( | unsigned int | pGain, |
unsigned int | iGain | ||
) |
Sets controller parameters power.
[in] | pGain | P-gain [0...32767] |
[in] | iGain | I-gain [0...32767] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetSlaveCharacteristics | ( | int | slavevolterr, |
int | slavecurrerr, | ||
unsigned int | turnoffslaves | ||
) |
Set parameters for slave characteristics. These parameters determine whether TopCon Slaves try to reach set values fast or slow, depending on their actual control-error. Automatically turning off the slave controller when load current is very small or zero can improve output voltage stability.
[in] | slavevolterr | Allowed slave voltage error [-4000...4000] (the values correspond in percentage from [-100%...100%]) of nominal voltage) If the actual voltage error is smaller than this limit the slave reaches the set values slowly. |
[in] | slavecurrerr | Allowed slave current error [-4000...4000] (the values correspond in percentage from [-100%...100%]) of maximum current) If the actual current error is smaller that this limit the slave reaches the set values slowly. |
[in] | turnoffslaves | Turn off slaves on small or zero load current: 0: no 1: yes |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetVoltageControlSettings | ( | unsigned int | pGain, |
unsigned int | iGain, | ||
unsigned int | dGain, | ||
unsigned int | feed, | ||
unsigned int | time1 | ||
) |
Sets controller parameters voltage.
[in] | pGain | P-gain [0...32767] |
[in] | iGain | I-gain [0...32767] |
[in] | dGain | D-gain [0...32767] |
[in] | feed | Feed-forward-gain [0...32767] |
[in] | time1 | Time delay for D-gain [0...16383] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs DLL_RESULT TC4SetVoltageSlopeRamp | ( | unsigned int | slope, |
unsigned int | ramp | ||
) |
Set slope and ramp values for voltage set values.
[in] | slope | ramp value for ramp at voltage on [1...32000] |
[in] | ramp | ramp value for ramp on changing set values [1...32000] |
DLL_SUCCESS
for success or DLL_FAIL
or other value if an error occurs