User Manual
Table Of Contents
- Cover
- Section 1 Introduction
- Section 2 Installing the AXIS 240
- Section 3 Assigning an IP Address
- Section 4 Configuring the AXIS 240
- Section 5 Using the AXIS 240
- Appendix A Troubleshooting
- Appendix B The Parameter List
- Appendix C Updating the Software
- Appendix D Technical Specifications
- Appendix E The Auxiliary IO Port
- Appendix F The RS232 Serial Ports
- Appendix G Camera Applications
- Appendix H CRON Script Command Reference
Section 5: Using the AXIS 240 AXIS 240 Users Manual
62
Example 1
Write the data stream 430001FF to the Pan/Tilt port:
Example 2
Clears the input buffer, writes the data string 2B004C4C4F to the
Pan/Tilt port and waits 5 seconds for a reply. The AXIS 240 will
return a value to the Web browser:
Example 3
An HTML page for reading and writing to the Pan/Tilt port:
flush=<value>
Empties the input buffer for the
Pan/Tilt port. Always performed first
when combined with other
parameters.
yes/no
http://camserv/cgi-bin/control?dataout=430001FF
http://camserv/cgi-bin/control?flush=yes
&dataout=
2B004C4C4F&wait=5&
read=20
<HTML>
<HEAD>
<TITLE>HTTP Input/Output Test Page</TITLE>
</HEAD>
<BODY>
<H2>HTTP Input/Output Test Page</H2>
<FORM ACTION="http://camserv/cgi-bin/control"
method=post>Write hexadecimal byte string
<input type=text size=20 maxsize=19 name="dataout">
to Pan/Tilt port.
<P>Read <input type=text name=read value="0"
size=4> bytes from Pan/Tilt port.
<P>Wait <input type=text name=wait value="1"
size=4> seconds.
<P><input type=submit name="Send" value="Send HTTP
Request"></FORM>
</BODY>
</HTML>










