AMK_motor_drive_software 1.0.0
Loading...
Searching...
No Matches
Inverter Class Reference

The Inverter class represents an inverter in the system, handling communication of actual values and setpoints via CAN. More...

#include <Inverter.hpp>

Public Member Functions

 Inverter (const uint16_t t_nodeAddress)
 Constructs an Inverter object with the specified node address.
 
uint16_t getNodeAddress () const
 Returns the node address of the inverter.
 
InverterState getState () const
 Returns the state of the inverter.
 
ActualValues1 getActualValues1 () const
 Returns the actual values 1 of the inverter.
 
ActualValues2 getActualValues2 () const
 Returns the actual values 2 of the inverter.
 
Setpoints1 getSetpoints1 () const
 Returns the setpoints 1 of the inverter.
 
void setActualValues1 (ActualValues1 t_actualValues1)
 Sets the actual values 1 for the inverter.
 
void setActualValues2 (ActualValues2 t_actualValues2)
 Sets the actual values 2 for the inverter.
 
void setSetpoints1 (Setpoints1 t_setpoints1)
 Sets the setpoints 1 for the inverter.
 
void checkStatus ()
 Checks the status bits of the inverter and updates its state.
 
void activate ()
 Activates the inverter, setting it to an operational state.
 
void deactivate ()
 Deactivates the inverter, putting it into a safe, inactive state.
 

Detailed Description

The Inverter class represents an inverter in the system, handling communication of actual values and setpoints via CAN.

Constructor & Destructor Documentation

◆ Inverter()

Inverter::Inverter ( const uint16_t t_nodeAddress)

Constructs an Inverter object with the specified node address.

Parameters
t_nodeAddressThe CAN node address of the inverter.

Member Function Documentation

◆ activate()

void Inverter::activate ( )

Activates the inverter, setting it to an operational state.

◆ checkStatus()

void Inverter::checkStatus ( )

Checks the status bits of the inverter and updates its state.

◆ deactivate()

void Inverter::deactivate ( )

Deactivates the inverter, putting it into a safe, inactive state.

◆ getActualValues1()

ActualValues1 Inverter::getActualValues1 ( ) const

Returns the actual values 1 of the inverter.

Returns
A copy of the ActualValues1 structure of the inverter.

◆ getActualValues2()

ActualValues2 Inverter::getActualValues2 ( ) const

Returns the actual values 2 of the inverter.

Returns
A copy of the ActualValues2 structure of the inverter.

◆ getNodeAddress()

uint16_t Inverter::getNodeAddress ( ) const

Returns the node address of the inverter.

Returns
The CAN node address of the inverter.

◆ getSetpoints1()

Setpoints1 Inverter::getSetpoints1 ( ) const

Returns the setpoints 1 of the inverter.

Returns
A copy of the Setpoints1 structure of the inverter.

◆ getState()

InverterState Inverter::getState ( ) const

Returns the state of the inverter.

Returns
The current state of the inverter.

◆ setActualValues1()

void Inverter::setActualValues1 ( ActualValues1 t_actualValues1)

Sets the actual values 1 for the inverter.

Parameters
t_actualValues1The ActualValues1 structure to be set.

◆ setActualValues2()

void Inverter::setActualValues2 ( ActualValues2 t_actualValues2)

Sets the actual values 2 for the inverter.

Parameters
t_actualValues2The ActualValues2 structure to be set.

◆ setSetpoints1()

void Inverter::setSetpoints1 ( Setpoints1 t_setpoints1)

Sets the setpoints 1 for the inverter.

Parameters
t_setpoints1The Setpoints1 structure to be set.

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