Mitsubishi Electronics PTZ Command for Manual Script, DX-VS1UE User’s Manual, Exceptions

Models: DX-VS1

1 38
Download 38 pages 14.84 Kb
Page 27
Image 27
PTZ Command for Manual Script

PTZ Command for Manual Script

1. Escape Characters

#Special command

@Hexadecimal character

% Decimal character

^Character

,Break character

;End of current packet

& Special operation

2. Special command (Followed by #)

A

Address assigned by pan/tilt/zoom configuration

XAcceleration rate selected by user

Sx Checksum calculation method

x = 0 Sum of entire frame, size = 1byte x = 1 Sum of entire frame, size = 2byte

x = 2 Sum of entire frame except first byte(sync), size = 1byte

x = 3 Sum of entire frame except first byte(STX) and last byte(ETX), size = 1byte

x = 4 Sum and one's complement of entire frame except first byte(STX) and last byte(ETX), size = 1byte

x = 5 XOR sum of entire frame, size = 1byte x = 6 XOR sum of entire frame, size = 2byte

x = 7 XOR sum of entire frame except first byte(sync), size = 1byte

x = 8 XOR sum of entire frame except first byte(STX) and last byte(ETX), size = 1byte

x = 9 XOR sum and one's complement of entire frame except first byte(STX) and last byte(ETX), size = 1byte

3. Special Operation (Followed by &)

Sx Delay about ( ([acceleration rate] + 1) * (100 * x) ) ms

x0 ~ 4

4. Exceptions

Normal character following Escape Sequence, must use break character for identifying the end of sequence

*Some protocols are not to be made command script with above method. It is because they use another method of checksum calculation.

26

DX-VS1UE User’s Manual

Page 27
Image 27
Mitsubishi Electronics user manual PTZ Command for Manual Script, DX-VS1UE User’s Manual, Escape Characters, Exceptions