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.
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 cameraspan position PositionTilt -32767~32767 for PlatformA and PlatformK devices
0~32767 for PlatformW and PlatformT speed dome camerastilt 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:
- In related position command, the pan and tilt positions after the URL depends on the mirror and flip settings.
- There are five levels in SpeedPan and SpeedTilt. The PTZ camera might have more levels of them. In case, the linear scaling algorithm will be used for that.
OK: echo the command
or
ERROR: invalid parameters
or
ERROR: internal error.
Valid
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
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