MoveCam.cgi

Description
Move camera in the specified direction. (administrator privilege required)

Grammar

(1) about preset points operation:
/MoveCam.cgi?PresetPoint&[Set|Move|Clear]&Num=iPresetPointNum
/MoveCam.cgi?PresetPoint&SetXY&X=iX&X=iY

(2) about pan/tilt:
a. move to specific direction
/MoveCam.cgi?Dir=[Left|Right|Up|Down|LeftUp|LeftDown|RightUp|RightDown]&[Step=iStep]

b. special move
/MoveCam.cgi?Dir=[Home|Stop|Center|PatrolX|PatrolY|PatrolP]

b. move (iX,iY) relative to current position
/MoveCam.cgi?MoveRXY&X=iX&Y=iY

c. move to absolute position (iX,iY)
/MoveCam.cgi?MoveAXY&X=iX&Y=iY

Parameters

iPresetPointNum : preset point number you want to set, move or clear, from 1 to 6.
iStep : steps you want to move
iX : x position
iY : y position
Dir :
Home : calibrate home position, will move to limit and return to center.
Stop : stop move
Center : move to center position
PatrolX : patrol horizontally then "Home"
PatrolY : patrol vertically then "Home"
PatrolP : patrol via preset points then "Home"

Example

set current position as preset point 1:
/MoveCam.cgi?PresetPoint&set&Num=1

move to preset point 3:
/MoveCam.cgi?PresetPoint&move&Num=3

clear preset point 6:
/MoveCam.cgi?PresetPoint&Clear&Num=6

move up 10 steps:
/MoveCam.cgi?Dir=Up&Step=10

move right with default step (default step is 10):
/MoveCam.cgi?Dir=Right

move to center:
/MoveCam.cgi?Dir=Center

/MoveCam.cgi?PresetPoint&SetPatrolInterval=iInterval

/MoveCam.cgi?PresetPoint&GetPatrolInterval[?JsVar=variable[&OnJs=function]]

iInterval between 0 and 65535