RoboteQ AX2550, AX1500 user manual 00 11 22 33 44 55 66 77 88 99 AA BB CC, Data Logging Cables

Models: AX2550 AX1500

1 186
Download 186 pages 53.05 Kb
Page 156
Image 156
Analog and R/C Modes Data Logging String Format

Controller is on, Radio is turned Off (or Radio On with RC ch3 Off)

Relay deactivates. RS232 is now connected to shared input.

String of Carriage Returns now received by controller.

Computer looks for OK prompt to detect that the RS232 mode is now active.

Note: Wait 5 seconds for the capacitor to discharge before attempting to switch to RC mode if doing this repeatedly. Controller will not reset otherwise.

Analog and R/C Modes Data Logging String Format

When the controller is configured in R/C or Analog mode, it will automatically and continu- ously send a string of ASCII characters on the RS232 output.

This feature makes it possible to log the controller’s internal parameters while it is used in the actual application. The data may be captured using a PC connected via an RS232 cable

FIGURE 1. Pin orlocationswirelessonmodemthe contorollerinto’sa 15PDA-pininstalledconnectorin the actual robot. Details on how to wire the DB15 connector is described on page 112 for the R/C mode and on page 119 for the Analog mode.

This string is composed of a start character delimiter, followed by two-digit Hexadecimal numbers representing internal parameter values, and ending with a Carriage Return charac- ter. The figure below shows the structure of this string.

 

 

miter

1

2

ower

1

2

1

 

2

 

 

 

1

2

 

Volts

Volts

pd/Pos

er

 

 

 

 

ower

In

 

In

 

 

 

 

 

 

 

 

 

 

 

Start

CommCommandOutputOutput

Analog Analog

Amps

Amps

 

TemperatureMain Internal EncoderEnd

 

 

 

 

Temperature

 

Bat

 

 

S

Delimit

 

 

Deli

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P

P

 

 

 

 

1

2

 

 

 

t

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

: 00 11 22 33 44 55 66 77 88 99 AA BB CC : 00 11 22 33 44 55 66 77 88 99 AA BB CC Data Logging CablesManual background

FIGURE 85. ASCII string sent by the controller while in R/C or Analog mode

The hexadecimal values and format for each parameter is the same as the response to RS232 queries described in page 128.

Characters are sent by the controller at the rate of one every 8ms. A complete string is sent in 213ms.

Data Logging Cables

The wring diagrams shown in the figures below describe an easy-to-assemble cable assembly for use to create insertion points where to connect the PC for debug and data

156

AX1500 Motor Controller User’s Manual

Version 1.9b. June 1, 2007

Page 156
Image 156
RoboteQ AX2550, AX1500 user manual 00 11 22 33 44 55 66 77 88 99 AA BB CC, Analog and R/C Modes Data Logging String Format