
Samsung-T Protocol User's Manual

Samsung Techwin Co., Ltd.
Copyright(c) 1996-2011 SAMSUNGTECHWIN CO.,LTD
July 2011

Samsung Techwin S-Protocol is Samsung Techwin's proprietary intellectual property protected by
copyright law. All copy, reprint, and translation to other languages as a part 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’s products 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’s manual as Samsung Techwin
exercises no control over the use of this manual.



1.1 Transmission Packet Format
-Mode :RS-485/RS-422 Asynchronous Communication
-Transmit Direction :Simplex/Half duplex
-Start bit :1 bit
-Data bit :8 bits
-Parity bit :None
-Stop bit :1bit

Pic 1.Pan/Tilt Operation Timing Chart
Please note that the Preset commands send a response only at the end of their executions.
The recommended minimum period of control signal communications is 70ms.
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.

Pic 2. Other Commands Timing Chart
Aside from Pan/Tilt, other protocols send a response at the end of their executions depending on
the situation; the response time of the camera may take up to 7 seconds.

processed by 'Logical Not(~)'
Checksum = ~((Byte 2 +……+ Byte 9) & FFh)
-Host ID:Controller ID
-Cam ID:Dome ID Number
-Error:Bit error codes are listed in the chart below.

·

2.1 Pan/Tilt/Zoom/Focus/Brightness
The frame above is located at Byte4 to Byte9 in the command packet.
-Direction1~2 :
Direction1 is to process the Brightness and Focus commands.
Diredtion2 is to process the Zoom, Pan and Tilt commands as shown in the chart below.
execute the commands shown in the chart above.
The speed of Pan, Tilt, Zoom, and Focus is available as shown below.
2.2.1 OSD(On Screen Display) Menu On:
2.2.2 OSD Menu Off
2.2.2 Menu Enter

2.2.3 Menu Cancel(Esc)
*The Focus command may be activated automatically in Normal (non-OSD Menu) mode.
2.3.1 Set Preset (Saves preset commands.)
Send 00h 03h P1 00h 00h 00h
Receive " Error
P1:Preset Number=0~FEh
2.3.2 Clear Preset (Deletes preset commands.)
Send 00h 05h P1 00h 00h 00h
Receive " Error
P1:Preset Number=0~FEh
2.3.3 Goto Preset (Call saved preset commands.)
Send 00h 07h P1 00h 00h 00h
Receive " Error
P1:Preset Number=0~FEh
The SPD-3300/3000/1000 supports these commands only from 0 to 7Fh.
2.4.1 Pan/Tilt Position Initialization
Send 00h 0Dh 00h
Receive " Error
2.4.1 Zoom Module Motor Position Initialization
Send 00h 0Fh 00h
Receive " Error

2.5.1 Set Swing Speed & Time

2.5.2 Set Swing

2.5.3 Run Swing

2.6.1 Run Group

2.6.2 Run Tour

2.6.3 Clear Tour & Group

When P1 is 01h; 00h~05h=Group number F1h=Clear all Group

2.7.1 Set PTZ Trace

2.7.2 Stop PTZ Trace

* It can be stopped by the command 'Enter'.

->P3:High Byte, P4:Low Byte
In case of tilting camera's direction, it is flipped.
(1) When upward, the angle will decrease.
(2) When downward, the angle is going to increase.


->P3:Low Byte, P4:High Byte
In case of tilting camera's direction, it is flipped.
(1) When upward, the angle will decrease.
(2) When downward, the angle is going to increase.


The following special commands are developed in response to SI industrial requests.
2.10.1 Call PT Position


2.10.2 Call Zoom Position

Only for models later than SPD-3750/3350/3700/3310/2700 Ver1.08,
ex)P3:E7h →11(1.1x)
P3:7Fh →20(2.0x)
In case of the SCP-3120, please refer to Appendix 3.1.
For older models and versions

2.10.3 Call Focus Position

The Focus value may vary depending on the calibration of lens VCLs.
2.10.4 Move Pan & Tilt Position(Absolute Movement)

2.10.5 Move Pan Position(Absolute Movement)

2.10.6 Move Tilt Position(Absolute Movement)


2.10.7 Move Zoom Position(Absolute Movement)

ex) Digital Zoom Ratio:1.1x →P3: E7h
Digital Zoom Ratio:2.0x →P3: 7Fh
Only models later than SPD-3750/3350/3700/3310/2700 Ver1.08 support Digital Zoom Position.
In case of the SCP-3120, please refer to Appendix 3.1.

2.10.8 Move Focus Position(Absolute Movement)

The Focus value may vary depending on the calibration of lens VCLs.
2.10.9 One Shot AF

2.10.10 Target Lock On

=(256/Ratio_X)-1

2.11.1 Move PTZ Position and Track On/Off(Abs. position move)
Special Command 2 is the protocol for the Auto Track's function. (In case of not having the
function of the Auto Track, this protocol is only for the absolute position.)

The command can be executable after firmware versions as follows.
In case of using the related function with an old version instead of new
one, please check the version before the installation in order for avoiding

STX Dome ID CMD Data Size P1 P2 P3
0xA1 Dome ID 24h 09h Pan High Pan Low Pan Speed

Tilt High Tilt Low Tilt Speed Zoom High Zoom Low Action check sum
P1P2:Pan Absolute Position(Pulse)
P4P5:Tilt Absolute Position(Pulse)
P7P8:Zoom Position
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8 Byte9 Byte10 Byte11
A0h Host ID Cam ID E0h 24h P1 00h 00h 40h AFh Checksum
*Send(14 Bytes) · *Return(11 Bytes)

2.11.2 Call PTZ Position (SCP-2370/2330/2270/3370 model only.)
1 2 3 4 5
STX Dome ID CMD Data Size C/s
0xA1 Dome ID 26h 0h Checksum

STX Dome ID CMD Data Size P1 P2 P3
A1h Host ID 26h 07h Pan High Pan Low Tilt High

Tilt Low Zoom High Zoom Low Digital Zoom Checksum
ex) Digital Zoom Ratio:1.1x →P3: E7h
Digital Zoom Ratio:2.0x →P3: 7Fh
processed by 'Logical Not(~)'
Checksum = ~((Byte 2 +……+ Byte 11) & FFh)

*Return(14 Bytes) · =(256/Ratio_X)-1


The following New protocol are developed in response to SI industrial requests.
2.12.1 Set Home Position


2.12.2 Set Home Position Status



2.12.3 Freeze

2.12.4 OSD Setting

03h=Preset Name 04h=Sequence Status 05h=Area Name
2.12.5 Text Display Command
Please contact us for more usage.

STX Dome ID CMD Data Size Data … C/S
06h=PTZ Position

The following commands are examples of protocols with the camera ID set to 01h.
OSD ON A0 01 00 00 B1 00 AF 4D Menu ON
One shot AF A0 01 00 E0 15 00 AF 09
Call Zoom Pos. A0 01 00 E0 02 00 AF 1C
Call Pan Pos. A0 01 00 E0 01 00 AF 1D
Set Preset 3 A0 01 00 00 03 02 00 00 00 AF F9
Call Preset 3 A0 01 00 00 07 02 00 00 00 AF F5
Zoom Tele A0 01 00 00 20 00 00 07 00 AF D7
Zoom Stop A0 01 00 AF FE
Pan Right A0 01 00 00 02 22 00 00 00 AF DA Speed 34
Command Protocol Note

3.1.SCP-3120 Digital Zoom Parameter

Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.