Ptz command for manual script – MITSUBISHI ELECTRIC DX-VS1 User Manual
Page 27
DX-VS1UE User
DX-VS1UE User
DX-VS1UE User
DX-VS1UE User’’’’s Manual
s Manual
s Manual
s Manual
26
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
X
Acceleration 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
x
0 ~ 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.