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

Fan input/output interface board P017.66 class. More...

#include <P017_66_KG3_FAN.h>

Inheritance diagram for TP017_66_KG3_FAN:
Inheritance graph
Collaboration diagram for TP017_66_KG3_FAN:
Collaboration graph

Classes

union  TControl_Register
 Structure for control register bit parsing. More...
 
struct  TP017_66_KG3_FAN_Registers
 Register structure for fan I/O access. More...
 
union  TStatus_Register
 Structure for status register bit parsing. More...
 

Public Member Functions

 TP017_66_KG3_FAN ()
 Class constructor method. More...
 
 ~TP017_66_KG3_FAN ()
 Class destructor method. More...
 
VOID Map (TP017_66_KG3_FAN_Registers *struct_Registers_Base_Address)
 Hardware mapping method. More...
 
virtual VOID Init ()
 Function block initialisation method. More...
 
virtual VOID Execute ()
 Function block execution method. More...
 
VOID Execute_Inputs ()
 
VOID Execute_Outputs ()
 
virtual VOID Send_Information (TProtocol_Base *object_Protocol)
 Send information about flow converter board driver over communication link protocol. More...
 

Public Attributes

TBlock_Input_Connector object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_1
 
TBlock_Input_Connector object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_2
 
TBlock_Input_Connector object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_3
 
TBlock_Input_Connector object_bool_Supply_Enable
 
TBlock_Input_Connector object_bool_Fan_Enable_1
 
TBlock_Input_Connector object_bool_Fan_Enable_2
 
TBlock_Input_Connector object_bool_Fan_Enable_3
 
TBlock_Input_Connector object_f32_Fan_Speed_Setpoint_1
 
TBlock_Input_Connector object_f32_Fan_Speed_Setpoint_2
 
TBlock_Input_Connector object_f32_Fan_Speed_Setpoint_3
 
TBlock_Output_Connector object_f32_Fan_Supply_Voltage
 
TBlock_Output_Connector object_f32_Fan_Speed_1
 
TBlock_Output_Connector object_f32_Fan_Speed_2
 
TBlock_Output_Connector object_f32_Fan_Speed_3
 

Private Attributes

volatile TP017_66_KG3_FAN_Registersstruct_Registers
 
F32 f32_PWM_Maximum_Setpoint_1
 
F32 f32_PWM_Maximum_Setpoint_2
 
F32 f32_PWM_Maximum_Setpoint_3
 
F32 f32_Fan_Speed_PWM_Setpoint_1
 
F32 f32_Fan_Speed_PWM_Setpoint_2
 
F32 f32_Fan_Speed_PWM_Setpoint_3
 
F32 f32_Supply_Voltage_Period
 
F32 f32_Supply_Voltage
 
F32 f32_Fan_Speed_1
 
F32 f32_Fan_Speed_2
 
F32 f32_Fan_Speed_3
 

Detailed Description

Fan input/output interface board P017.66 class.

Constructor & Destructor Documentation

◆ TP017_66_KG3_FAN()

TP017_66_KG3_FAN::TP017_66_KG3_FAN ( )

◆ ~TP017_66_KG3_FAN()

TP017_66_KG3_FAN::~TP017_66_KG3_FAN ( )

Class destructor method.


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

Member Function Documentation

◆ Execute()

__forceinline VOID TP017_66_KG3_FAN::Execute ( )
virtual

Function block execution method.


Note
None
Override
Not allowed
Attention
None

References Execute_Inputs(), and Execute_Outputs().

Here is the call graph for this function:

◆ Execute_Inputs()

VOID TP017_66_KG3_FAN::Execute_Inputs ( )

◆ Execute_Outputs()

VOID TP017_66_KG3_FAN::Execute_Outputs ( )

◆ Init()

VOID TP017_66_KG3_FAN::Init ( )
virtual

◆ Map()

VOID TP017_66_KG3_FAN::Map ( TP017_66_KG3_FAN_Registers struct_Registers_Base_Address)

Hardware mapping method.


Note
None
Parameters
[in]*struct_Registers_Base_Address- Base adress to register structure mapping
Override
Not allowed
Attention
None

References struct_Registers.

◆ Send_Information()

VOID TP017_66_KG3_FAN::Send_Information ( TProtocol_Base object_Protocol)
virtual

