Download Print this page

RESEARCH CONCEPTS RC2000 User Manual page 9

Web server

Advertisement

RC2000 Web Server User's Manual
3.3 Ethernet-to-Serial
This section describes how the RC2000 antenna controller can be controlled remotely over an
ethernet connection using the User Datagram Protocol (UDP).
UDP is a simple connectionless protocol where datagrams are sent from a host IP and port to a target
IP and port. No acknowledgement, retransmission, or timeout is built in. The SA-Bus protocol used by
the RC2000 remote system fills these roles, making UDP the natural choice for monitor and control
over an ethernet connection.
The RC2000 maintains an open IP connection for UDP datagrams on the user-defined Applet Port.
By default, this port number is 6767. The packet data of an incoming datagram is relayed directly to
the RC2000 internal serial port. The RC2000 response is returned to the host in a similar fashion.
The packet structure of a UDP datagram is beyond the scope of this document. For the following
examples, a datagram will consist of a packet header and packet data as illustrated below:
UDP Packet Header
To send a command to the RC2000, make the packet data equal to the full SA-Bus compliant
command including the STX, ETX, and trailing checksum as shown below:
UDP Packet Header
The reply from the RC2000 will be in a similar fashion as shown below:
UDP Packet Header
If no response is received from the RC2000, the reply datagram will be:
UDP Packet Header
Research Concepts, Inc. has prepared a demo program written in C#, to assist individuals interested
in developing monitor and control software for an antenna controller with the integrated IP option.
STX
Address
Command
Code
ACK/NAK
Address
Command
Code
UDP Packet Data
Message Body
Message
Body
TO
7
ETX
Checksum
ETX
Checksum

Advertisement

loading