POSITION

 

Description

Move the camera to the specific pan and tilt positions

The firmware does not verify if the pan and tilt positions in this command are out of moving limit range. That means there is no error message in this case.

There are two types of commands in the URL. They are absolute position and relative position commands. The first input argument indicates the command type.

Input Argument

cmd,PositionPan,PositionTilt,SpeedPan,SpeedTilt
where
Input argument Valid Values Description
cmd ABSOLUTE, RELATE ABSOLUTE: absolute position command
RELATE: related position command
In PlatformT TCM-6630 speed dome, only ABSOLUTE command is available.
PositionPan -32767~32767 for PlatformA and PlatformK devices
0~32767 for PlatformW and PlatformT speed dome cameras
pan position
PositionTilt -32767~32767 for PlatformA and PlatformK devices
0~32767 for PlatformW and PlatformT speed dome cameras
tilt position
SpeedPan 1~5 pan speed. 1: slowest speed, 5: fastest speed
SpeedTilt 1~5 tilt speed. 1: slowest speed, 5: fastest speed
The SpeedPan and SpeedTilt have to be included or be not included in this URL.
When they are not included in the URL, the firmware will use current pan and tilt speeds to go to PositionPan and PositionTilt positions.

Note:

Attribute

Return of Message

OK: echo the command
or
ERROR: invalid parameters
or
ERROR: internal error.

Applicability

Status

Valid

See Also

ADDR, PTZ_VENDOR, ZOOM, ZOOM_POSITION, FOCUS_POSITION, MOVE_LIMIT, MOVE_LIMIT_GET, MOVE_MAX_SPEED_GET, POSITION_GET, XYZ_POS_GET VIDEO_MIRROR_MODE, VIDEO_FLIP_MODE

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&POSITION=ABSOLUTE,100,100
or
http://ip:port/cgi-bin/cmd/encoder?POSITION=ABSOLUTE,-100,100

Back to

HOME, ENCODER CGI