background image

 

 

 

 

V i t a l W e l l   E l e c t r o n i c s   P t e   L t d      

w w w . v i t a l - w e l l . c o m            

 

- 3 - 

CHAPTER II    

CONFIGURATION MODE 

 

This  section  describes  the  configuration  and  test  commands  supported  by  the 
radio modem. In most cases, once the configuration is set it will not need to be 
changed.  Configuration  is  performed  using  a  serial  terminal,  or  appropriate 
communication application. 
 
All commands and command values accepted by the radio modem are described 
in  this  section;  any  entries  other  than  those  listed  here  results  in  an  invalid 
command or argument error message. 
 
The first step to configuring the Radio Modem is to put it in Configuration Mode

 

 

II.1   Entering Configuration Mode 
 

A  series  of  three  consecutively  typed  characters,  called  an  escape  sequence, 
forces  the  radio  modem  to  exit  data  transfer  mode  and  enter  the  modem 
configuration mode. While in 

Configuration Mode

, you can communicate directly 

with the radio modem using a number of specific commands to configure and test 
the radio modem. 
 
The escape sequence is factory set to 

+++

 (

No carriage return key is followed

). A 

pause  length  of  which  is  called  the  escape  guard  time  (about  1s)  must  be 
completed both before and after when escape sequence is entered. These three 
'+' characters must 

not

 

be sent as one continued frame. The delay between any 2 

characters  must  be  between  20ms~1s  for  the  (

+++

)  sequence.  This  prevents 

the  radio  modem  from  interpreting  the  escape  sequence  as  data  and  the  vice 
versa.  The  guard  time  must  also  be  met  when  the  Radio  Modem  is  initially 
powered up. 
 
Configuration changes are stored permanently in non-volatile memory within the 
Radio  Modem.  Exiting  Configuration  Mode  and  returning  back  to  data  transfer 
mode is accomplished by typing 

ATO

 

at the command prompt. This will force a 

soft  reset  of  the  Radio  Modem  resulting  in  any  configuration  changes  taking 
effect.

 

 

II.2   Command Format 

 
VW modem

s parameters are set through the use of AT type commands sent on 

the serial link. 
 
'AT' commands complies with Hayes protocol used in PSTN modem standards. 
This 

AT

  protocol  is  used  to  configure  the  modem  parameters,  based  on  the 

following principles : 
 

Summary of Contents for VW1100A

Page 1: ...te e L Lt td d T Te el l 8 86 6 0 07 75 56 6 3 38 86 67 72 28 80 0 Block D2 408 409 Southern Software Park TangJia Z Zh hu uH Ha ai i C Ch hi in na a 5 51 19 90 08 80 0 vital well com VW1100A VW2500A...

Page 2: ...ny material form except with the written permission of VitalWell Electronics Pte Ltd This publication is intended only to assist the reader in the use of the product VitalWell Electronics Pte Ltd shal...

Page 3: ...ations links where each unit can accept serial data and also output serial data The VW series radio modems are fully self contained units requiring only an external 5VDC or 3 3VDC power source to oper...

Page 4: ...TRANSPARENT MODE 9 III 1 Operation III 2 Examples CHAPTER IV TRANSPARENT SECURED MODE 10 IV 1 Operation IV 2 Examples CHAPTER V ADDRESSED MODE 11 V 1 Operation V 2 Examples CHAPTER VI ADDRESSED SECUR...

Page 5: ...equency band ISM 433 868 915MHz 2 4GHz ii Channels 16 or 255 for 2 4GHz iii RF rate 1 2kbps 2 4kbpa 4 8kbps 9 6kbps 19 2kps 38 4kbps 76 8kbps 115 2kbps 256kbps VW1100A VW2500A iv Max RF transmitter po...

Page 6: ...it will create a virtual serial port on the PC All applications which designed for serial ports will be able to work well with this module E g It allows the PC to use a normal hyper terminal applicati...

Page 7: ...s to configure and test the radio modem The escape sequence is factory set to No carriage return key is followed A pause length of which is called the escape guard time about 1s must be completed both...

