ConOpSys V2970
P004.07
ANVILEX control operating system
|
DC bus interface board KG3 DCB1 T0 (P017.43) emulation class. More...
#include <P017_43_KG3_DCB.h>
Classes | |
union | TStatus |
Public Member Functions | |
TP017_43_KG3_DCB_T0 () | |
Class constructor method. More... | |
~TP017_43_KG3_DCB_T0 () | |
Class destructor method. 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 |
Analog input channel offset. More... | |
TBlock_Output_Connector | object_f32_Analog_Input_Data |
Analog input data block output connector. More... | |
TBlock_Output_Connector | object_bool_Hardware_Error |
Critical hardware error flag. More... | |
TBlock_Output_Connector | object_bool_Hardware_Limit_Error |
Hardware limit reached error flag. More... | |
TBlock_Output_Connector | object_bool_Software_Limit_Error |
Software limit reached error flag. More... | |
Private Attributes | |
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 positive voltage measurement channel. More... | |
F32 | f32_Positive_Rail_Voltage_Offset |
Effective gain of the positive voltage measurement channel. More... | |
F32 | f32_Positive_Rail_Voltage_Gain |
DC bus interface board KG3 DCB1 T0 (P017.43) emulation class.
TP017_43_KG3_DCB_T0::TP017_43_KG3_DCB_T0 | ( | ) |
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_T0::~TP017_43_KG3_DCB_T0 | ( | ) |
Class destructor method.
|
virtual |
Functional block core cyclic processing method.
References Execute_Inputs(), and Execute_Outputs().
|
virtual |
Functional block inputs cyclic processing method.
References TConOpSys_Variant_Data::bool_Value, f32_Positive_Rail_Voltage_Gain, TConOpSys_Variant_Data::f32_Value, 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, and u16_Positive_Rail_Voltage_Status.
Referenced by Execute().
|
virtual |
Functional block outputs cyclic processing method.
Referenced by Execute().
|
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.
|
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, 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(), and TProtocol_Base::Transmit_String().
|
private |
Referenced by Execute_Inputs(), Init(), and Send_Information().
|
private |
Effective gain of the positive voltage measurement channel.
|
private |
Effective offset of the positive voltage measurement channel.
Referenced by TP017_43_KG3_DCB_T0().
|
private |
Negative rail voltage raw ADC data.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Output_Connector TP017_43_KG3_DCB_T0::object_bool_Hardware_Error |
Critical hardware error flag.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Output_Connector TP017_43_KG3_DCB_T0::object_bool_Hardware_Limit_Error |
Hardware limit reached error flag.
Referenced by Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Output_Connector TP017_43_KG3_DCB_T0::object_bool_Software_Limit_Error |
Software limit reached error flag.
Referenced by Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Output_Connector TP017_43_KG3_DCB_T0::object_f32_Analog_Input_Data |
Analog input data block output connector.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Input_Connector TP017_43_KG3_DCB_T0::object_f32_Analog_Input_Full_Scale |
Analog input channel fill scale value. Also used for channel total gain adjustment.
Referenced by Init(), Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Input_Connector TP017_43_KG3_DCB_T0::object_f32_Analog_Input_Gain |
Analog input channel offset.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T0().
TBlock_Input_Connector TP017_43_KG3_DCB_T0::object_f32_Analog_Input_Offset |
Analog input channel offset.
Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T0().
|
private |
Positive rail voltage raw ADC data.
Referenced by TP017_43_KG3_DCB_T0().
|
private |
Negative rail voltage control word.
Referenced by TP017_43_KG3_DCB_T0().
|
private |
Negative rail voltage status word.
Referenced by TP017_43_KG3_DCB_T0().
|
private |
Positive rail voltage control word.
Referenced by Execute_Inputs(), and TP017_43_KG3_DCB_T0().