ConOpSys V2970
P004.07
ANVILEX control operating system
|
Electronic load device adapter KG3 BLA T1 (P018.39) board class. More...
#include <P018_39_KG3_BLA.h>
Classes | |
union | TFan_Status |
struct | TP018_39_KG3_BLA_Registers |
union | TStatus |
Public Member Functions | |
TP018_39_KG3_BLA_T1 () | |
Class constructor method. More... | |
virtual | ~TP018_39_KG3_BLA_T1 () |
Class destructor method. More... | |
VOID | Map (TP018_39_KG3_BLA_Registers *struct_Registers_Base_Address) |
Hardware map method. More... | |
virtual VOID | Init () |
Block initialisation method. More... | |
virtual VOID | Execute () |
Block execution method. More... | |
virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
Send information method. More... | |
Public Member Functions inherited from TFunction_Block_Base | |
TFunction_Block_Base (U32 u32_Function_ID) | |
Class constructor method. More... | |
virtual | ~TFunction_Block_Base () |
Class destructor method. More... | |
VOID | Connect () |
Function block connect method. More... | |
VOID | Init () |
Function block initialisation method. More... | |
virtual VOID | Done () |
Function block finalisation method. More... | |
virtual VOID | Update () |
Update parameters at runtime method. More... | |
virtual VOID | Trip () |
Function block trip method. More... | |
U32 | Get_Function_Block_ID () |
Get function block dentifier. More... | |
VOID | Set_Initialisation_Error () |
Set function block initialisation error. More... | |
BOOL | Is_Initialisation_Error () |
Return function block initialisation error status. More... | |
VOID | Append_Connected_Status (BOOL *bool_Connected_Status) |
Append interconnection status of the function block. More... | |
BOOL | Is_Connected () |
Returns status of the function block interconnection. More... | |
BOOL | Is_Initialised () |
Returns status of the function block interconnection. More... | |
BOOL | Get_Input_Connector (U32 u32_Connector_Index, TBlock_Input_Connector **object_Input_Connector) |
Get pointer to the input connector. More... | |
BOOL | Get_Output_Connector (U32 u32_Connector_Index, TBlock_Output_Connector **object_Output_Connector) |
Get pointer to the output connector. More... | |
TFunction_Block_Status | Get_Status () |
Get function block status method. More... | |
__fastcall | TBlock_Template (TComponent *Owner, TList *Storage) |
__fastcall | ~TBlock_Template () |
void __fastcall | CreateBlock () |
virtual void __fastcall | Paint () |
virtual bool __fastcall | PropertiesDialog () |
virtual void __fastcall | SaveToProjectFile (TMemIniFile *ProjectFile, AnsiString ParentSection) |
virtual void __fastcall | LoadFromProjectFile (TMemIniFile *ProjectFile, AnsiString ParentSection) |
virtual void __fastcall | SwapBlocks () |
virtual void __fastcall | RepaintAllBlocks () |
VOID __fastcall | Load_Block_From_List (TStringList *object_File_Source_CPP, TStringList *object_File_Source_H) |
VOID __fastcall | Get_SQL_Queries (TStringList *object_SQL_Queries) |
Additional Inherited Members | |
Protected Member Functions inherited from TFunction_Block_Base | |
VOID | Update_Connected_Status (BOOL bool_New_Connected_Status) |
Updates function block interconnection status. More... | |
VOID | Create_Event (U32 u32_Event_ID) |
Create event method. More... | |
void __fastcall | SetSelectedFlag (bool Value) |
void __fastcall | SetFlippedFlag (bool Value) |
virtual void __fastcall | SetNamesOfConnectors () |
void __fastcall | CorePaint (TObject *Sender) |
Protected Attributes inherited from TFunction_Block_Base | |
TNotifyEvent | FModified |
TNotifyEvent | FNeedToUpdate |
TNotifyEvent | FOnInputConnectorSelected |
TNotifyEvent | FOnOutputConnectorSelected |
TNotifyEvent | FOnCoreSelected |
TResolveConnectorAddressEvent | FOnResolveConnectorAddress |
AnsiString | FLabel = "" |
Function block label of the core string. More... | |
BOOL | FBorder = (BOOL)true |
Function block border status. More... | |
BOOL | FSelected = (BOOL)false |
Function block seleted status. More... | |
BOOL | FFlipped = (BOOL)false |
Function block flipped status. More... | |
BOOL | LockedMode = (BOOL)false |
BOOL | DobbleClicked = (BOOL)false |
U32 | u32_Locked_Position_X = (U32)0 |
U32 | u32_Locked_Position_Y = (U32)0 |
Electronic load device adapter KG3 BLA T1 (P018.39) board class.
TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_T1 | ( | ) |
Class constructor method.
References enum_BOOL, enum_F32, enum_U16, f32_ADC_Gain_1, f32_ADC_Gain_2, f32_ADC_Gain_3, f32_ADC_Offset_1, f32_ADC_Offset_2, f32_ADC_Offset_3, f32_DAC_Gain, f32_DAC_Offset, f32_Fan_Speed_1, f32_Fan_Speed_10, f32_Fan_Speed_11, f32_Fan_Speed_12, f32_Fan_Speed_2, f32_Fan_Speed_3, f32_Fan_Speed_4, f32_Fan_Speed_5, f32_Fan_Speed_6, f32_Fan_Speed_7, f32_Fan_Speed_8, f32_Fan_Speed_9, f32_Fan_Speed_PWM_Setpoint, f32_PWM_Maximum_Setpoint, object_bool_Hardware_Error, object_f32_Analog_Input_Data_1, object_f32_Analog_Input_Data_2, object_f32_Analog_Input_Data_3, object_f32_Analog_Input_Gain_1, object_f32_Analog_Input_Gain_2, object_f32_Analog_Input_Gain_3, object_f32_Analog_Input_Offset_1, object_f32_Analog_Input_Offset_2, object_f32_Analog_Input_Offset_3, object_f32_Analog_Power, object_f32_Fan_Speed_1, object_f32_Fan_Speed_10, object_f32_Fan_Speed_11, object_f32_Fan_Speed_12, object_f32_Fan_Speed_2, object_f32_Fan_Speed_3, object_f32_Fan_Speed_4, object_f32_Fan_Speed_5, object_f32_Fan_Speed_6, object_f32_Fan_Speed_7, object_f32_Fan_Speed_8, object_f32_Fan_Speed_9, object_f32_Fan_Speed_Control_PWM_Carrier_Frequency, object_f32_Fan_Speed_Setpoint, object_f32_Output_Current_Setpoint, object_u16_Analog_Input_Raw_Data_1, object_u16_Analog_Input_Raw_Data_2, object_u16_Analog_Input_Raw_Data_3, object_u16_Analog_Input_Status, TBlock_Connector::Set_Type(), TBlock_Input_Connector::Set_Type_F32(), and TBlock_Connector::Set_Type_U16().
|
virtual |
Class destructor method.
|
virtual |
Block execution method.
Implements TFunction_Block_Base.
References Convert_F32_To_Saturated_U16(), TNTC::enum_10000_Ohm, TNTC::enum_B25_100_3900, f32_ADC_Gain_1, f32_ADC_Gain_2, f32_ADC_Offset_1, f32_ADC_Offset_2, f32_DAC_Data, f32_DAC_Gain, f32_Fan_Speed_1, f32_Fan_Speed_10, f32_Fan_Speed_11, f32_Fan_Speed_12, f32_Fan_Speed_2, f32_Fan_Speed_3, f32_Fan_Speed_4, f32_Fan_Speed_5, f32_Fan_Speed_6, f32_Fan_Speed_7, f32_Fan_Speed_8, f32_Fan_Speed_9, f32_IR108, f32_IR707, f32_PWM_Maximum_Setpoint, f32_R108, f32_Temperature, f32_Uadc, f32_UR108, TConOpSys_Variant_Data::f32_Value, object_f32_Analog_Input_Data_1, object_f32_Analog_Input_Data_2, object_f32_Analog_Input_Data_3, object_f32_Analog_Input_Gain_1, object_f32_Analog_Input_Gain_2, object_f32_Analog_Input_Gain_3, object_f32_Analog_Input_Offset_1, object_f32_Analog_Input_Offset_2, object_f32_Analog_Input_Offset_3, object_f32_Analog_Power, object_f32_Fan_Speed_1, object_f32_Fan_Speed_10, object_f32_Fan_Speed_11, object_f32_Fan_Speed_12, object_f32_Fan_Speed_2, object_f32_Fan_Speed_3, object_f32_Fan_Speed_4, object_f32_Fan_Speed_5, object_f32_Fan_Speed_6, object_f32_Fan_Speed_7, object_f32_Fan_Speed_8, object_f32_Fan_Speed_9, object_f32_Fan_Speed_Setpoint, object_f32_Output_Current_Setpoint, object_NTC, TBlock_Input_Connector::object_Pointer, TBlock_Connector::object_Storage, object_u16_Analog_Input_Raw_Data_1, object_u16_Analog_Input_Raw_Data_2, object_u16_Analog_Input_Raw_Data_3, object_u16_Analog_Input_Status, TConOpSys_Variant_Data::pf32_Value, TNTC::Resistance_To_Temperature(), TConOpSys_Variant::struct_Data, struct_Registers, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Data_1, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Data_2, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Data_3, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Status, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_DAC_Data, u16_DAC_Data, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Setpoint, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_1, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_10, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_11, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_12, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_2, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_3, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_4, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_5, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_6, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_7, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_8, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Fan_Speed_Status_Carrier_Period_9, and TConOpSys_Variant_Data::u16_Value.
|
virtual |
Block initialisation method.
References f32_ADC_Gain_1, f32_ADC_Gain_2, f32_ADC_Gain_3, f32_ADC_Offset_1, f32_ADC_Offset_2, f32_ADC_Offset_3, f32_DAC_Gain, f32_PWM_Maximum_Setpoint, object_f32_Fan_Speed_Control_PWM_Carrier_Frequency, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
VOID TP018_39_KG3_BLA_T1::Map | ( | TP018_39_KG3_BLA_Registers * | struct_Registers_Base_Address | ) |
Hardware map method.
References struct_Registers.
|
virtual |
Send information method.
Reimplemented from TFunction_Block_Base.
References f32_IR108, f32_IR707, f32_R108, f32_Temperature, f32_Uadc, f32_UR108, TConOpSys_Variant_Data::f32_Value, object_bool_Hardware_Error, object_f32_Analog_Input_Data_1, object_f32_Analog_Input_Data_2, object_f32_Analog_Input_Data_3, object_f32_Analog_Input_Offset_1, object_f32_Analog_Input_Offset_2, object_f32_Analog_Input_Offset_3, object_f32_Analog_Power, object_f32_Fan_Speed_1, object_f32_Fan_Speed_10, object_f32_Fan_Speed_11, object_f32_Fan_Speed_12, object_f32_Fan_Speed_2, object_f32_Fan_Speed_3, object_f32_Fan_Speed_4, object_f32_Fan_Speed_5, object_f32_Fan_Speed_6, object_f32_Fan_Speed_7, object_f32_Fan_Speed_8, object_f32_Fan_Speed_9, object_f32_Fan_Speed_Control_PWM_Carrier_Frequency, object_f32_Fan_Speed_Setpoint, object_f32_Output_Current_Setpoint, TBlock_Connector::object_Storage, object_u16_Analog_Input_Raw_Data_1, object_u16_Analog_Input_Raw_Data_2, object_u16_Analog_Input_Raw_Data_3, object_u16_Analog_Input_Status, TConOpSys_Variant::struct_Data, struct_Registers, TProtocol_Base::Transmit_Connector_Value_As_Decimal(), TProtocol_Base::Transmit_F32_Value_As_Decimal(), TProtocol_Base::Transmit_New_Line(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U16_Value_As_Decimal(), TProtocol_Base::Transmit_U16_Value_As_Hex(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Filtered_Data_1, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Filtered_Data_2, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_ADC_Filtered_Data_3, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Unit_ID_H, TP018_39_KG3_BLA_T1::TP018_39_KG3_BLA_Registers::u16_Unit_ID_L, and TConOpSys_Variant_Data::u16_Value.
|
private |
Effective gain of the ADC channel 1.
Referenced by Execute(), Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective gain of the ADC channel 2.
Referenced by Execute(), Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective gain of the ADC channel 3.
Referenced by Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective offset of the ADC channel 1.
Referenced by Execute(), Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective offset of the ADC channel 2.
Referenced by Execute(), Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective offset of the ADC channel 3.
Referenced by Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective gain of the DAC channel.
Referenced by Execute(), Init(), and TP018_39_KG3_BLA_T1().
|
private |
Effective offset of the DAC channel.
Referenced by TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and Send_Information().
|
private |
Referenced by Execute(), and Send_Information().
|
private |
Referenced by Execute(), Init(), and TP018_39_KG3_BLA_T1().
|
private |
Referenced by Execute(), and Send_Information().
|
private |
Referenced by Execute(), and Send_Information().
|
private |
Referenced by Execute(), and Send_Information().
|
private |
Referenced by Execute(), and Send_Information().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_bool_Hardware_Error |
Critical hardware error flag.
Referenced by Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Data_1 |
Analog input channel 1 block output.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Data_2 |
Analog input channel 2 block output.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Data_3 |
Analog input channel 3 block output.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Gain_1 |
Analog input channel 1 gain.
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Gain_2 |
Analog input channel 2 gain.
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Gain_3 |
Analog input channel 3 gain.
Referenced by Execute(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Offset_1 |
Analog input channel 1 offset.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Offset_2 |
Analog input channel 2 offset.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Input_Offset_3 |
Analog input channel 3 offset.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Analog_Power |
Analog power output.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_1 |
Speed of cooling fan 1.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_10 |
Speed of cooling fan 10.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_11 |
Speed of cooling fan 11.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_12 |
Speed of cooling fan 12.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_2 |
Speed of cooling fan 2.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_3 |
Speed of cooling fan 3.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_4 |
Speed of cooling fan 4.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_5 |
Speed of cooling fan 5.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_6 |
Speed of cooling fan 6.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_7 |
Speed of cooling fan 7.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_8 |
Speed of cooling fan 8.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_9 |
Speed of cooling fan 9.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_Control_PWM_Carrier_Frequency |
Fan speed PWM carrier frequency.
Referenced by Init(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Fan_Speed_Setpoint |
Fan speed setpoint.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Input_Connector TP018_39_KG3_BLA_T1::object_f32_Output_Current_Setpoint |
Output current setpoint.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_u16_Analog_Input_Raw_Data_1 |
Analog input channel 1 block output as I16.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_u16_Analog_Input_Raw_Data_2 |
Analog input channel 2 block output as I16.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_u16_Analog_Input_Raw_Data_3 |
Analog input channel 3 block output as I16.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
TBlock_Output_Connector TP018_39_KG3_BLA_T1::object_u16_Analog_Input_Status |
Analog input status.
Referenced by Execute(), Send_Information(), and TP018_39_KG3_BLA_T1().
|
private |
Hardware mapped registers.
Referenced by Execute(), Map(), and Send_Information().