Specification for Format and Definition of Tilt Angle Query & Feedback Commands of Pelco_D Pan-Tilt Protocol

● Tilt Angle Query Command for Pan Tilt

Command Format:  FF 01 00 53 00 00 54

Description: When this command is sent to the pan-tilt, the unit shall return its current tilt position   command upon receipt of valid command.

● Tilt Angle Data Return Command

Command Format: FF 01 00 5B TMSB TLSB SUM

TMSB and TLSB are hexadecimal values; SUM is the least significant byte derived from the sum of the five bytes excluding the leading 0xFF.

Description: After the pan-tilt receives a valid tilt query command, it sends back a feedback command   containing tilt position information.

● Steps to calculate the tilt angle of the pan-tilt are as follows:

A. Convert the hexadecimal values of TMSB and TLSB into decimal numbers.

B. Calculate: Tdata = TMSB × 256 + TLSB to get the computed result.

C. Compare the magnitude of Tdata1 against 18000.

If Tdata1 is greater than 18000, Tdata2 = 36000  Tdata1;

If Tdata1 is less than 18000, Tdata2 = Tdata1.

C. Calculate actual tilt angle: Tangle=Tdata2÷100.

The calculated Tangle is the real absolute vertical tilt position value of the pan-tilt.

Example 1:

After sending the command FF 01 00 53 00 00 54 to the pan-tilt,

the pan-tilt responds with data-containing command  FF 01 00 5B 8A 63 49.

A、TMSB = 0x8A  TLSB = 0x63 convert to decimal values: TMSB = 138  TLSB = 99;

B、Tdata1 = TMSB *256 + TLSB = 138*256+99 = 35427;

C. Since Tdata1 > 18000, Tdata2 = 36000 Tdata1 = 36000  35427 = 573.

D、Tangle = Tdata2÷100 = 5.73°。 i.e., the current actual absolute vertical tilt position of the pan-tilt is 5.73°

Example 2:

After sending the command FF 01 00 53 00 00 54 to the pan-tilt,

the pan-tilt responds with data-containing command  FF 01 00 5B 00 64 C0

A、TMSB = 0x00  TLSB = 0x64  convert to decimal values: TMSB = 0  TLSB = 100;

B、Tdata1 = TMSB *256 + TLSB = 0*256+100 = 100

C、Since Tdata1 < 18000, Tdata2 = Tdata1 = 100.

D、Tangle = Tdata2÷100 = -1.00°。i.e., the current actual absolute vertical tilt position of the pan-tilt is -1.00°。

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