|
ConOpSys V2970
P004.07
ANVILEX control operating system
|
KG2 RTD2 T1 (P017.64 V1 T1) board class. More...
#include <KG3_RTD2_T1.h>


Classes | |
| struct | TKG3_RTD2_T1_Registers |
| union | TStatus |
Public Member Functions | |
| TKG3_RTD2_T1 () | |
| Class constructor method. More... | |
| virtual | ~TKG3_RTD2_T1 () |
| Class destructor method. More... | |
| VOID | Map (TKG3_RTD2_T1_Registers *struct_Registers_Base_Address) |
| virtual VOID | Init () |
| Functional block initialisation method. More... | |
| virtual VOID | Execute () |
| Functional block execution method. More... | |
| virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
| Send information method. More... | |
| U32 | Get_Status () |
| Return block status 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) |
Private Attributes | |
| volatile TKG3_RTD2_T1_Registers * | struct_Registers |
| FPGA memory mapped registers. More... | |
| TPRT | object_PRT |
| U32 | u32_Sensor_Valid_Data_Count_1 |
| Channel 1, sensor valid data count. More... | |
| U32 | u32_Sensor_Valid_Data_Count_2 |
| Channel 2, sensor valid data count. More... | |
| U32 | u32_Sensor_Valid_Data_Count_3 |
| Channel 3, sensor valid data count. More... | |
| U32 | u32_Sensor_Valid_Data_Count_4 |
| Channel 4, sensor valid data count. More... | |
| U32 | u32_Sensor_Open_Error_Count_1 |
| Channel 1, open sensor error count. More... | |
| U32 | u32_Sensor_Open_Error_Count_2 |
| Channel 2, open sensor error count. More... | |
| U32 | u32_Sensor_Open_Error_Count_3 |
| Channel 3, open sensor error count. More... | |
| U32 | u32_Sensor_Open_Error_Count_4 |
| Channel 4, open sensor error count. More... | |
| U32 | u32_Sensor_Short_Error_Count_1 |
| Channel 1, short sensor error count. More... | |
| U32 | u32_Sensor_Short_Error_Count_2 |
| Channel 2, short sensor error count. More... | |
| U32 | u32_Sensor_Short_Error_Count_3 |
| Channel 3, short sensor error count. More... | |
| U32 | u32_Sensor_Short_Error_Count_4 |
| Channel 4, short sensor error count. More... | |
| U16 | u16_ADC_Data_1 |
| Channel 1, ADC raw data. More... | |
| U16 | u16_ADC_Data_2 |
| Channel 2, ADC raw data. More... | |
| U16 | u16_ADC_Data_3 |
| Channel 3, ADC raw data. More... | |
| U16 | u16_ADC_Data_4 |
| Channel 4, ADC raw data. More... | |
| F32 | f32_Sensor_Resistance_1 |
| Channel 1, sensor resistance. More... | |
| F32 | f32_Sensor_Resistance_2 |
| Channel 2, sensor resistance. More... | |
| F32 | f32_Sensor_Resistance_3 |
| Channel 3, sensor resistance. More... | |
| F32 | f32_Sensor_Resistance_4 |
| Channel 4, sensor resistance. More... | |
| F32 | f32_Sensor_Temperature_1 |
| Channel 1, sensor temperature. More... | |
| F32 | f32_Sensor_Temperature_2 |
| Channel 2, sensor temperature. More... | |
| F32 | f32_Sensor_Temperature_3 |
| Channel 3, sensor temperature. More... | |
| F32 | f32_Sensor_Temperature_4 |
| Channel 4, sensor temperature. More... | |
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 |
KG2 RTD2 T1 (P017.64 V1 T1) board class.
| TKG3_RTD2_T1::TKG3_RTD2_T1 | ( | ) |
Class constructor method.
References f32_Sensor_Resistance_1, f32_Sensor_Resistance_2, f32_Sensor_Resistance_3, f32_Sensor_Resistance_4, f32_Sensor_Temperature_1, f32_Sensor_Temperature_2, f32_Sensor_Temperature_3, f32_Sensor_Temperature_4, false, object_bool_FPGA_Timeout_Fault_Channel_1, object_bool_FPGA_Timeout_Fault_Channel_2, object_bool_FPGA_Timeout_Fault_Channel_3, object_bool_FPGA_Timeout_Fault_Channel_4, object_bool_Hardware_Fault_Channel_1, object_bool_Hardware_Fault_Channel_2, object_bool_Hardware_Fault_Channel_3, object_bool_Hardware_Fault_Channel_4, object_bool_Sensor_Open_Channel_1, object_bool_Sensor_Open_Channel_2, object_bool_Sensor_Open_Channel_3, object_bool_Sensor_Open_Channel_4, object_bool_Sensor_Short_Channel_1, object_bool_Sensor_Short_Channel_2, object_bool_Sensor_Short_Channel_3, object_bool_Sensor_Short_Channel_4, object_f32_Temperature_Channel_1, object_f32_Temperature_Channel_2, object_f32_Temperature_Channel_3, object_f32_Temperature_Channel_4, object_f32_Temperature_Gain_Channel_1, object_f32_Temperature_Gain_Channel_2, object_f32_Temperature_Gain_Channel_3, object_f32_Temperature_Gain_Channel_4, object_f32_Temperature_Offset_Channel_1, object_f32_Temperature_Offset_Channel_2, object_f32_Temperature_Offset_Channel_3, object_f32_Temperature_Offset_Channel_4, object_u16_RTD_Raw_Data_Channel_1, object_u16_RTD_Raw_Data_Channel_2, object_u16_RTD_Raw_Data_Channel_3, object_u16_RTD_Raw_Data_Channel_4, TBlock_Connector::Set_Type_BOOL(), TBlock_Connector::Set_Type_F32(), TBlock_Input_Connector::Set_Type_F32(), TBlock_Connector::Set_Type_U16(), u16_ADC_Data_1, u16_ADC_Data_2, u16_ADC_Data_3, u16_ADC_Data_4, u32_Sensor_Open_Error_Count_1, u32_Sensor_Open_Error_Count_2, u32_Sensor_Open_Error_Count_3, u32_Sensor_Open_Error_Count_4, u32_Sensor_Short_Error_Count_1, u32_Sensor_Short_Error_Count_2, u32_Sensor_Short_Error_Count_3, u32_Sensor_Short_Error_Count_4, u32_Sensor_Valid_Data_Count_1, u32_Sensor_Valid_Data_Count_2, u32_Sensor_Valid_Data_Count_3, and u32_Sensor_Valid_Data_Count_4.

