ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
TP017_43_KG3_DCB_T1 Class Reference

#include <P017_43_KG3_DCB.h>

Inheritance diagram for TP017_43_KG3_DCB_T1:
Inheritance graph
Collaboration diagram for TP017_43_KG3_DCB_T1:
Collaboration graph

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_Registersstruct_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
 

Constructor & Destructor Documentation

◆ TP017_43_KG3_DCB_T1()

TP017_43_KG3_DCB_T1::TP017_43_KG3_DCB_T1 ( )

◆ ~TP017_43_KG3_DCB_T1()

TP017_43_KG3_DCB_T1::~TP017_43_KG3_DCB_T1 ( )

Class destructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Execute()

__forceinline VOID TP017_43_KG3_DCB_T1::Execute ( )
virtual

Functional block core cyclic processing method.


Note
None
Returns
None
Override
Not allowed
Attention
None

◆ Execute_Inputs()

__forceinline VOID TP017_43_KG3_DCB_T1::Execute_Inputs ( )
virtual

◆ Execute_Outputs()

__forceinline VOID TP017_43_KG3_DCB_T1::Execute_Outputs ( )
virtual

Functional block outputs cyclic processing method.


Note
None
Returns
None
Override
Not allowed
Attention
None

◆ Init()

VOID TP017_43_KG3_DCB_T1::Init ( )
virtual

Functional block initialisation method.


Note
None
Returns
None
Override
Not allowed
Attention
None

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.

◆ Map()

VOID TP017_43_KG3_DCB_T1::Map ( TP017_43_KG3_DCB_Registers struct_Registers_Base_Address)

Map functional block to the hardware.


Note
None
Parameters
[in]*struct_Registers_Base_Address- Pointer to the base address
Returns
None
Override
Not allowed
Attention
None

References struct_Registers.

◆ Send_Information()

VOID TP017_43_KG3_DCB_T1::Send_Information ( TProtocol_Base object_Protocol)
virtual

Send information about functional block over given protocol.


Note
None
Parameters
[in]*object_Protocol- Pointer to the protocol object
Returns
None
Override
Not allowed
Attention
None

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.

Here is the call graph for this function:

Member Data Documentation

◆ f32_Positive_Rail_Voltage_Gain

F32 TP017_43_KG3_DCB_T1::f32_Positive_Rail_Voltage_Gain
private

◆ f32_Positive_Rail_Voltage_Offset

F32 TP017_43_KG3_DCB_T1::f32_Positive_Rail_Voltage_Offset
private

Effective gain of the voltage measurement channel.

◆ i16_Negative_Rail_Voltage_Data

I16 TP017_43_KG3_DCB_T1::i16_Negative_Rail_Voltage_Data
private

Effective offset of the voltage measurement channel.

Referenced by TP017_43_KG3_DCB_T1().

◆ i16_Positive_Rail_Voltage_Data

I16 TP017_43_KG3_DCB_T1::i16_Positive_Rail_Voltage_Data
private

Negative rail voltage raw ADC data.

Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().

◆ object_bool_Hardware_Error

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().

◆ object_bool_Hardware_Limit_Error

TBlock_Output_Connector TP017_43_KG3_DCB_T1::object_bool_Hardware_Limit_Error

◆ object_bool_Software_Limit_Error

TBlock_Output_Connector TP017_43_KG3_DCB_T1::object_bool_Software_Limit_Error

◆ object_f32_Analog_Input_Data

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().

◆ object_f32_Analog_Input_Full_Scale

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().

◆ object_f32_Analog_Input_Gain

TBlock_Input_Connector TP017_43_KG3_DCB_T1::object_f32_Analog_Input_Gain

◆ object_f32_Analog_Input_Offset

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().

◆ struct_Registers

volatile TP017_43_KG3_DCB_Registers* TP017_43_KG3_DCB_T1::struct_Registers
private

Positive rail voltage status word.

Referenced by Execute_Inputs(), Map(), and Send_Information().

◆ u16_Negative_Rail_Voltage_Control

U16 TP017_43_KG3_DCB_T1::u16_Negative_Rail_Voltage_Control
private

Positive rail voltage raw ADC data.

Referenced by TP017_43_KG3_DCB_T1().

◆ u16_Negative_Rail_Voltage_Status

U16 TP017_43_KG3_DCB_T1::u16_Negative_Rail_Voltage_Status
private

Negative rail voltage control word.

Referenced by TP017_43_KG3_DCB_T1().

◆ u16_Positive_Rail_Voltage_Control

U16 TP017_43_KG3_DCB_T1::u16_Positive_Rail_Voltage_Control
private

Negative rail voltage status word.

Referenced by TP017_43_KG3_DCB_T1().

◆ u16_Positive_Rail_Voltage_Status

U16 TP017_43_KG3_DCB_T1::u16_Positive_Rail_Voltage_Status
private

Positive rail voltage control word.

Referenced by Execute_Inputs(), Send_Information(), and TP017_43_KG3_DCB_T1().


The documentation for this class was generated from the following files: