AOR RS232 User Guide

®
RS232 protocol listing for the AR8200 (accompanies the CC8200) Documentation release V1.3
Every effort has been made to make this manual correct and up to date. Due to continuous development of the product and by error or omission anomalies may be found and these are acknowledged. This manual is protected by copyright AOR LTD 1998. No information contained in this manual may be copied or transferred by any means without the prior written consent of AOR LTD. AOR and the AOR logo are trade marks of AOR, LTD. All other trade marks and names acknowledged. E&OE. © 1998 AOR LTD. Japan.
Index
2 Supplied accessories ............................................ 1
3 Connection for RS232 operation .......................... 1
4 Use of Microsoft Terminal & Hyper Terminal ........ 2
5 How to send a command ...................................... 5
6 Command index .................................................... 5
7 Detailed command list ........................................... 6
8 AOR control software ............................................ 18
9 Acknowledgements ............................................... 1 8
10 Contact details ...................................................... 18
(1) General
The AR8200 is designed to be connected to a computer using the optional CC8200 lead with built-in level shift conversion, this will enable computer control via the RS232 serial port of a computer. An additional piece of software will usually be required in order to address the computer’s serial port with the correct set of parameters. If using an IBM-PC or clone (with 80386 processor or higher)
Microsoft Hyper Terminal
(or WINDOWS TERMINAL on Windows 3.1x) may be used to address the computer’s serial port.
In order to gain the greatest flexibility, a specialist software package is desirable. For this reason a Windows based PC package is supplied FREE on the CD-ROM accompanying the CC8200 (this may also be made available from the AOR web site WWW.AORJA.COM).
For those wishing to compile their own software (for computers other than the PC etc) or for basic terminal control, please refer to the following command protocol.
(2) Supplied Accessories
Please check that the following items are included in the package:
CC8200 lead with built-in level shift (9-pin D type connector) One CD-ROM containing protocol listing and PC software One
(3) Connection for RS232 operation
The option socket is mounted on the right hand side of the cabinet underneath the 12V d.c. input socket. The socket is protected from dust by a grey rubberised case stopper which is hinged toward the front of the cabinet. Gently lift the stopper from the rear edge to reveal the D-shaped metallic socket. Be careful to keep dust and dirt from this socket and to prevent liquid entering the AR8200 via this socket. Ensure that no conductive material is allowed to short circuit the socket which may damage the receiver.
&Notes:
Switching the receiver On, setting of volume and adjustment of squelch cannot be achieved via the RS232 port. Computers “always” generate RF noise which may interfere with the AR8200 reception if the standard helical rubber aerial is used. To reduce the effects of noise, use of a remote aerial is highly recommended with good quality 50 OHM coaxial cable employed.
The following signals are available via the option socket including detector output, mute and AGC. This pin-out assumes connection using the AOR optional OS8200 or CC8200 leads (refer to page 117 of the English language operating manual):-
RED +4.2V BLACK RXD BLUE GROUND BROWN MUTE ORANGE AGC SHIELD GROUND WHITE TXD YELLOW GROUND GREEN AUDIO OUT GREY DETECTOR OUT PURPLE GROUND
&Note:
TXD + RXD (levels to drive a level shift converter) The voltage output level to drive external RS232 is deliberately below ‘H’ level. If connecting to an external I.C., you must be aware of latch status.
Page 1
Connect the optional CC8200 computer control lead to the option socket and connect to a computer. The RS232 parameters may be defined using the CONFIG menu. Baud rates (transfer speed) may
be set to 4800, 9600 or 19200bps. It is also possible to set an ‘address’ to facilitate connection of up to 99 AR8200 to a single port for custom operation, the addresses may be set between the limits of 01 to 99 with 00 representing single radio operation.
When operating from external RS232, the legend ¤ will be displayed on the LCD. Please refer to
109 section 14-6
of the English language operating manual for information on the CONFIG menu settings.
page
If your computer has a 9-pin ‘D’ type connector then simply connect to the computer’s serial port, if however the computer input is 25 way, either a 9-pin male - 25-way female adaptor (ensure all pins are connected through) or patch lead will be required. If a lead is used, the following connections are suggested:-
CC8200 9-pin male PC 25 way female
23 32 5 7 GND 74 85
The following RS232 parameters are employed:-
Interface Built in level shift within the CC8200 lead Connections used TXD, RXD, GND Flow control Software X flow Baud rate 19200, 9600, 4800 (selectable) Data 8 bit, 2 stop bits Parity None
RS232 command set ASCII text, <CR> or <CR><LF> delimeter
&Note: The ñòïðarrow keys and remote ID command (^A) are non-printable
Both the computer and AR8200 must use the same parameters for correct operation. If data is regularly lost or corrupted, try using a slower speed such as 4800 baud. Use of a slower baud rate should not greatly reduce overall communications transfer rate since the processing time within the receiver as PLL lock-time ultimately restricts the whole process.
&Note: When changing BAUD rate, switch the AR8200 Off/On to ensure the new speed is selected.
(4) Use of Microsoft WINDOWS ‘Terminal’ and ‘HyperTerminal’ Windows 3.1x uses TERMINAL in a similar way using TERMINAL in the program Manager group. If the terminal program has not
been configured an error message will appear (depending upon the serial port / mouse configuration). Click on [OK] to continue. TERMINAL will open and appear on the screen. You may re-size or maximise the screen at this point. Click on the Settings heading toward the top of the screen so that the communications and terminal parameters may be configured. Click on “TERMINAL EMULATION” then select “ANSI” then click on [OK]. Click on the Settings heading toward the top of the screen so that the communications and terminal parameters may be re-configured. Click on “TERMINAL PREFERENCES” then select the required options. Finally click on [OK]. Click on the Settings heading toward the top of the screen so that the communications and terminal parameters may be re-configured. Click on “COMMUNICATIONS” then select the options as required. The choice of COM port (COM1, COM2 etc) will depend upon your computer serial port and mouse configuration. Finally click on [OK]. Click on the File heading toward the top of the screen and select SAVE_AS. This will enable the chosen parameters to be saved in a file which may be OPENED next time TERMINAL is selected so that the parameters will not require future re-configuration (.TRM being the default extension). The file is saved in the main WINDOWS sub directory. For further information regarding WINDOWS TERMINAL and configuration, please refer to the operating manual supplied with Microsoft software and the computer. Click on “COMMUNICATIONS” then select the required options. The choice of COM port (COM1, COM2 etc) will depend upon your computer serial port and mouse configuration. Finally click on [OK].
Assuming you have Windows98 loaded on an IBM-PC compatible computer (Windows95 setup is virtually identical) click on the START button:
Next scroll up through PROGRAMS, ACCESSORIES, COMMUNICATIONS and onto HYPER TERMINAL (click):
Page 2
The following screen will be displayed:
Double click the HYPERTRM.EXE icon, the following screen will be displayed (this may take quite a few seconds as Windows checks your hardware:
Enter an identifying name, such as AR8200 then click on OK. The CONNECT TO screen will be displayed:
Select the required communications port (serial port). By default, Com1 is selected, this is correct for most lap-top computers but Com2 is more usual for a desktop computer (especially when a serial mouse is used on Com1). Click on OK.
Page 3
Input the required communication parameters as shown above (this example shown 9600 baud but you can select 4800 or
19200), whichever has been configured on in the AR8200 receiver... they MUST be the same. Click on OK.
Select the ‘PROPERTIES’ icon (finger pointing at a written page), select ‘SETTINGS’ then click on ‘ACSII Setup’.
Click on the fields indicated to add carriage returns to outgoing and incoming text. Echo displays your keyboard strokes input on to the computer screen. If incoming text is double-spaced, remove the tick box for ‘ASCII Receiving’. Click OK.
Refer to the command listings later in this section... to try out the link, ensure that the AR8200 is in 2VFO mode (if not type VA [ENTER] ) then type the command RX [ENTER] via the computer keyboard. The AR8200 should respond with the current frequency displayed on the AR8200. To change frequency type RF123 [ENTER], the AR8200 should change to 123.000 MHz.
Page 4
(5) How to send a command
Each command comprises of two upper case letters (header) along with options as required. All commands use ASCII code which MUST BE IN UPPER CASE (except for the ñòïð arrow keys and remote ID command (^A) which are non-printable and use the control codes of ASCII).
A multiple command entry is only valid where specified. Where a multiple command entry is allowed, each command MUST be separated with a space “h20” (HEX DECIMAL). Each command is completed with a [CR] or [CR] [LF]. Although there is no local echo, either [CR] or specified response should come back from the receiver after confirming the correct command.
If no response has been gained after a short while, the receiver has failed to receive the command properly. Send a [CR] then re-send the command. Should problems persist, check your connections and try reducing the RS232 baud rate.
AR8200 remote indication
When the AR8200 has received a command via the RS232C port the receiver’s LCD will display the symbol. The AR8200 will appear frozen while RS232 operation is in progress. To return operation to the radio keyboard, on the AR8200.
(6) Command index
^A Remote ID AF Automatic Frequency Control AM Bandscope analyser AP Auto power off AS Search auto store AT Attenuator AU Auto mode BM Scan bank linking BP Search bank protect BS Search bank linking CF Bandscope centre frequency CN CTCSS operation DA Dial (VFO) audio squelch DB Dial (VFO) level squelch DC Bandscope date centre frequency DD Dial (VFO) delay DP Dial (VFO) pause DS Bandscope **** DT Display frequency (on/off) EX Exit RS232 GA Select scan GD Release select scan channels GM Scan parameter selection GR Select scan recall GS Search parameter selection GV VFO status list LB LCD contrast LC Frequency & level status LM Signal meter reading LS Tone eliminator frequency
(requires optional TE8200 slot card) MA List a block of memory channels MC Monitor control (forced squelch) MD Receive mode MF Bandscope set marker frequency MP Set memory channel pass MQ Delete memory channel or bank MR Memory recall MS Scan mode MW Memory bank resizing MX Memory write NL Noise limiter OF Frequency offset OL Set and list frequency offset OM Opening message PA Power save PC Protect memory channel PD Delete pass frequency PH Bandscope peak hold PI Power save interval
PP Priority channel PQ Wait time for LC2 PR List pass frequencies PW Write search pass frequency QM Quick memory QP Power off QS Delete search bank RF Set receive frequency RX Respond with current data SA Search audio squelch SB Search level squelch SC Voice invertor frequency
(requires the optional VI8200 slot card) SD Search hold / delay time SE Set search data SH Set offset step SI Voice invertor on/off
(requires the optional VI8200 slot card) SL Lower search frequency limit SM Start select scan SP Search pause time SR Recall search parameters SS Start search ST Tuning step size SU Upper search frequency limit SW Bandscope span width TB Set text description for bank TI Set priority interval TM Memory text TS Text search TT Search bank text VA Set VFO A VB Set VFO B VF Select 1-VFO mode VL Beep volume VR Firmware version VS VFO search VT VFO auto-store VV VFO scan WM Write protect bank WP Write protect enable XA Scan audio squelch XB Scan level squelch XD Memory scan delay time XM Mode scan XP Scan pause setting UP/DOWN Tuning arrows
Page 5
(7) Detailed command listing for the AR8200 ^A Remote ID Hex value 0x01
Accepts a value nn in the range 01-99
AF AFC To set: AFn<CR>
n
=0 (off), n=1 (on) To read: AF<CR> Response is AF
n
Note: Not valid in WFM, USB, LSB or CW
AM Bandscope Analyser Mode AM<CR> starts bandscope mode
AM<CR> repeated when in bandscope mode generates a report in the following format: AM PH0 CF0091000000 MF0091000000 SW1
AP Auto Power off APnn<CR>
nn
=00 (off)
nn
=05-95 (sets 0.5 - 9.5 hours to power off following last active transmission) To read: AP<CR> Responds with AP
n.n
(where
n.n
Note: nn must be in multiples of 0.5 hours
AS Search auto-store on/off To set: ASn<CR>
n
=0 (off),
n
=1 (on - write frequency into bank J),
n
=2 (on - same as 1 but erase previous channels to create space for new entries), To read: AS<CR> Response is either n=0 (off) or n=1 (on)
Note: Stores into the search group nominated by GS
is the delay time in hours or 0.0 = off)
AT Attenuator To set: ATn<CR>
n
=0 (off),
n
=1 (on) To read: AT<CR> Response is ATn, where n=0 (off) or 1 (on)
AU Auto mode To set: AUn<CR>
n
=0 (off), n=1 (on) To read: AU<CR> Response is AUn MD
BM Scan bank link setting To read: BM<CR>
Responds with: BM where n = character corresponding to linked bank (A - J or a - j), or - (not linked) Example: BM-BCD---------------- indicates that banks B, C & D are linked To set: BM Where n is a character which specifies a bank which will have its link status toggled (A - J or a - j). There is no need to enter a “-” to avoid changing a bank link BM%%<CR> clears all link settings BM%% Examples: BM abc toggles the link status for banks a, b & c BM%% bc clears the link status for all banks except b & c
nnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnnn
Note: As defined by GM.
BP Search Bank Protect To set: BP
n
=0 (off), n=1 (on) To read: BP<CR> Response is BN
n
n
m
nnnnnnnnnnnnnnnnnnnn
<CR>
<CR> clears all links except those specified
,
BS Bank link search To read: BS<CR>
Responds with: BS or - (not linked). The search bank indicators range from A - T and a - t (40 search banks in all) Example: BS-BC---F-HIJ-------R--a---e--h-j----no---st Indicates that the banks shown are linked.
nnn...n
, where n = character corresponding to linked bank,
Page 6
Loading...
+ 14 hidden pages