User Manual

Table Of Contents
Setting Different Bit Rates
Advanced Digital Motor Controller User Manual 167
0: 115200
1: 57600
2: 38400
3: 19200
4: 9600
Make sure that the controller respond to this command with a +. Check that the value has
been accepted by sending ~RSBR.
Send %EESAV from the console to store the new configuration to flash.
Cable configuration
The RS232 connection requires the special cabling as described in Figure 14-2. The 9-pin
female connector plugs into the PC (or other microcontroller). The 15-pin or 25-pin male
connector plugs into the controller.
It is critical that you do not confuse the connector’s pin numbering. The pin numbers
on the drawing are based on viewing the connectors from the front. Most connectors
brands have pin numbers molded on the plastic.
1
2
3
4
7
8
9
5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
6
TX Data
RX Data
Data Out
Data In
GNDGND
DB9 Female
To PC
DB15 Male
To Controller
1
2
3
4
7
8
9
5
1
2
3
4
5
6
7
8
14
15
16
17
18
19
20
6
TX Data
RX Data
Data Out
Data In
GNDGND
DB9 Female
To PC
DB25 Male
To Controller
9
21
10
22
11
23
12
24
13
25
FIGURE 14-2. PC to controller RS 232 cable/connector wiring diagram
The 9 pin to 15 pin cable is provided by Roboteq for controllers with 15 pin connectors.
Controllers with 25 pins connectors are fitted with a USB port that can be used with any
USB cables with a type B connector.
Extending the RS232 Cable
RS232 extension cables are available at most computer stores. However, you can easily
build one using a 9-pin DB9 male connector, a 9-pin DB9 female connector and any 3-con-
ductor cable. DO NOT USE COMMERCIAL 9-PIN TO 25-PIN CONVERTERS as these do
not match the 25-pin pinout of the controller. These components are available at any elec-
tronics distributor. A CAT5 network cable is recommended, and cable length may be up to
100’ (30m). Figure 14-3 shows the wiring diagram of the extension cable.