ConOpSys V2970
P004.07
ANVILEX control operating system
|
Fan input/output interface board P017.66 class. More...
#include <P017_66_KG3_FAN.h>
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... | |
Fan input/output interface board P017.66 class.
TP017_66_KG3_FAN::TP017_66_KG3_FAN | ( | ) |
Class constructor method.
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_bool_Supply_Enable, object_f32_Fan_Speed_1, object_f32_Fan_Speed_2, object_f32_Fan_Speed_3, object_f32_Fan_Speed_Setpoint_1, object_f32_Fan_Speed_Setpoint_2, object_f32_Fan_Speed_Setpoint_3, object_f32_Fan_Supply_Voltage, 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, TBlock_Connector::Set_Type(), and TBlock_Input_Connector::Set_Type().
TP017_66_KG3_FAN::~TP017_66_KG3_FAN | ( | ) |
Class destructor method.
|
virtual |
Function block execution method.
References Execute_Inputs(), and Execute_Outputs().
VOID TP017_66_KG3_FAN::Execute_Inputs | ( | ) |
References f32_Fan_Speed_1, f32_Fan_Speed_2, f32_Fan_Speed_3, f32_Supply_Voltage, f32_Supply_Voltage_Period, TConOpSys_Variant_Data::f32_Value, object_f32_Fan_Speed_1, object_f32_Fan_Speed_2, object_f32_Fan_Speed_3, object_f32_Fan_Supply_Voltage, TBlock_Connector::object_Storage, TConOpSys_Variant::struct_Data, struct_Registers, 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, and TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Supply_PWM_Period.
Referenced by Execute().
VOID TP017_66_KG3_FAN::Execute_Outputs | ( | ) |
References TP017_66_KG3_FAN::TControl_Register::bool_Fan_Enable_1, TP017_66_KG3_FAN::TControl_Register::bool_Fan_Enable_2, TP017_66_KG3_FAN::TControl_Register::bool_Fan_Enable_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, 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, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pbool_Value, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant::struct_Data, struct_Registers, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Control, TP017_66_KG3_FAN::TControl_Register::u16_Control, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Control_PWM_Setpoint_Channel_1, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Control_PWM_Setpoint_Channel_2, and TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Control_PWM_Setpoint_Channel_3.
Referenced by Execute().
|
virtual |
Function block initialisation method.
References f32_PWM_Maximum_Setpoint_1, f32_PWM_Maximum_Setpoint_2, f32_PWM_Maximum_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, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pf32_Value, TConOpSys_Variant::struct_Data, struct_Registers, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Control_PWM_Period_Channel_1, TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Control_PWM_Period_Channel_2, and TP017_66_KG3_FAN::TP017_66_KG3_FAN_Registers::u16_Fan_Speed_Control_PWM_Period_Channel_3.
VOID TP017_66_KG3_FAN::Map | ( | TP017_66_KG3_FAN_Registers * | struct_Registers_Base_Address | ) |
Hardware mapping method.
[in] | *struct_Registers_Base_Address | - Base adress to register structure mapping |
References struct_Registers.
|
virtual |
Send information about flow converter board driver over communication link protocol.
[in] | *object_Protocol | - Pointer to the communication link protocol |
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.
|
private |
Referenced by Execute_Inputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Inputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Inputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Outputs(), Init(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Outputs(), Init(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Outputs(), Init(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Inputs(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Inputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Fan_Enable_1 |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Fan_Enable_2 |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Fan_Enable_3 |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_bool_Supply_Enable |
Referenced by TP017_66_KG3_FAN().
TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_1 |
Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().
TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_2 |
Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().
TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_3 |
Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_Setpoint_1 |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_Setpoint_2 |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Fan_Speed_Setpoint_3 |
Referenced by Execute_Outputs(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Output_Connector TP017_66_KG3_FAN::object_f32_Fan_Supply_Voltage |
Referenced by Execute_Inputs(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_1 |
Referenced by Init(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_2 |
Referenced by Init(), Send_Information(), and TP017_66_KG3_FAN().
TBlock_Input_Connector TP017_66_KG3_FAN::object_f32_Speed_Control_PWM_Carrier_Frequency_Channel_3 |
Referenced by Init(), Send_Information(), and TP017_66_KG3_FAN().
|
private |
Referenced by Execute_Inputs(), Execute_Outputs(), Init(), Map(), and Send_Information().