|
virtual |
Class destructor method.
|
virtual |
Functional block execution method.
Implements TFunction_Block_Base.
References TConOpSys_Variant_Data::bool_Value, TPRT::enum_ITS_90, TPRT::enum_Pt100, f32_Sensor_Resistance_1, f32_Sensor_Resistance_2, f32_Sensor_Resistance_3, f32_Sensor_Resistance_4, f32_Sensor_Temperature_1, f32_Sensor_Temperature_2, f32_Sensor_Temperature_3, f32_Sensor_Temperature_4, TConOpSys_Variant_Data::f32_Value, Increment_Saturated(), KG3_RTD2_T1_MAXIMUM_RESISTANCE, KG3_RTD2_T1_MINIMUM_RESISTANCE, object_bool_FPGA_Timeout_Fault_Channel_1, object_bool_FPGA_Timeout_Fault_Channel_2, object_bool_FPGA_Timeout_Fault_Channel_3, object_bool_FPGA_Timeout_Fault_Channel_4, object_bool_Hardware_Fault_Channel_1, object_bool_Hardware_Fault_Channel_2, object_bool_Hardware_Fault_Channel_3, object_bool_Hardware_Fault_Channel_4, object_bool_Sensor_Open_Channel_1, object_bool_Sensor_Open_Channel_2, object_bool_Sensor_Open_Channel_3, object_bool_Sensor_Open_Channel_4, object_bool_Sensor_Short_Channel_1, object_bool_Sensor_Short_Channel_2, object_bool_Sensor_Short_Channel_3, object_bool_Sensor_Short_Channel_4, object_f32_Temperature_Channel_1, object_f32_Temperature_Channel_2, object_f32_Temperature_Channel_3, object_f32_Temperature_Channel_4, object_f32_Temperature_Gain_Channel_1, object_f32_Temperature_Gain_Channel_2, object_f32_Temperature_Gain_Channel_3, object_f32_Temperature_Gain_Channel_4, object_f32_Temperature_Offset_Channel_1, object_f32_Temperature_Offset_Channel_2, object_f32_Temperature_Offset_Channel_3, object_f32_Temperature_Offset_Channel_4, TBlock_Input_Connector::object_Pointer, object_PRT, TBlock_Connector::object_Storage, object_u16_RTD_Raw_Data_Channel_1, object_u16_RTD_Raw_Data_Channel_2, object_u16_RTD_Raw_Data_Channel_3, object_u16_RTD_Raw_Data_Channel_4, TConOpSys_Variant_Data::pf32_Value, TPRT::Resistance_To_Temperature(), TConOpSys_Variant::struct_Data, struct_Registers, TFunction_Block_Base::struct_Status, TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_ADC_Data_1, u16_ADC_Data_1, TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_ADC_Data_2, u16_ADC_Data_2, TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_ADC_Data_3, u16_ADC_Data_3, TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_ADC_Data_4, u16_ADC_Data_4, TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_Status_Register, TConOpSys_Variant_Data::u16_Value, u32_Sensor_Open_Error_Count_1, u32_Sensor_Open_Error_Count_2, u32_Sensor_Open_Error_Count_3, u32_Sensor_Open_Error_Count_4, u32_Sensor_Short_Error_Count_1, u32_Sensor_Short_Error_Count_2, u32_Sensor_Short_Error_Count_3, u32_Sensor_Short_Error_Count_4, u32_Sensor_Valid_Data_Count_1, u32_Sensor_Valid_Data_Count_2, u32_Sensor_Valid_Data_Count_3, and u32_Sensor_Valid_Data_Count_4.

