User Manual
MCP Series 
Brushed DC Motor Controllers
MCP Series User Manual
173
POWER
Syntax
power motor,duty,accel
• Motor - is a variable, constant or expression that species which motor to access.
• Duty - is a variable, constant or expression that sets the duty to run the motor at.   
• Accel - is a variable, constant or expression that sets the acceleration/decceleration to   
 use when the motor powers up/down to the specied power.         
Description
The POWER command is used to control a motor using just a PWM duty cycle percentage. This is 
the simplest method of controlling a DC motor but does not compensate for changes in the load 
on the motor.
;Simple PWM control of motor
main
  power 0,32767,32767 ;should take 1 second to accel to specic power(100% duty)
  pause 1000
  power 0,0,32767  ;should take 1 second to deccel to 0% power.
  pause 1000
  goto main










