Description of special extended instructions for PelcoD PTZ protocol angle control

Standard PelcoD protocol absolute angle control command, its format is

Horizontal FF ADD 00 4B DATA1 DATA2 SUM, the function is to reach a horizontal absolute position at a default speed.

Vertical FF ADD 00 4D DATA1 DATA2 SUM, the function is to reach a vertical absolute position at a default speed.

The angle calculation method is as follows:

A. Horizontal absolute angle control

Command format: FF ADD 00 4B DATA1 DATA2 SUM where (DATA1<<8) + DATA2=angle*100

For example, the current address of the PTZ is 1, the horizontal angle is 100°, and it is required to rotate to a position with an angle of 10°.

Then send the command FF 01 00 4B 03 E8 37, where the angle is 10° and calculated as

10*100=1000=(0x03<<8)+0xE8[0x03 is DATA1, 0xE8 is DATA2].

B. Vertical absolute angle control

Command format: FF ADD 00 4D DATA1 DATA2 SUM

If the angle is negative, (DATA1<<8) + DATA2=angle*100;

If the angle is positive, (DATA1<<8) + DATA2=36000-angle*100.

For example, the current address of the PTZ is 1, the vertical angle is 10°, and it is required to rotate to the position of -10°.

Then send the command FF 01 00 4D 03 E8 39, where because the angle is negative,

The angle is -10°, calculated as 10*100=1000=(0x03<<8)+0xE8[0x03 is DATA1, 0xE8 is DATA2].


aiptz.com



Founded in 2005

Professional because of focus

Shenzhen JieShian Electronic Technology Co., Ltd. [www.aiptz.com]- [2005~2026] All rights reserved       Guangdong ICP No. 18090094-3
86-755-89968730
aiptz@jsa-cctv.com
Hot Tags:pan tilt,tilt vs pan,pan tilt head,pan tilt unit,pan tilt units,pan tilt heads,manual pan tilt,pan-tilt systems,pan tilt platform,motorized pan tilt,pan tilt motorized,pan and tilt units,pan tilt positioner,Manual Pan & Tilt Units,pan tilt head motorized,pan tilt motorized head,remote pan and tilt head,precision pan-tilt system,motorized pan & tilt units,pan tilt motorized outdoor,programmable pan tilt head,pan tilt antenna positioner,pan tilt unit manufacturers,diy motorized pan tilt head,best motorized pan tilt head,dual-axis pan tilt positioner,precision pan-tilt system unit,heavy duty motorized pan tilt head
Home         About us          Product          Pan tilt custom         Pan tilt application          Support        AIPTZ-Mall       SiteMap
Technology Provider for AI-Driven Pan-Tilt Systems