| U32 TKG3_RTD2_T1::Get_Status | ( | ) |
Return block status method.
References struct_Registers, TFunction_Block_Base::struct_Status, and TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_Status_Register.
|
virtual |
Functional block initialisation method.
| VOID TKG3_RTD2_T1::Map | ( | TKG3_RTD2_T1_Registers * | struct_Registers_Base_Address | ) |
References struct_Registers.
|
virtual |
Send information method.
Reimplemented from TFunction_Block_Base.
References f32_Sensor_Resistance_1, f32_Sensor_Resistance_2, f32_Sensor_Resistance_3, f32_Sensor_Resistance_4, f32_Sensor_Temperature_1, f32_Sensor_Temperature_2, f32_Sensor_Temperature_3, f32_Sensor_Temperature_4, struct_Registers, TProtocol_Base::Transmit_F32_Value_As_Decimal(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U32_Value_As_Decimal(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_Unit_ID_H, TKG3_RTD2_T1::TKG3_RTD2_T1_Registers::u16_Unit_ID_L, u32_Sensor_Open_Error_Count_1, u32_Sensor_Open_Error_Count_2, u32_Sensor_Open_Error_Count_3, u32_Sensor_Open_Error_Count_4, u32_Sensor_Short_Error_Count_1, u32_Sensor_Short_Error_Count_2, u32_Sensor_Short_Error_Count_3, u32_Sensor_Short_Error_Count_4, u32_Sensor_Valid_Data_Count_1, u32_Sensor_Valid_Data_Count_2, u32_Sensor_Valid_Data_Count_3, and u32_Sensor_Valid_Data_Count_4.

|
private |
Channel 1, sensor resistance.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 2, sensor resistance.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 3, sensor resistance.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 4, sensor resistance.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 1, sensor temperature.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 2, sensor temperature.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 3, sensor temperature.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 4, sensor temperature.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_FPGA_Timeout_Fault_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_FPGA_Timeout_Fault_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_FPGA_Timeout_Fault_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_FPGA_Timeout_Fault_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Hardware_Fault_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Hardware_Fault_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Hardware_Fault_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Hardware_Fault_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Open_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Open_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Open_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Open_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Short_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Short_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Short_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_bool_Sensor_Short_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_f32_Temperature_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_f32_Temperature_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_f32_Temperature_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_f32_Temperature_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Gain_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Gain_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Gain_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Gain_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Offset_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Offset_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Offset_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Input_Connector TKG3_RTD2_T1::object_f32_Temperature_Offset_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_u16_RTD_Raw_Data_Channel_1 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_u16_RTD_Raw_Data_Channel_2 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_u16_RTD_Raw_Data_Channel_3 |
Referenced by Execute(), and TKG3_RTD2_T1().
| TBlock_Output_Connector TKG3_RTD2_T1::object_u16_RTD_Raw_Data_Channel_4 |
Referenced by Execute(), and TKG3_RTD2_T1().
|
private |
FPGA memory mapped registers.
Referenced by Execute(), Get_Status(), Map(), and Send_Information().
|
private |
Channel 1, ADC raw data.
Referenced by Execute(), and TKG3_RTD2_T1().
|
private |
Channel 2, ADC raw data.
Referenced by Execute(), and TKG3_RTD2_T1().
|
private |
Channel 3, ADC raw data.
Referenced by Execute(), and TKG3_RTD2_T1().
|
private |
Channel 4, ADC raw data.
Referenced by Execute(), and TKG3_RTD2_T1().
|
private |
Channel 1, open sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 2, open sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 3, open sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 4, open sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 1, short sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 2, short sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 3, short sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 4, short sensor error count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 1, sensor valid data count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 2, sensor valid data count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 3, sensor valid data count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().
|
private |
Channel 4, sensor valid data count.
Referenced by Execute(), Send_Information(), and TKG3_RTD2_T1().