User Manual
MCP Series 
Brushed DC Motor Controllers
MCP Series User Manual
118
MOTORDECCEL (2)
Variable array holds the current decceleration setting for both motor channels. The seperate 
decceleration value is only used with position commands. Acceleration is used as both 
acceleration and decceleration in velocity/distance commands.
main
  puts 0,[“Motor1 Decceleration Setting:”,dec MOTORDECCEL(0),13]
  pause 100
  goto main
MOTORSPEED (2)
Variable array holds the current speed setting for both motor channels.
main
  puts 0,[“Motor1 speed:”,sdec MOTORSPEED(0),13]
  pause 100
  goto main
MOTORDEFAULTACCEL (2)
Variable array holds the default acceleration setting used for duty cycle commands and 
compatibility commands for both motor channels.
;initialize motor default acceleration for Duty cycle commands
MOTORDEFAULTACCEL(0) = 655360
main
  goto main
MOTORMAXCURRENT (2)
Variable array holds the maximum current setting for both motor channels.
;initialize motor maximum current limit
MOTORMAXCURRENT(0) = 3000
main
  goto main
MOTORMINCURRENT (2)
Variable array holds the minimum current setting for both motor channels.
;initialize motor maximum current limit
MOTORMINCURRENT(0) = -3000
main
  goto main










