V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E SPEED DOME CAMERA Samsung-T Protocol User's Manual REV. 1.80E July 2011 Samsung Techwin Co., Ltd. Security Solution Division Copyright(c) 1996-2011 SAMSUNGTECHWIN CO.,LTD
ページ2に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E Preface 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 pro
ページ3に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E Protocol Frame Structure 1. 1.1 Transmission Packet Format Mode RS-485/RS-422 Asynchronous Communication - : Transmit Direction Simplex/Half duplex - : -Start bit :1 bit Data bit bits - :8 Parity bit None - : -Stop bit :1bit Baud rate bps - :9600 1.2.Communication Timing Chart 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
ページ5に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 1.3.Transmission 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 256 equal to a total of Byte2 to Byte9 processed by 'Logical Not(~)' Checksum = ~((Byte 2 +……+ Byte
ページ6に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E Command 2. 2.1 Pan/Tilt/Zoom/Focus/Brightness Cmd1 Cmd2 Data1 Data2 Data3 Data4 Zoom Speed Direction1 Direction2 Pan Speed Tilt Speed XXh /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 * Focus Near Focus Far Diredtion2 is to process the Zoom, Pan and Tilt
ページ7に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.2.3 Menu Cancel(Esc) Cmd1 Cmd2 Data1 Data2 Data3 Data4 02h 00h 07h 00h 00h 00h *The Focus command may be activated automatically in Normal (non-OSD Menu) mode. 2.3 Preset Control 2.3.1 Set Preset (Saves preset commands.) Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 03h P1 00h 00h 00h Receive Error " " " " " :Preset Number=0~FEh P1 2.3.2 Clear Preset (Deletes preset commands.) Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send P1 00h 05h 00h 00h
ページ8に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.5 Swing 2.5.1 Set Swing Speed & Time Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 13h P1 P2 P3h 00h Return " " " " " Error P1: 00h=Pan Swing 01h=Tilt Swing 02h=Pan/Tilt Swing P2: 00h ~ 40h Swing Speed P3: 00h ~ 7Fh Swing Dwell Time(0 ~ 127sec) 2.5.2 Set Swing Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 19h P1 P2 P3h 00h Return " " " " " Error P1: 00=Pan Swing 01h=Tilt Swing 02h=Pan/Tilt Swing P2: 00h ~ FEh = First preset position P3:
ページ9に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.7 PTZ Trace 2.7.1 Set PTZ Trace Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 71h P1 P2 00h 00h Return " " " " " Error P1: 00h=Memory start 01h=RePlay start 02h=Delete P2: Pattern No.(0~3) 2.7.2 Stop PTZ Trace Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 73h 00h 00h 00h 00h Return " " " " " Error * It can be stopped by the command 'Enter'. 2.8 Set Pan/Tilt Position Move 1(Relative Movement) Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 3B
ページ10に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.9 Set Pan/Tilt Position Move 2(Relative Movement) Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 3Dh P1 P2 P3 P4 Return " " " " " Error P1: 00h=Pan 01h=Tilt P2: 00h=Right(or Down) 01h=Left(or Up) P3P4: Relative Movement Value (Pulse) ->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. Note! Camera Position Range p
ページ11に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.10 Special Command The following special commands are developed in response to SI industrial requests. STX Dome ID Host ID Cmd1 Cmd2 Data ETX CS 0xA0 ID ID E0 Command Data1~Data4 0xAF Check Sum 2.10.1 Call PT Position Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send E0h 01h 00h 00h 00h 00h Return " " P1 P2 P3 P4 P1P2: Pan Position (Pulse) ->P1:High Byte, P2:Low Byte P3P4: Tilt Position (Pulse) ->P3:High Byte, P4:Low Byte Note! Camera Positi
ページ12に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.10.3 Call Focus Position Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send E0h 03h 00h 00h 00h 00h Return " " P1 P2 " " P1P2: Focus Position (Pulse)->P1:High Byte, P2:Low Byte The Focus value may vary depending on the calibration of lens VCLs. 2.10.4 Move Pan & Tilt Position(Absolute Movement) Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send E0h 04h P1 P2 P3 P4 Return " " " " " " P1P2: Pan Position(Pulse)->P1:High Byte, P2:Low Byte P3P4: Tilt Position
ページ13に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.10.7 Move Zoom Position(Absolute Movement) Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send E0h 07h P1 P2 P3 00h Return " " " " " Error P1P2: Zoom Position ->P1:High Byte, P2:Low Byte P3: Digital Zoom Position =(256/Ratio_X)-1 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.
ページ14に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.11 Special Command 2 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.) Note! The command can be executable after firmware versions as follows. Model SPD-37XX, SPU-37XX SCP-2370TH/3370TH Dome Version v1.20 v1.00_110130 Track Version v.1.12 v1.00_110316
ページ15に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 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 *Return(14 Bytes) Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 STX Dome ID CMD Data Size P1 P2 P3 Host ID Pan High Pan Low Tilt High A1h 26h 07h Byte8 Byte9 Byte10 Byte11 Byte12 P4 P5 P6 P7 C/S Tilt Low Zoom High Zoom Low Digital Zoom Checksum P1P2 : Pan Absolute Position(Pulse) P3P4 : Tilt Absolute Positi
ページ16に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E Note! Camera Zoom Range per Model -SPD-2300:0~1755 -SPD-3000/3300: 0~1770 -SPD-1000:0~1174 -SPD-3700/3750, SCP-2370/3370 : 0~1613 -SPD-3350, SCP-2330 : 0~1608 -SPD-2700, SCP-2270 :0~1589 -SCP-2120:0~921 -SCP-3120:32772~35952 -SCU-2370:0~1613 2.12 New Protocol The following New protocol are developed in response to SI industrial requests. 2.12.1 Set Home Position Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send Bh P1 P2 00h 00h 0 00h Return "
ページ17に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E 2.12.3 Freeze Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 5Dh 02h P1 00h 00h Return " " " " " Error P1: 00h=OFF / 01h=ON 2.12.4 OSD Setting Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h B5h P1 P2 00h 00h Return " " " " " Error P1: 00h=Camera ID 01h=Camera Name02h=Preset Number 03h=Preset Name 04h=Sequence Status 05h=Area Name 06h=PTZ Position P2: 00h=ON 01h=ON 2.12.5 Text Display Command Please contact us for more usage. 1 2 3 4 5 N STX
ページ18に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E Protocol Samples 3. The following commands are examples of protocols with the camera ID set to 01h. Command Protocol Note OSD ON A0 01 00 00 B1 00 00 00 00 AF 4D Menu ON One shot AF A0 01 00 E0 15 00 00 00 00 AF 09 Call Zoom Pos. A0 01 00 E0 02 00 00 00 00 AF 1C Call Pan Pos. A0 01 00 E0 01 00 00 00 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
ページ19に含まれる内容の要旨
V V V V e e e e r r r r 1 1 1 1 . . . . 8 8 8 8 0 0 0 0 E E E E Appendix 3. 3.1.SCP-3120 Digital Zoom Parameter Digital Zoom Position Parameter 1.08 0x0a 1.17 0x15 x20 1.25 0 1.33 0x2a 1.42 0x35 1.5 0x40 1.58 0x4a x55 1.67 0 1.83 0x6a 1.92 0x75 2 0x80 2.17 0x87 2.42 0x91 2.58 0x99 2.83 0xa3 3 0xab 3.5 0xb5 xc0 4 0 5 0xcd 6 0xd6 7 0xdc 8 0xe0 xe4 9 0 10 0xe7 11 0xe9 12 0xeb 13 0xed 14 0xee 15 0xef 16 0xf0 - 18 -