RoboteQ AX2550/2850 ユーザーズマニュアル

ページ / 180
Serial (RS-232) Controls and Operation
104
AX2500/2850 Motor Controller User’s Manual
 Version 1.7. February 1, 2005
logging purposes. This cable has a 15-pin male connector and 3 15-pin connectors. The 
male connector plugs into the controller. The application cable that would normally plug 
into the controller may now be plugged into one of the adapter’s female connector 2. The 
PC can be plugged into connector 3 or 4. Connector 3 has the Rx and Tx data lines needed 
for full duplex serial communication, thus allowing the PC to send commands to the con-
troller. Connector 4 has the Rx line cut so that only a data flows only from the controller to 
the PC. This configuration is for capturing the data logging strings sent in the RC or Analog 
modes. 
Decimal to Hexadecimal Conversion Table
The AX2500/2850 uses hexadecimal notation for accepting and responding to numerical 
commands. Hexadecimal is related to the binary system that is used at the very heart of 
microcomputers. Functions for converting from decimal to hexadecimal are readily avail-
able in high level languages such as C. 
If you intend to enter commands manually using the terminal emulation program, you can 
use the conversion table in Table 19 to do the translation. Note that the table only shows 
numbers for 0 to 127 decimal (00 to 7F hexadecimal). The AX2500/2850’s speed com-
mands are within this range. Table 20 shows the conversion values for numbers between 
128 and 255 (unsigned) and between -1 and -128 (signed)
TABLE 19. 0 to +127 signed or unsigned decimal to hexadecimal conversion table
Dec
Hex
Dec
Hex
Dec
Hex
Dec
Hex
0
00
32
20
64
40
96
60
1
01
33
21
65
41
97
61
2
02
34
22
66
42
98
62
3
03
35
23
67
43
99
63
4
04
36
24
68
44
100
64
5
05
37
25
69
45
101
65
Male to controller
Female to PC with RxData Only
Cut
Wire
Front View
Rear View
Female to PC with Rx and Tx Data
Female to Application
1
1
1
1
1
2
3
4
FIGURE 62. ASCII string sent by the controller while in R/C or Analog mode