Class CerusXDrive
Represents a Franklin Electric CerusXDrive Variable Frequency Drive controller. Provides methods to communicate with the drive via Modbus RTU protocol.
Assembly: CerusXDrive.dll
View Source
public class CerusXDrive : IXDrive
Implements:
Meadow.Foundation.VFDs.IXDrive
Methods
Connect()
Establishes a connection to the CerusXDrive device.
View Source
public Task Connect()
Returns
System.Threading.Tasks.Task: A task representing the asynchronous connection operation.
Disconnect()
Disconnects from the CerusXDrive device.
View Source
public void Disconnect()
ReadErrorCodes()
Reads the current error codes from the CerusXDrive.
View Source
public Task<ushort> ReadErrorCodes()
Returns
System.Threading.Tasks.Task<System.UInt16>: A task that represents the asynchronous operation. The value is the error code.
ReadOperationalStatus()
Reads the current operational status of the CerusXDrive.
View Source
public Task<ushort> ReadOperationalStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: A task that represents the asynchronous operation. The value is the operational status code.
ReadOutputFrequency()
Reads the current output frequency of the CerusXDrive.
View Source
public Task<Frequency> ReadOutputFrequency()
Returns
System.Threading.Tasks.Task<Meadow.Units.Frequency>: A task that represents the asynchronous operation. The value is the output frequency in Hertz.
ReadOutputCurrent()
Reads the current output current of the CerusXDrive.
View Source
public Task<Current> ReadOutputCurrent()
Returns
System.Threading.Tasks.Task<Meadow.Units.Current>: A task that represents the asynchronous operation. The value is the output current in Amps.
ReadDCBusVoltage()
Reads the current DC bus voltage of the CerusXDrive.
View Source
public Task<Voltage> ReadDCBusVoltage()
Returns
System.Threading.Tasks.Task<Meadow.Units.Voltage>: A task that represents the asynchronous operation. The value is the DC bus voltage in Volts.
ReadOutputVoltage()
Reads the current output voltage of the CerusXDrive.
View Source
public Task<Voltage> ReadOutputVoltage()
Returns
System.Threading.Tasks.Task<Meadow.Units.Voltage>: A task that represents the asynchronous operation. The value is the output voltage in Volts.
ReadIGBTTemperature()
Reads the current IGBT (Insulated Gate Bipolar Transistor) temperature of the CerusXDrive.
View Source
public Task<Temperature> ReadIGBTTemperature()
Returns
System.Threading.Tasks.Task<Meadow.Units.Temperature>: A task that represents the asynchronous operation. The value is the IGBT temperature in Celsius.
ReadAmbientTemperature()
Reads the current ambient temperature around the CerusXDrive.
View Source
public Task<Temperature> ReadAmbientTemperature()
Returns
System.Threading.Tasks.Task<Meadow.Units.Temperature>: A task that represents the asynchronous operation. The value is the ambient temperature in Celsius.
ReadDriveStatus()
Reads the current drive status of the CerusXDrive.
View Source
public Task<ushort> ReadDriveStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: A task that represents the asynchronous operation. The value is the drive status code.
ReadControlMode()
Reads the current control mode of the CerusXDrive.
View Source
public Task<ushort> ReadControlMode()
Returns
System.Threading.Tasks.Task<System.UInt16>: A task that represents the asynchronous operation. The value is the control mode code.
ReadDigitalOutputStatus()
Reads the current digital output status of the CerusXDrive.
View Source
public Task<ushort> ReadDigitalOutputStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: A task that represents the asynchronous operation. The value is the digital output status code.
ReadDigitalInputStatus()
Reads the current digital input status of the CerusXDrive.
View Source
public Task<ushort> ReadDigitalInputStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: A task that represents the asynchronous operation. The value is the digital input status code.