Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetMotorVelocityControllerMBS class New in 25.0
Super class: PhidgetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Phidgets | MBS Phidgets Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
It also contains various other control and monitoring functions that aid in the control of the motor.
Subclass of the PhidgetMBS class.
- 3 events
- event DutyCycleUpdated(dutyCycle as double)
- event ExpectedVelocityChanged(expectedVelocity as double)
- event VelocityChanged(velocity as double)
- 37 properties
- property Acceleration as Double
- property ActiveCurrentLimit as Double
- property CurrentLimit as Double
- property DataInterval as UInt32
- property DeadBand as Double
- property DutyCycle as Double
- property EnableExpectedVelocity as Boolean
- property Engaged as Boolean
- property ExpectedVelocity as Double
- property FailsafeBrakingEnabled as Boolean
- property FailsafeCurrentLimit as Double
- property Inductance as Double
- property Kd as Double
- property Ki as Double
- property Kp as Double
- property MaxAcceleration as Double
- property MaxCurrentLimit as Double
- property MaxDataInterval as UInt32
- property MaxFailsafeTime as UInt32
- property MaxInductance as Double
- property MaxStallVelocity as Double
- property MaxSurgeCurrentLimit as Double
- property MaxTargetVelocity as Double
- property MinAcceleration as Double
- property MinCurrentLimit as Double
- property MinDataInterval as UInt32
- property MinFailsafeTime as UInt32
- property MinInductance as Double
- property MinStallVelocity as Double
- property MinSurgeCurrentLimit as Double
- property MinTargetVelocity as Double
- property PositionType as Integer
- property RescaleFactor as Double
- property StallVelocity as Double
- property SurgeCurrentLimit as Double
- property TargetVelocity as Double
- property Velocity as Double
- 3 methods
- method Constructor
- method enableFailsafe(failsafeTime as UInt32)
- method resetFailsafe
- 10 constants
Encoder interface mode
Constant | Value | Description |
---|---|---|
kEncoderIOModeCollector10K | 5 |
Open Collector 10K, 10kΩ pull-up resistors will be applied to the input lines. |
kEncoderIOModeCollector2K2 | 4 |
Open Collector 2.2K, 2.2kΩ pull-up resistors will be applied to the input lines. |
kEncoderIOModeLineDriver10K | 3 |
Line Driver 10K, 10kΩ pull-down resistors will be applied to the input lines. |
kEncoderIOModeLineDriver2K2 | 2 |
Line Driver 2.2K, 2.2kΩ pull-down resistors will be applied to the input lines. |
kEncoderIOModePushPull | 1 |
Push-Pull, No additional pull-up or pull-down resistors will be applied to the input lines. |
Fan Modes
Constant | Value | Description |
---|---|---|
kFanModeAuto | 3 |
The fan will be automatically controlled based on temperature. |
kFanModeOff | 1 |
Turns the fan off. |
kFanModeOn | 2 |
Turns the fan on. |
Position Types
Constant | Value | Description |
---|---|---|
kPositionTypeEncoder | 1 |
Encoder. |
kPositionTypeHallSensor | 2 |
Hall sensor. |
Super class PhidgetMBS
- 4 events
- event Attached
- event Detached
- event Error(errorCode as Integer, errorString as String)
- event PropertyChanged(propertyName as String)
- 43 properties
- property Attached as Boolean
- property Channel as Integer
- property ChannelClass as Integer
- property ChannelClassName as String
- property ChannelName as String
- property ChannelSubclass as Integer
- property ClientVersionMajor as Integer
- property ClientVersionMinor as Integer
- property DataInterval as UInt32
- property DataRate as Double New in 25.0
- property DeviceClass as Integer
- property DeviceClassName as String
- property DeviceID as Integer
- property DeviceLabel as String
- property DeviceName as String
- property DeviceSerialNumber as Integer
- property DeviceSKU as String
- property DeviceVersion as Integer
- property Handle as Integer
- property Hub as PhidgetMBS
- property HubPort as Integer
- property HubPortCount as Integer
- property HubPortSpeed as UInt32 New in 25.0
- property HubPortSupportsAutoSetSpeed as Boolean New in 25.0
- property HubPortSupportsSetSpeed as Boolean New in 25.0
- property IsChannel as Boolean
- property IsHubPortDevice as Boolean
- property IsLocal as Boolean
- property IsOpen as Boolean New in 25.0
- property IsRemote as Boolean
- property MaxDataInterval as UInt32 New in 25.0
- property MaxDataRate as Double New in 25.0
- property MaxHubPortSpeed as UInt32 New in 25.0
- property MeshMode as Integer
- property MinDataInterval as UInt32 New in 25.0
- property MinDataRate as Double New in 25.0
- property Parent as PhidgetMBS
- property ServerHostname as String
- property ServerName as String
- property ServerPeerName as String
- property ServerUniqueName as String
- property ServerVersionMajor as Integer
- property ServerVersionMinor as Integer
- 3 shared properties
- shared property InstanceCount as Integer New in 24.5
- shared property LibraryVersion as String
- shared property LibraryVersionNumber as String
- 8 methods
- method ChildDevices as PhidgetMBS()
- method close
- method Constructor Private
- method Destructor
- method DeviceChannelCount(ChannelClass as Integer) as Integer
- method open
- method openWaitForAttachment(timeoutMs as UInt32 = 1000)
- method writeDeviceLabel(deviceLabel as String)
- 3 shared methods
- shared method finalize(flags as Integer = 0) New in 24.5
- shared method Poll
- shared method resetLibrary
- 317 constants
This class has no sub classes.
Blog Entries
Release notes
- Version 25.0
- Added PhidgetMotorVelocityControllerMBS class.
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetMotorPositionControllerMBS - PhidgetNetMBS