Interface IXDrive
Represents a generic interface for communicating with an XDrive motor controller.
Assembly: CerusXDrive.dll
View Source
public interface IXDrive
Methods
Connect()
Establishes a connection to the drive.
View Source
Task Connect()
Returns
System.Threading.Tasks.Task
Disconnect()
Disconnects from the drive.
View Source
void Disconnect()
ReadAmbientTemperature()
Reads the ambient temperature from the drive.
View Source
Task<Temperature> ReadAmbientTemperature()
Returns
System.Threading.Tasks.Task<Meadow.Units.Temperature>: The ambient Meadow.Units.Temperature.
ReadControlMode()
Reads the current control mode of the drive.
View Source
Task<ushort> ReadControlMode()
Returns
System.Threading.Tasks.Task<System.UInt16>: The control mode as an unsigned short.
ReadDCBusVoltage()
Reads the DC bus voltage from the drive.
View Source
Task<Voltage> ReadDCBusVoltage()
Returns
System.Threading.Tasks.Task<Meadow.Units.Voltage>: The DC bus Meadow.Units.Voltage.
ReadDigitalInputStatus()
Reads the status of the digital inputs.
View Source
Task<ushort> ReadDigitalInputStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: A bitmask representing the digital input status.
ReadDigitalOutputStatus()
Reads the status of the digital outputs.
View Source
Task<ushort> ReadDigitalOutputStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: A bitmask representing the digital output status.
ReadDriveStatus()
Reads the overall drive status.
View Source
Task<ushort> ReadDriveStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: The drive status as an unsigned short.
ReadErrorCodes()
Reads any active or historical error codes from the drive.
View Source
Task<ushort> ReadErrorCodes()
Returns
System.Threading.Tasks.Task<System.UInt16>: The error codes as an unsigned short.
ReadIGBTTemperature()
Reads the IGBT (Insulated Gate Bipolar Transistor) temperature.
View Source
Task<Temperature> ReadIGBTTemperature()
Returns
System.Threading.Tasks.Task<Meadow.Units.Temperature>: The IGBT Meadow.Units.Temperature.
ReadOperationalStatus()
Reads the current operational status of the drive.
View Source
Task<ushort> ReadOperationalStatus()
Returns
System.Threading.Tasks.Task<System.UInt16>: The operational status as an unsigned short.
ReadOutputCurrent()
Reads the output current being delivered to the motor.
View Source
Task<Current> ReadOutputCurrent()
Returns
System.Threading.Tasks.Task<Meadow.Units.Current>: The output Meadow.Units.Current.
ReadOutputFrequency()
Reads the output frequency of the drive.
View Source
Task<Frequency> ReadOutputFrequency()
Returns
System.Threading.Tasks.Task<Meadow.Units.Frequency>: The output Meadow.Units.Frequency.
ReadOutputVoltage()
Reads the output voltage being delivered to the motor.
View Source
Task<Voltage> ReadOutputVoltage()
Returns
System.Threading.Tasks.Task<Meadow.Units.Voltage>: The output Meadow.Units.Voltage.