
31
www.dericam.com
Shenzhen Dericam Technology Co,.Ltd
6. PTZ control
ptzctrl
Function
The control for PTZ motion.
Privilege
admin, user
Usage
/cgi-bin/hi3510/param.cgi?cmd=ptzctrl.cgi[&-step=&-act=&-speed=]
Param.
step
Stepping mode:
0: Signle step and stop until stop command.
1: Single step and stop automatically.
act
Command strings for motion control:
left: Go to left.
right: Go to right.
up: Go to up.
Down: Go to down
upleft, upright, downleft, downright: Go to upleft,
upright, downleft, downright
home: Back to center point.
zoomin: Zoom in.
zoomout: Zoom out.
hscan: The curise of horizontal.
vscan: The curise of vertical.
stop: Stop.
speed
Speed for motion, the value is [1~63].
Return
Success: Success.
Fail: Error.
Note
Different device types may have different parameters for PTZ, please
see Appendix I for reference.
Example
/cgi-bin/hi3510/param.cgi?cmd=ptzctrl&-step=0&-act=left&-speed=45
preset
Function
Set the attributes for preset.
Privilege
admin, user
Usage
/cgi-bin/hi3510/param.cgi?cmd=preset[&-act=&-status=&-number=]
Param.
act
Command strings:
goto: Call and go to the preset point.