Page 8: ...itional data CR Note The delay between 2 characters of the same command must be less than 30 seconds All alphabetical characters typed in configuration command mode are converted to upper case before...

Page 9: ...guration Mode Answer Good Bye Command Description Register Handling AT V AT V command displays the modem s firmware version number similar as follows Signature Report RF Modem V2 00A Built Date Time J...

Page 10: ...ion mode are stored in modem s EEPROM s registers called S registers Those registers are always listed as follows _ S10x registers correspond to the serial parameters _ S110x registers correspond to t...

Page 11: ...t _ 1 Software Xon Xoff R W S102 Serial Link Time Out Indicates the value of the time out on the serial link time out counts on bytes lapsed on the current baudrate E g at serial baudrate 9600bps a va...

Page 12: ...Disable FEC Forward Error Correction Control _ 0 Disable default _ 1 Enable When FEC enabled Redundancy is added to the transmitted data in such a way that the receiver can restore the original data i...

Page 13: ...rk id will be linkable R W S124 Operation Mode Operation Mode _ 0 Transparent Mode default _ 1 Transparent Secured Mode _ 2 Addressed Mode _ 3 Addressed Secured Mode _ 10 Testing mode in this mode the...

Page 14: ...dem will retry automatically for the numbers which set by register S125 but doesn t assert the signals to host If enable after each successful transmission a Synchronize byte 0x16 will be sent out if...

Page 15: ...oth point to point and multipoint links The software flow control Xon Xoff can be enabling for this mode if the user want to send a large block data in this mode However no flow control on the radio l...

Page 16: ...analyses this data frame and checks its consistency When the data frame is received correctly the receiver transmits an Acknowledgement back to the transmitter and delivers the received data frame to...

Page 17: ...ll be sent to the default address register S123 This is useful when in a server client configuration all clients set the default address to their server address For example when S127 0 S123 1 Hello se...

Page 18: ...e addressed mode And the radio acknowledgment handling method is identified with the transparent secured mode The software flow control Xon Xoff can be enabled ATS101 1 on its serial link VI 2 Example...

Page 19: ...xA 232T X Interface TTL RS232 VWxxxxA 232C X Interface RS232C VWxxxxA 485 X Interface RS485 VWxxxxA USB X Interface USB Where X 4 Frequency band at 433MHz ISM X 8 Frequency band at 868MHz ISM X 9 Freq...

Page 20: ...ree as possible so that a line of sight propagation is established between modems to achieve a better radio link _ The modem should not be surrounded by metallic masses because of the disturbances cau...

Page 21: ...t only adjust 1 or 2 registers settings depending on the requirement Or you may just want to confirm the settings by enter AT L to have a setting s list After everything is confirmed you can enter ATO...

Page 22: ...S111 0 ATS112 3 ATS120 192 168 ATS121 100 device ID ATS122 200 default destination id ATS123 127 ATS124 2 Addressed Mode ATS125 3 ATS126 0 no address at the header ATS127 0 Client2 ATS100 60 ATS101 1...

Page 23: ...ATS101 1 you can turn off Xon Xoff by ATS101 0 ATS120 192 168 ATS121 1 device ID client id 1 ATS122 10 default destination id the server ID ATS124 2 Addressed Mode ATS126 0 no address at the header de...

Page 24: ...V i t a l W e l l E l e c t r o n i c s P t e L t d w w w v i t a l w e l l c o m 20 B 6 A typical Hyper terminal setting Xon Xoff enable...

Page 25: ...b Rev 2 0 Add VW1100A VW2500A c Rev 2 2 Add ordering information d Rev 2 3 Add FEC control register for VW1100A VW2500A e Rev 2 4 Add VW1205A f Rev 2 5 i Add sleep mode 232T S103 testing mode S124 ii...

Page 26: ...al lW We el ll l E El le ec ct tr ro on ni ic cs s P Pt te e L Lt td d T Te el l 8 86 6 0 07 75 56 6 3 38 86 67 72 28 80 0 Block D2 408 409 Southern Software Park TangJia Z Zh hu uH Ha ai i C Ch hi i...

Reviews: