Query power applied to motors, Query amps from battery to each motor channel, Important notice – RoboteQ AX2850 User Manual

Page 140: Query analog inputs

Advertising
background image

Serial (RS-232) Controls and Operation

140

AX2550 Motor Controller User’s Manual

Version 1.9b. June 1, 2007

Query Power Applied to Motors

Description:
This query will cause the controller to return the actual amount of power that is being
applied to the motors at that time. The number is a hexadecimal number ranging from 0 to
+127 (0 to 7F in Hexadecimal). In most cases, this value is directly related to the command
value, except in the conditions described in the notes below.

Syntax:

?v or ?V

Reply:

nn
mm

Where:

nn = motor 1 applied power value
mm = motor 2 applied power value

Notes:
The applied power value that is read back from the controller can be different than the com-
mand values for any of the following reasons: current limitation is active, motors operate at
reduced speed after overheat detection, or mixed mode is currently active.

No forward or reverse direction information is returned by this query. This query is most
useful for providing feedback to a microcontroller commanding the controller.

Query Amps from Battery to each Motor Channel

Description:
This query will cause the controller to return the actual number of Amps flowing from the
battery to power each motor. The number is an unsigned Hexadecimal number ranging
from 0 to 256 (0 to FF in Hexadecimal).

Syntax:

?a or ?A

Reply:

nn
mm

Where:

nn = motor 1 Amps
mm = motor 2 Amps

Notes:
The Amps measurement has an approximately 10% precision. Its main purpose is to pro-
vide feedback to the controller’s current limitation circuitry.

Important Notice

The current flowing in the motor can be higher than the battery flowing out of the battery.
See “Battery Current vs. Motor Current” on page 45.

Query Analog Inputs

Description:
This query will cause the controller to return the values of the signals present at its two
analog inputs. If the controller is used in close-loop speed mode with analog feedback, the

Advertising