
Appendix D -
The RS232 Interface
AXIS 2400/2401 Administration Manual
50
Serial Port Control using the TCP Protocol
The AXIS 2400/2401 supports input/output operations on the serial ports directly via the TCP
protocol. The functionality can be used for adjusting the video camera position
or
for controlling a
simple device, such as a relay switch. This functionality is normally used from a client application,
developed for instance in Visual Basic. The schematic diagram below illustrates the logical elements
for such a configuration:.
To enable TCP input/output operations on the Pan/Tilt port, follow these steps:
1. Click the
Generic
icon within the graphic user interface.
2. Set the TCP radio button.
3. Define the appropriate TCP Port number.
4. Click
Save
.
Note:
Your TCP client application must also use this TCP port when communicating with the AXIS
2400/2401.
5. The Pan/Tilt port is now enabled for input/output operations via TCP.
Tip!
In step 3 (above), use a Telnet session to access the TCP port, and set a null modem connection to a
terminal program; such as, Hyper Terminal to verify the setup of the generic TCP driver.
Computer
TCP Application
TCP Driver
Device Driver
AXIS 2400/2401
RS485
RS232
RS232
COM 1
COM 2
Camera
Pan Tilt
Device
Camera
Pan Tilt
Device
Fixed
External
2
1
e.g. Visual Basic