Справочник Пользователя для ICP DAS USA 7000

Скачать
Страница из 84
 
              
7000 Bus Converter User Manual (version 1.2,Feb/2003, 7PH-006-10)  --------------- 82 
7.3    Changing Baud Rate 
 
Wire connection: Refer to Sec. 2.7 
Test program: Refer to “NAP7000S User Manual” for TEST.EXE 
 
 
The steps to change the baud rate of communication are given as follows. 
1.  Wire connection, power on and run test.exe 
2. Press 2 
3. Press $012[Enter] 
 
 
 Receive=! 01080600 
4. Press 2 
5. Press %0101080A00[Enter]
 Receive=? 01 
6.  Connect INIT*_pin (pin 6) to GND_pin (pin_10) 
7. Press 2 
8. Press %0101080A00[Enter]
 Receive=! 01 
9. Press 2 
10. Press $012[Enter]
 Receive=! 01080A00 
11.  Power off, disconnect INIT*_pin and  
GND_pin, power on and run test.exe 
12. Press 0 
13. Press 1[Enter](1/2/3/4 for COM 1/2/3/4) 
14. Press 115200[Enter] 
15. Press 0[Enter] 
16. Press 2 
17. Press $012[Enter] 
 Receive=! 01080A00 
  Step 3: read the module status, baud rate=9600 
  Step 5: change baud rate with the INIT*_pin floating and the function will fail 
failure. If the user want to change the baud rate of the 7000 module, the 
INIT*_pin must be connected to the GND_Pin. If the INIT*_pin is left floating 
(unconnected), the 7000 module will echo ?AA to the user. 
  Step 8: change baud rate to 115200 with the INIT*_pin connected to the 
GND_Pin. After this command, the baud rate will remain at 9600. The baud 
rate of the 7000 series will be changed only during the power-on interval. 
 
  Step 10: read the module status, baud rate= 115200(this value, is stored in 
the EEPROM only). The baud rate is changed in step 8 but the baud rate of 
this module is still at 9600 BPS. When the module has powered-off-and-
powered-on, the baud rate will be changed to 115200. 
  Step 11: power off, then power on. The module will change its baud rate 
based on the EEPROM value only when the module has first powered-on 
  Step 13-16: change TEST.EXE to baud rate 115200 
 
Step 17: use baud rate 115200 to read back the module status and find that 
the module is now communicating at baud rate 115200.
 
 
NOTE: 
(1) To change the baud rate, the 
INIT*-pin must be connected to 
GND-pin 
(2) The baud rate will be saved into 
EEPROM immediately. 
(3) 
The module will change its baud 
rate only during the first power-
on time.