POSITION

Description

Move the camera to the specific position.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, the error message will be returned.

MOVE Command Description
ABSOLUTE,PositionPan,PositionTilt,SpeedPan,SpeedTilt Move camera to the specific position with specific speeds. The (PositionPan, PositionTilt) is the distance of position (0,0).
RELATE,PositionPan,PositionTilt,SpeedPan,SpeedTilt Move camera to the specific position with specific speeds. The (PositionPan, PositionTilt) is the distance of current camera position.

The PositionPan and PositionTilt are in hexadeciaml started from 0x0 to 0xFFFF. The PTZ camera might not have such wide range of these positions. However, the device will NOT validate them before parser and handle this URL. Please refer to the device specification to have correct pan and tilt position ranges.

If the URL does not bring the SpeedTilt and SpeedPan, the current pan and tilt speeds will be used.

The SpeedPan and SpeedTilt are in hexadecimal and started from 0x1 (slowest) to 0x5 (fastest)

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.

Input Argument

Refer to above command table

Attribute

Return of Message

OK: echo of command
or
ERROR: echo of command

Applicability

Status

Valid

See Also

ADDR, PTZ_VENDOR, ZOOM, ZOOM_POSITION, FOCUS_POSITION, MOVE_LIMIT, MOVE_LIMIT_GET, MOVE_MAX_SPEED_GET, POSITION_GET

Example

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

Back to

HOME, ENCODER CGI