-
Notifications
You must be signed in to change notification settings - Fork 2
Motor control
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
speed | -15625 - 15625 [step/s] |
Always
Rotates the motor at the specified speed. Accelerates according to the acceleration of the pre-set speed profile. The specified rotation speed will be limited by maxSpeed if the maxSpeed is exceeded. The motor remains in the BUSY state until the specified speed is reached.
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
step |
when the motor is stopped
Moves a specified number of steps according to the pre-set speed profile. Remains in the BUSY state until it finishes moving the specified number of steps.
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
position | -2,097,152 - 2,097,151 |
Always
Moves to the specified position in the shortest route according to the pre-set speed profile. Remains in the BUSY state until it finishes moving to the specified position.
Inside the driver, -2,097,152 and 2,097,151 are located next to each other in a circle.
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
DIR | 0-1 | |
position | -2,097,152 - 2,097,151 |
Always
Moves to the specified position in the specified direction according to the pre-set speed profile. Remains in the BUSY state until it finishes moving to the specified position.
- home
- Tutorial
-
Connections and settings
- Power supply and Motor
- Sensor and Switch
- Network and DIP switch
- Setup with a microSD card
- Example parameter values for example steppers
- Function description
- OSC command reference
- Technical information