![](/html/01/01c2/01c22ec93575cde9348d55a1f6b8e686e70af0ffffff1e53ff6e53f2ac429d1e/bg1.png)
SPEED DOME CAMERA
Samsung-T Protocol User's Manual
Ver
Ver 1111....88880000EEEE
VerVer
REV.
1.80E
July
2011
Samsung Techwin Co., Ltd.
Security Solution Division
Copyright(c)
1996-2011
SAMSUNGTECHWIN CO.,LTD
![](/html/01/01c2/01c22ec93575cde9348d55a1f6b8e686e70af0ffffff1e53ff6e53f2ac429d1e/bg2.png)
Ver
Ver 1111....88880000EEEE
VerVer
Preface
Samsung Techwin S-Protocol is Samsung Techwin's proprietary intellectual property protected by
copyright law. All copy, reprint, and translation to other languages asapart of or all contents of this
user's manual without permission of Samsung Techwin Co. Ltd. are expressly prohibited except for
fair use within the scope of copyright law.
The contents of this manual may change without prior notice for the improvement of product perfor
mance.The design and specifications of Samsung Techwin’sproducts compatible with this protocol
also may change without prior notice for the improvement of product performance. Samsung Techwin
shall not be liable, directly or indirectly, for any injury, loss, or damage caused by or alleged to be
caused by or in connection with the use of the product.
Users are solely responsible for using the product and this user’smanual as Samsung Techwin
exercises no control over the use of this manual.
Document Revision Information
Date Description Note
2009,02,21 -
2009,03,17 -
2009,04,27
2009,06,30
2009.09.17
2010.08.13
2010.11.08
2011.03.31
Updated toanew document format Ver
English version published Ver
Added'PTZ Trace stop' and'Target Lock on' of the second chapter.
-
Added'Track protocol'.
-
Modified errors and Tilt Ranges.
-
PTZ Trace top deleted.
-
Digital Zoom calculation added.
-
Revised notation errors of
-
Revised notation errors of
-
Added
-
Protocol name is changed as'Samsung-T'
-
Revised notation errors of
-
Added parameters about SCP-2120/3120
-
Revised notation error of
-
-In'2,9','2.10',
of SCU-2370 Series
-In'2,9','2.10',
of SCP-2370/2330/2270/3370 Series
-In'2.11',
Series
command.
'2.11'
Added Position Range and Zoom Range
Added Position Range and Zoom Range
Added Special Command2 of SCP-2370/2330/2270/3370
'2.8',2.9'
'2.10.6'
'3.
'2.1'
command.
command.
Protocol Samples'
command
Ver
Ver
Ver
Ver
Ver
Ver
1.10
1.10E
1.20E
1.30E
1.40E
1.50E
1.60E
1.70E
-
2011.07.25
Added
-
Added
-
'2.11.2'
'2.12'
Call PTZ Position Command
New Protocol
- 1 -
Ver
1.80E
![](/html/01/01c2/01c22ec93575cde9348d55a1f6b8e686e70af0ffffff1e53ff6e53f2ac429d1e/bg3.png)
Ver
Ver 1111....88880000EEEE
VerVer
Table of Contents>
<
1.Protocol Frame Structure.....................................................................................................................3
1.1 Transmission Packet Format..................................................................................................3
1.2.Communication Timing Chart..................................................................................................3
1.3.Transmission Packet Format.................................................................................................. 4
2.Command................................................................................................................................................ 5
2.1 Pan/Tilt/Zoom/Focus/Brightness............................................................................................ 5
2.2 OSD Menu Control.................................................................................................................. 5
2.3 Preset Control......................................................................................................................... 6
2.4 Product Initialization................................................................................................................6
2.5 Swing ...................................................................................................................................... 7
2.6 Sequence Command................................................................................................................ 7
2.7 PTZ Trace................................................................................................................................8
2.8 Set Pan/Tilt Position Move 1(Relative Movement)............................................................. 8
2.9 Set Pan/Tilt Position Move 2(Relative Movement)............................................................. 9
2.10 Special Command................................................................................................................ 10
2.11 Special Command 2.............................................................................................................13
2.11.1 Move PTZ Position and Track On/Off(Abs. position move)....................................... 13
2.12 New Protocol.......................................................................................................................15
3.Protocol Samples.................................................................................................................................17
3.Appendix...............................................................................................................................................18
3.1.SCP-3120 Digital Zoom Parameter..................................................................................... 18
- 2 -
![](/html/01/01c2/01c22ec93575cde9348d55a1f6b8e686e70af0ffffff1e53ff6e53f2ac429d1e/bg4.png)
Protocol Frame Structure
1.
Transmission Packet Format
1.1
Ver
Ver 1111....88880000EEEE
VerVer
Mode
-
Transmit Direction:Simplex/Half duplex
-
Start bit
-
Data bit
-
Parity bit
-
Stop bit
-
Baud rate
-
Communication Timing Chart
1.2.
RS-485/RS-422 Asynchronous Communication
:
bit
:1
bits
:8
None
:
bit
:1
bps
:9600
Pic1.Pan/Tilt Operation Timing Chart
Please note that the Preset commands sendaresponse only at the end of their executions.
The recommended minimum period of control signal communications is70ms.
For the Pan/Tilt operation, setting up the communication period shorter than the recommendation
may cause protocol loss or extend the response time of the camera.
Pic2.Other Commands Timing Chart
Aside from Pan/Tilt, other protocols sendaresponse at the end of their executions depending on
the situation; the response time of the camera may take up to7seconds.
- 3 -
![](/html/01/01c2/01c22ec93575cde9348d55a1f6b8e686e70af0ffffff1e53ff6e53f2ac429d1e/bg5.png)
Transmission Packet Format
1.3.
Command Packet Format
<
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8 Byte9 Byte10 Byte11
STX Cam ID Host ID Cmd1 Cmd2 Data1 Data2 Data3 Data4 ETX Checksum
STX(Start of Text): A0h
-
ETX(End of Text): AFh
-
Cam ID: Dome ID(01h~FFh)
-
Host ID: Host Controller ID(default:00h)
-
Checksum: The value of Modulo
-
>
equal toatotal of Byte2 to Byte9
256
processed by'Logical Not(~)'
Checksum
Return Packet Format
<
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte
STX Host ID Cam ID Cmd1 Cmd2 Data1 Data2 Data3 Error ETX Checksum
>
= ~((
Byte
2 +……+
Byte
9) &
FFh)
Byte9 Byte10 Byte11
8
Ver
Ver 1111....88880000EEEE
VerVer
Host ID:Controller ID
-
Cam ID:Dome ID Number
-
Error:Bit error codes are listed in the chart below.
-
Description
bit7
bit6
bit5 Camera Module Failure
bit4 Pan/Tilt Failure
bit3 RAM of EEPROM Error
bit2
bit1
bit0 Unsuitable Data
- 4 -
![](/html/01/01c2/01c22ec93575cde9348d55a1f6b8e686e70af0ffffff1e53ff6e53f2ac429d1e/bg6.png)
Command
2.
Pan/Tilt/Zoom/Focus/Brightness
2.1
Cmd1 Cmd2 Data1 Data2 Data3 Data4
Direction1 Direction2 Pan Speed Tilt Speed
Zoom Speed
Focus Speed
/
The frame above is located at Byte4 to Byte9 in the command packet.
Direction1~2
-
:
Direction1 is to process the Brightness and Focus commands.
Command1
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
* * *
Brighter Darker
*
XXh
Focus Near Focus Far
Ver
Ver 1111....88880000EEEE
VerVer
Diredtion2 is to process the Zoom, Pan and Tilt commands as shown in the chart below
Command2
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Zoom Wide Zoom Tele Tilt Down Tilt Up Pan Left Pan Right always
Note
For these commands, bit0 must be retained as
:
execute the commands shown in the chart above.
at all times. Changing it to
'0'
'1'
fails to
The speed of Pan, Tilt, Zoom, and Focus is available as shown below.
Pan:00h~3Fh
-
Tilt:00h~3Fh
-
Zoom:01h~08h
-
Focus:10h~80h
-
Note: The function of Zoom/Focus Speed, depending on the product, can not be supported.
Important!: The Zoom and Focus commands cannot be transmitted simultaneously.
OSD Menu Control
2.2
OSD(On Screen Display) Menu On:
2.2.1
Cmd1 Cmd2 Data1 Data2 Data3 Data4
00h
B1h
00h 00h 00h 00h
.
0
OSD Menu Off
2.2.2
Cmd1 Cmd2 Data1 Data2 Data3 Data4
B1h
01h 00h 00h 00h
2.2.2
00h
Menu Enter
Cmd1 Cmd2 Data1 Data2 Data3 Data4
01h 00h 06h 00h 00h 00h
The Focus command may be activated automatically in Normal(non-OSD Menu) mode.
*
- 5 -