1.Protocol Frame Structure..................................................................................................................... 3 1.1 Transmission Packet Format..................................................................................................3 1.2.Communication Timing Chart..................................................................................................3 1.3.Transmission Packet Format.............................................Ver 1.80E 1.Protocol Frame Structure 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 -Baud rate :9600 bps 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 of control signal communications is 70ms.
Ver 1.80E 1.3.
Ver 1.80E 2.Command 2.1 Pan/Tilt/Zoom/Focus/Brightness Cmd1 Cmd2 Data1 Data2 Data3 Direction1 Direction2 Pan Speed Tilt Speed Zoom Speed /Focus Speed Data4 XXh The frame above is located at Byte4 to Byte9 in the command packet. -Direction1~2 : Direction1 is to process the Brightness and Focus commands.
Ver 1.80E 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.) Send Receive Cmd1 Cmd2 Data1 Data2 Data3 00h 03h P1 00h 00h 00h " " Error Data4 " " " Data4 P1:Preset Number=0~FEh 2.3.2 Clear Preset (Deletes preset commands.
Ver 1.80E 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.
Ver 1.80E 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.
Ver 1.80E 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.
Ver 1.80E 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.
Ver 1.80E 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.
Ver 1.80E 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.
Ver 1.80E 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.
Ver 1.80E 2.11.2 Call PTZ Position (SCP-2370/2330/2270/3370 model only.
Ver 1.80E 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.
Ver 1.80E 2.12.3 Freeze Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h 5Dh 02h P1 00h 00h Return " " " " " Error Cmd1 Cmd2 Data1 Data2 Data3 Data4 Send 00h B5h P1 P2 00h 00h Return " " " " " Error P1: 00h=OFF / 01h=ON 2.12.4 OSD Setting P1: 00h=Camera ID 03h=Preset Name 01h=Camera Name02h=Preset Number 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.
Ver 1.80E 3.Protocol Samples 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.
Ver 1.80E 3.Appendix 3.1.SCP-3120 Digital Zoom Parameter Digital Zoom Position Parameter 1.08 0x0a 1.17 0x15 1.25 0x20 1.33 0x2a 1.42 0x35 1.5 0x40 1.58 0x4a 1.67 0x55 1.83 0x6a 1.92 0x75 2 0x80 2.17 0x87 2.42 0x91 2.58 0x99 2.83 0xa3 3 0xab 3.