Research Concepts RC2500 User Manual

Page 94

Advertising
background image

RC2500 Antenna Controller

Appendix E

RC2500 Comm Protocol

87

Research Concepts, Inc. • 5420 Martindale Road • Shawnee, Kansas 66218-9680 • USA

www.researchconcepts.com

C Program

A C program, RC2500_A.EXE, has been written which allows a user to send commands to the RC2500

via the serial port. The program runs on an IBM PC (or compatible) and was designed to aid the software

developer who is writing programs to control the RC2500 or an installer verifying the serial port wiring. All

of the commands listed above can be sent to the controller. The program features three windows. In the

top window the user is prompted for commands to send to the controller. In the middle window, the

command strings sent to the controller are displayed. The bottom window displays all characters

received from the controller. The source code is included with the program and a developer may

examine and freely use any of the routines. A disk containing this program is included with each

controller. Because the program displays all characters both sent to and received from the controller it is

useful for performing loopback tests to verify the host computer serial port wiring.

Message Delimiters

Here are the delimiters used with SA bus messages, along with their value’s in hex and decimal.

ASCII name

Hex value

decimal value

STX

2

2

ETX

3

3

ACK

6

6

NAK

15

21

Advertising