ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include <P017_43_KG3_DCB.h>
Classes | |
struct | TP017_43_KG3_DCB_Registers |
union | TStatus |
Public Member Functions | |
TP017_43_KG3_DCB_T1 () | |
Class constructor method. More... | |
~TP017_43_KG3_DCB_T1 () | |
Class destructor method. More... | |
VOID | Map (TP017_43_KG3_DCB_Registers *struct_Registers_Base_Address) |
Map functional block to the hardware. More... | |
virtual VOID | Init () |
Functional block initialisation method. More... | |
virtual VOID | Execute_Inputs () |
Functional block inputs cyclic processing method. More... | |
virtual VOID | Execute () |
Functional block core cyclic processing method. More... | |
virtual VOID | Execute_Outputs () |
Functional block outputs cyclic processing method. More... | |
virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
Send information about functional block over given protocol. More... | |
Public Attributes | |
TBlock_Input_Connector | object_f32_Analog_Input_Full_Scale |
< Analog input channel fill scale value. Also used for channel total gain adjustment. More... | |
TBlock_Input_Connector | object_f32_Analog_Input_Offset |
Analog input channel offset. More... | |
TBlock_Input_Connector | object_f32_Analog_Input_Gain |
TBlock_Output_Connector | object_f32_Analog_Input_Data |
< Analog input data block output connector More... | |
TBlock_Output_Connector | object_bool_Hardware_Error |
Hardware limit reached error flag. More... | |
TBlock_Output_Connector | object_bool_Hardware_Limit_Error |
TBlock_Output_Connector | object_bool_Software_Limit_Error |
Private Attributes | |
volatile TP017_43_KG3_DCB_Registers * | struct_Registers |
Positive rail voltage status word. More... | |
U16 | u16_Positive_Rail_Voltage_Status |
Positive rail voltage control word. More... | |
U16 | u16_Positive_Rail_Voltage_Control |
Negative rail voltage status word. More... | |
U16 | u16_Negative_Rail_Voltage_Status |
Negative rail voltage control word. More... | |
U16 | u16_Negative_Rail_Voltage_Control |
Positive rail voltage raw ADC data. More... | |
I16 | i16_Positive_Rail_Voltage_Data |
Negative rail voltage raw ADC data. More... | |
I16 | i16_Negative_Rail_Voltage_Data |
Effective offset of the voltage measurement channel. More... | |
F32 | f32_Positive_Rail_Voltage_Offset |
Effective gain of the voltage measurement channel. More... | |
F32 | f32_Positive_Rail_Voltage_Gain |
TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_T1 | ( | ) |
Class constructor method.
References i16_Negative_Rail_Voltage_Data, i16_Positive_Rail_Voltage_Data, object_bool_Hardware_Error, object_bool_Hardware_Limit_Error, object_bool_Software_Limit_Error, object_f32_Analog_Input_Data, object_f32_Analog_Input_Full_Scale, object_f32_Analog_Input_Gain, object_f32_Analog_Input_Offset, TBlock_Connector::Set_Type(), TBlock_Input_Connector::Set_Type(), u16_Negative_Rail_Voltage_Control, u16_Negative_Rail_Voltage_Status, u16_Positive_Rail_Voltage_Control, and u16_Positive_Rail_Voltage_Status.
TP017_43_KG3_DCB_T1::~TP017_43_KG3_DCB_T1 | ( | ) |
Class destructor method.
|
virtual |
Functional block core cyclic processing method.
|
virtual |
Functional block inputs cyclic processing method.
References TConOpSys_Variant_Data::bool_Value, f32_Positive_Rail_Voltage_Gain, TConOpSys_Variant_Data::f32_Value, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::i16_Positive_Rail_Voltage_Data, i16_Positive_Rail_Voltage_Data, object_bool_Hardware_Error, object_f32_Analog_Input_Data, object_f32_Analog_Input_Gain, object_f32_Analog_Input_Offset, TBlock_Input_Connector::object_Pointer, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant::struct_Data, struct_Registers, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Positive_Rail_Voltage_Status, and u16_Positive_Rail_Voltage_Status.
|
virtual |
Functional block outputs cyclic processing method.
|
virtual |
Functional block initialisation method.
References f32_Positive_Rail_Voltage_Gain, object_f32_Analog_Input_Full_Scale, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
VOID TP017_43_KG3_DCB_T1::Map | ( | TP017_43_KG3_DCB_Registers * | struct_Registers_Base_Address | ) |
Map functional block to the hardware.
[in] | *struct_Registers_Base_Address | - Pointer to the base address |
References struct_Registers.
|
virtual |
Send information about functional block over given protocol.
[in] | *object_Protocol | - Pointer to the protocol object |
References f32_Positive_Rail_Voltage_Gain, TConOpSys_Variant_Data::f32_Value, i16_Positive_Rail_Voltage_Data, object_bool_Hardware_Error, object_bool_Hardware_Limit_Error, object_bool_Software_Limit_Error, object_f32_Analog_Input_Data, object_f32_Analog_Input_Full_Scale, object_f32_Analog_Input_Gain, object_f32_Analog_Input_Offset, TBlock_Connector::object_Storage, TConOpSys_Variant::struct_Data, struct_Registers, TProtocol_Base::Transmit_Connector_Value_As_Decimal(), TProtocol_Base::Transmit_F32_Value_As_Decimal(), TProtocol_Base::Transmit_I16_Value_As_Decimal(), TProtocol_Base::Transmit_I16_Value_As_Hex(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U16_Value_As_Hex(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Positive_Rail_Voltage_General_Error_Count, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Positive_Rail_Voltage_Parity_Error_Count, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Positive_Rail_Voltage_Sensor_ID, u16_Positive_Rail_Voltage_Status, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Positive_Rail_Voltage_Sync_Error_Count, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Positive_Rail_Voltage_Timeout_Error_Count, TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Unit_ID_H, and TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_Registers::u16_Unit_ID_L.
|
private |
Referenced by Execute_Inputs(), Init(), and Send_Information().
|
private |
Effective gain of the voltage measurement channel.
|
private |
Effective offset of the voltage measurement channel.
Referenced by TP017_43_KG3_DCB_T1().
|
private |
Negative rail voltage raw ADC data.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Output_Connector TP017_43_KG3_DCB_T1::object_bool_Hardware_Error |
Hardware limit reached error flag.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Output_Connector TP017_43_KG3_DCB_T1::object_bool_Hardware_Limit_Error |
Referenced by Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Output_Connector TP017_43_KG3_DCB_T1::object_bool_Software_Limit_Error |
Referenced by Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Output_Connector TP017_43_KG3_DCB_T1::object_f32_Analog_Input_Data |
< Analog input data block output connector
Critical hardware error flag
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Input_Connector TP017_43_KG3_DCB_T1::object_f32_Analog_Input_Full_Scale |
< Analog input channel fill scale value. Also used for channel total gain adjustment.
Analog input channel offset
Referenced by Init(), Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Input_Connector TP017_43_KG3_DCB_T1::object_f32_Analog_Input_Gain |
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().
TBlock_Input_Connector TP017_43_KG3_DCB_T1::object_f32_Analog_Input_Offset |
Analog input channel offset.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().
|
private |
Positive rail voltage status word.
Referenced by Execute_Inputs(), Map(), and Send_Information().
|
private |
Positive rail voltage raw ADC data.
Referenced by TP017_43_KG3_DCB_T1().
|
private |
Negative rail voltage control word.
Referenced by TP017_43_KG3_DCB_T1().
|
private |
Negative rail voltage status word.
Referenced by TP017_43_KG3_DCB_T1().
|
private |
Positive rail voltage control word.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().