Send information about flow converter board driver over communication link protocol.


Note
This method sends information about flow converter driver over specified communication link protocol.
Parameters
[in]*object_Protocol- Pointer to the communication link protocol
Returns
None
Override
Optional
Attention
None

References f32_Fan_Speed_1, f32_Fan_Speed_2, f32_Fan_Speed_3, f32_Fan_Speed_PWM_Setpoint_1, f32_Fan_Speed_PWM_Setpoint_2, f32_Fan_Speed_PWM_Setpoint_3, f32_PWM_Maximum_Setpoint_1, f32_PWM_Maximum_Setpoint_2, f32_PWM_Maximum_Setpoint_3, f32_Supply_Voltage, f32_Supply_Voltage_Period, object_bool_Fan_Enable_1, object_bool_Fan_Enable_2, object_bool_Fan_Enable_3, object_f32_Fan_Speed_Setpoint_1, object_f32_Fan_Speed_Setpoint_2, object_f32_Fan_Speed_Setpoint_3, object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_1, object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_2, object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_3, struct_Registers, TProtocol_Base::Transmit_Connector_Value_As_Decimal(), TProtocol_Base::Transmit_F32_Value_As_Decimal(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U16_Value_As_Hex(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Status_Period_Channel_1, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Status_Period_Channel_2, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Status_Period_Channel_3, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Status, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Supply_PWM_Negative_Half_Period, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Supply_PWM_Period, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Supply_PWM_Positive_Half_Period, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Unit_ID_H, and TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Unit_ID_L.

Here is the call graph for this function:

Member Data Documentation

◆ f32_Fan_Speed_1

F32 TP017_66_KG3_FAN::f32_Fan_Speed_1
private

◆ f32_Fan_Speed_2

F32 TP017_66_KG3_FAN::f32_Fan_Speed_2
private

◆ f32_Fan_Speed_3

F32 TP017_66_KG3_FAN::f32_Fan_Speed_3
private

◆ f32_Fan_Speed_PWM_Setpoint_1

F32 TP017_66_KG3_FAN::f32_Fan_Speed_PWM_Setpoint_1
private

◆ f32_Fan_Speed_PWM_Setpoint_2

F32 TP017_66_KG3_FAN::f32_Fan_Speed_PWM_Setpoint_2
private

◆ f32_Fan_Speed_PWM_Setpoint_3

F32 TP017_66_KG3_FAN::f32_Fan_Speed_PWM_Setpoint_3
private

◆ f32_PWM_Maximum_Setpoint_1

F32 TP017_66_KG3_FAN::f32_PWM_Maximum_Setpoint_1
private

◆ f32_PWM_Maximum_Setpoint_2

F32 TP017_66_KG3_FAN::f32_PWM_Maximum_Setpoint_2
private

◆ f32_PWM_Maximum_Setpoint_3

F32 TP017_66_KG3_FAN::f32_PWM_Maximum_Setpoint_3
private

◆ f32_Supply_Voltage

F32 TP017_66_KG3_FAN::f32_Supply_Voltage
private

◆ f32_Supply_Voltage_Period

F32 TP017_66_KG3_FAN::f32_Supply_Voltage_Period
private

◆ object_bool_Fan_Enable_1

TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Fan_Enable_1

◆ object_bool_Fan_Enable_2

TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Fan_Enable_2

◆ object_bool_Fan_Enable_3

TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Fan_Enable_3

◆ object_bool_Supply_Enable

TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Supply_Enable

Referenced by TP017_66_KG3_FAN().

◆ object_f32_Fan_Speed_1

TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_1

Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().

◆ object_f32_Fan_Speed_2

TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_2

Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().

◆ object_f32_Fan_Speed_3

TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_3

Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().

◆ object_f32_Fan_Speed_Setpoint_1

TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_Setpoint_1

◆ object_f32_Fan_Speed_Setpoint_2

TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_Setpoint_2

◆ object_f32_Fan_Speed_Setpoint_3

TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_Setpoint_3

◆ object_f32_Fan_Supply_Voltage

TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Supply_Voltage

Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().

◆ object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_1

TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_1

◆ object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_2

TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_2

◆ object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_3

TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_3

◆ struct_Registers

volatile TP017_66_KG3_FAN_Registers* TP017_66_KG3_FAN::struct_Registers
private

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