User Manual

MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
94
33 - Drive M2 With Signed Duty Cycle
Drive M2 using a duty cycle value. The duty cycle is used to control the speed of the motor
without a quadrature encoder. The command syntax:
Send: [Address, 33, Duty(2 Bytes), CRC(2 bytes)]
Receive: [0xFF]
The duty value is signed and the range is -32768 to +32767 (eg. +-100% duty).
34 - Drive M1 / M2 With Signed Duty Cycle
Drive both M1 and M2 using a duty cycle value. The duty cycle is used to control the speed of
the motor without a quadrature encoder. The command syntax:
Send: [Address, 34, DutyM1(2 Bytes), DutyM2(2 Bytes), CRC(2 bytes)]
Receive: [0xFF]
The duty value is signed and the range is -32768 to +32767 (eg. +-100% duty).
35 - Drive M1 With Signed Speed
Drive M1 using a speed value. The sign indicates which direction the motor will turn. This
command is used to drive the motor by quad pulses per second. Different quadrature encoders
will have different rates at which they generate the incoming pulses. The values used will differ
from one encoder to another. Once a value is sent the motor will begin to accelerate as fast as
possible until the dened rate is reached.
Send: [Address, 35, Speed(4 Bytes), CRC(2 bytes)]
Receive: [0xFF]
36 - Drive M2 With Signed Speed
Drive M2 with a speed value. The sign indicates which direction the motor will turn. This
command is used to drive the motor by quad pulses per second. Different quadrature encoders
will have different rates at which they generate the incoming pulses. The values used will differ
from one encoder to another. Once a value is sent, the motor will begin to accelerate as fast as
possible until the rate dened is reached.
Send: [Address, 36, Speed(4 Bytes), CRC(2 bytes)]
Receive: [0xFF]
37 - Drive M1 / M2 With Signed Speed
Drive M1 and M2 in the same command using a signed speed value. The sign indicates which
direction the motor will turn. This command is used to drive both motors by quad pulses per
second. Different quadrature encoders will have different rates at which they generate the
incoming pulses. The values used will differ from one encoder to another. Once a value is sent
the motor will begin to accelerate as fast as possible until the rate dened is reached.
Send: [Address, 37, SpeedM1(4 Bytes), SpeedM2(4 Bytes), CRC(2 bytes)]
Receive: [0xFF]