Skip to main content

Interface IXDrive

Represents a generic interface for communicating with an XDrive motor controller.

Assembly: CerusXDrive.dll​
View Source​
Declaration
public interface IXDrive

Methods​

Connect()​

Establishes a connection to the drive.

View Source​
Declaration
Task Connect()
Returns​

System.Threading.Tasks.Task

Disconnect()​

Disconnects from the drive.

View Source​
Declaration
void Disconnect()

ReadAmbientTemperature()​

Reads the ambient temperature from the drive.

View Source​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
Task<Voltage> ReadOutputVoltage()
Returns​

System.Threading.Tasks.Task<Meadow.Units.Voltage>: The output Meadow.Units.Voltage.