
AX1500 Motor Controller User’s Manual
129
Controller Commands and Queries
Set Motor Command Value
Description:
Send a speed of position value from 0 to 127 in the forward or reverse direction for a given
channel. In mixed mode, channel 1 value sets the common forward and reverse value for
both motors, while channel 2 sets the difference between motor 1 and motor 2 as required
for steering. In all other modes, channel 1 commands motor 1 and channel 2 commands
motor 2.
Syntax:
!
Mnn
Where
M
=
A
: channel 1, forward direction
a
: channel 1, reverse direction
B
: channel 2, forward direction
b
: channel 2, reverse direction
Where
nn
=
Speed or position value in 2 Hexadecimal digits from 00 to 7F
Examples:
!A00
channel 1 to 0
!B7F
channel 2, 100% forward
!a3F
channel 1, 50% reverse
Notes:
The hexadecimal number
must always contain two digits
. For example, !a5 will not be
recognized and the controller will respond with a “-” to indicate an error. The proper com-
mand in this case should be !a05.
Set Accessory Output
Description:
Turn on or off the digital output line on the 15-pin connector. See “AX1500’s Inputs and Out-
puts” on page 52 for details on how to identify and wire these signals.
Syntax:
!M
Where:
M=
c
: output C off
C
: output C on
Examples:
!C
turn C output off
!c
turn C output on
?m or ?M
Query
Read Heatsink Temperature
?e or ?E
Query
Read Battery and Internal Voltage
?i or ?I
Query
Read Digital Inputs
?k or ?K
Query
Quick read of Encoder Speed or Position if present
TABLE 21.
Controller’s basic Commands and Queries
Command
Type
Description
Summary of Contents for Dual Channel Digital Motor Controller AX2550
Page 2: ...2 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 4: ...4 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 12: ...12 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 14: ...Important Safety Warnings 14 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 92: ...Closed Loop Position Mode 92 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 154: ...154 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 160: ...160 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...
Page 186: ...Mechanical Specifications 186 AX1500 Motor Controller User s Manual Version 1 9b June 1 2007...