Platforms to show: All Mac Windows Linux Cross-Platform
Back to PhidgetBLDCMotorMBS class.
PhidgetBLDCMotorMBS.Acceleration as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The acceleration is bounded by MinAccleration and MaxAcceleration.
Unit: duty cycle per second (duty cycle/s)
(Read and Write property)
PhidgetBLDCMotorMBS.ActiveCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The SurgeCurrentLimit, CurrentLimit, and temperature will impact this value.
(Read only property)
PhidgetBLDCMotorMBS.BrakingEnabled as Boolean New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This setting allows you to choose whether the motor will resist being turned when it is not being driven forward or reverse (Velocity = 0).
- Setting BrakingEnabled to FALSE corresponds to free-wheeling. This means: The motor will continue to rotate after the controller is no longer driving the motor (Velocity = 0), due to its momentum. The motor shaft will provide little resistance to being turned when it is stopped.
- Setting BrakingEnabled to TRUE will engage electrical braking of the DC motor. This means: The motor will stop more quickly if it is in motion when braking is requested. The motor shaft will resist rotation by outside forces.
- Braking will be added gradually, according to the Acceleration setting, once the motor controller's Velocity reaches 0.0
- Braking will be immediately stopped when a new (non-zero) TargetVelocity is set, and the motor will accelerate to the requested velocity.
- Braking mode is enabled by setting the Velocity to 0.0
PhidgetBLDCMotorMBS.BrakingStrength as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.CurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read and Write property)
PhidgetBLDCMotorMBS.DataInterval as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The data interval is bounded by MinDataInterval and MaxDataInterval.
Unit: milliseconds (ms)
(Read and Write property)
PhidgetBLDCMotorMBS.DriveMode as Integer New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read and Write property)
PhidgetBLDCMotorMBS.FailsafeBrakingEnabled as Boolean New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This setting allows you to choose whether motor will forcibly stop once it enters a FAILSAFE state.
A setting of FALSE will simply stop applying power to the motor, allowing it to spin down naturally.
A setting of TRUE will apply braking up to the FailsafeCurrentLimit, actively stopping the motor
(Read and Write property)
PhidgetBLDCMotorMBS.FailsafeCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read and Write property)
PhidgetBLDCMotorMBS.Inductance as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The controller will attempt to measure the inductance of your motor when opened. This value is used to improve control of the motor.
Set this value during the Attach event to skip motor characterization (including the audible beeps). You can use a previously saved Inductance value, or information from your motor's datasheet.
(Read and Write property)
PhidgetBLDCMotorMBS.MaxAcceleration as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Unit: duty cycle per second (duty cycle/s)
(Read only property)
PhidgetBLDCMotorMBS.MaxBrakingStrength as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MaxCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MaxDataInterval as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Unit: milliseconds (ms)
(Read only property)
PhidgetBLDCMotorMBS.MaxFailsafeTime as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MaxInductance as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Inductance for details.
(Read only property)
PhidgetBLDCMotorMBS.MaxPosition as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MaxStallVelocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MaxSurgeCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MaxVelocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
TargetVelocity is bounded by -1×MaxVelocity and MaxVelocity, where a sign change (±) is indicitave of a direction change.
(Read only property)
PhidgetBLDCMotorMBS.MinAcceleration as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Unit: duty cycle per second (duty cycle/s)
(Read only property)
PhidgetBLDCMotorMBS.MinBrakingStrength as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MinCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MinDataInterval as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Unit: milliseconds (ms)
(Read only property)
PhidgetBLDCMotorMBS.MinFailsafeTime as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MinInductance as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
See Inductance for details.
(Read only property)
PhidgetBLDCMotorMBS.MinPosition as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MinStallVelocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MinSurgeCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
PhidgetBLDCMotorMBS.MinVelocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Set the TargetVelocity to MinVelocity to stop the motor. See TargetBrakingStrength for more information on stopping the motor.
TargetVelocity is bounded by -1×MaxVelocity and MaxVelocity, where a sign change (±) is indicitave of a direction change.
(Read only property)
PhidgetBLDCMotorMBS.Position as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Position values are calculated using Hall Effect sensors mounted on the motor, therefore, the resolution of position depends on the motor you are using.
Units for Position can be set by the user through the RescaleFactor. The RescaleFactor allows you to use more intuitive units such as rotations, or degrees. For more information on how to apply the RescaleFactor to your application, see your controller's User Guide.
(Read only property)
PhidgetBLDCMotorMBS.RescaleFactor as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Units for Position can be set by the user through the RescaleFactor. The RescaleFactor allows you to use more intuitive units such as rotations, or degrees. For more information on how to apply the RescaleFactor to your application, see your controller's User Guide.
(Read and Write property)
PhidgetBLDCMotorMBS.StallVelocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Before reading this description, it is important to note the difference between the units of StallVelocity and Velocity.
- Velocity is a number between -1 and 1 with units of 'duty cycle'. It simply represents the average voltage across the motor.
- StallVelocity represents a real velocity (e.g. m/s, RPM, etc.) and the units are determined by the RescaleFactor. With a RescaleFactor of 1, the default units would be in commutations per second.
If the load on your motor is large, your motor may begin rotating more slowly, or even fully stall. Depending on the voltage across your motor, this may result in a large amount of current through both the controller and the motor. In order to prevent damage in these situations, you can use the StallVelocity property.
The StallVelocity should be set to the lowest velocity you would expect from your motor. The controller will then monitor the motor's velocity, as well as the Velocity, and prevent a 'dangerous stall' from occuring. If the controller detects a dangerous stall, it will immediately reduce the Velocity (i.e. average voltage) to 0 and an error will be reported to your program.
- A 'dangerous stall' will occur faster when the Velocity is higher (i.e. when the average voltage across the motor is higher)
- A 'dangerous stall' will occur faster as (StallVelocity - motor velocity) becomes larger .
Setting StallVelocity to 0 will turn off stall protection functionality.
(Read and Write property)
PhidgetBLDCMotorMBS.SurgeCurrentLimit as Double New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The controller will limit the current through your motor to the SurgeCurrentLimit briefly, then scale current down to the CurrentLimit.
View ActiveCurrentLimit for information about what current limit the controller is actively following.
(Read and Write property)
PhidgetBLDCMotorMBS.TargetBrakingStrength as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
When a motor is not being actively driven forward or reverse, you can choose if the motor will be allowed to freely turn, or will resist being turned.
A low TargetBrakingStrength value corresponds to free wheeling, this will have the following effects:
The motor will continue to rotate after the controller is no longer driving the motor (i.e. Velocity is 0), due to inertia.
The motor shaft will provide little resistance to being turned when it is stopped.
A higher TargetBrakingStrength value will resist being turned, this will have the following effects:
The motor will more stop more quickly if it is in motion and braking has been requested. It will fight against the rotation of the shaft.
Braking mode is enabled by setting the Velocity to MinVelocity
(Read and Write property)
PhidgetBLDCMotorMBS.TargetVelocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
At a constant load, increasing the target velocity will increase the speed of the motor.
TargetVelocity is bounded by -1×MaxVelocity and MaxVelocity, where a sign change (±) is indicitave of a direction change.
Setting TargetVelocity to MinVelocity will stop the motor. See TargetBrakingStrength for more information on stopping the motor.
The units of TargetVelocity and Acceleration refer to 'duty cycle'. This is because the controller must rapidly switch the power on/off (i.e. change the duty cycle) in order to manipulate the voltage across the motor.
(Read and Write property)
PhidgetBLDCMotorMBS.Velocity as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
(Read only property)
The items on this page are in the following plugins: MBS Phidgets Plugin.
