Bosch Protocol Technical Information en 1 Bosch Protocol Technical Information en Application Note Bosch Security Systems, Inc. Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information 1 en 2 Contents 1 Contents .....................................................................................................................................................................2 2 Change History............................................................................................................................................................2 Introduction .........................................................................................................................................................................3 3 Opcode Commands Supported ...................................................................................................................................3 3.1 OSRD Opcodes........................................................................................................................................................3 4 MIC 500 Opcode 7.......................................................................................................................................................3 4.1 Aux Controls ...........................................................................................................................................................3 4.2 Preset Controls.......................................................................................................................................................4 5 MIC 400 Opcode 7.......................................................................................................................................................6 5.1 Aux Controls ...........................................................................................................................................................6 5.2 Preset Controls.......................................................................................................................................................7 6 MIC 412 Opcode 7.......................................................................................................................................................9 6.1 Aux Controls ...........................................................................................................................................................9 6.2 Preset Controls.....................................................................................................................................................10 2 Change History Revision 1.0 1.1 2.0 2.1 2.2 Description of Change First Release Auxiliaries 37 to 42 added for MIC 400 Brushless software - Update to Bosch format - Add in MIC 500 aux list and preset list - Add MIC model support for the Opcode list Add in home time command Removed Opcodes that are only supported by Camset Bosch Security Systems, Inc. Technical Document Change Note n/a n/a Author C. Vanstone C. Vanstone Date 01/04/2009 26.11.09 n/a C. Vanstone 05.03.10 n/a n/a C. Vanstone M. Brumbaugh 29.06.10 13 April 2011 Version 2.2 | 04.2011 Bosch Protocol Technical Information en 3 Introduction This document describes how the features of a MIC running Bosch protocol are accessed using Auxiliaries or presets from a given controller. There is also a section outlining the command types supported from the Bosch protocol. Description: There are two possible interfaces, Biphase (using MIC-BP converters) and RS-485 over 2 wires. Bosch Biphase is a single-directional communication link that utilizes BOSCH OSRD protocol. Default RS-485 parameters: 9600 baud, no parity, 8 data bits, 1 stop bit 3 Opcode Commands Supported The standard Bosch Opcodes which are supported by the MIC series of cameras are listed in the chart below. Please refer to the AutoDome OSRD protocol guide for further details on how to use these commands. 3.1 OSRD Opcodes Opcode Description Command Type 2 PTZ control, fixed speed indefinite time PTZ control, fixed speed, times out after approx 100ms so requires continual polling to produce smooth movement PTZ control, variable speed, indefinite time Lens control, fixed speeds, times out after approx 100ms so requires continual polling to produce smooth movement 4 5 6 4 7 Preset and auxiliary control 8 PTZ control, variable speed, times out after approx 100ms so requires continual polling to produce smooth movement MIC Model Support MIC 412 MIC 500 OSRD MIC 400 OSRD OSRD OSRD OSRD with Some unique AUX and Preset commands OSRD MIC 500 Opcode 7 4.1 Aux Controls Aux Function 2 Auto Pan 3 Iris Control 4 Focus Control 7 8 9 Plays Pre-position Tour 2 Play Pre-position Tour 1 Inactive Home Return 46 OSD Menu 50 Play Pattern Tour 1 52 Play Pattern Tour 2 Description (MIC function) On: Starts Auto Pan between Scan Limits, tilt can be adjusted Off: Stops Auto Pan Notes The AUX OFF command must be issued to regain manual control. The Left & Right Limits must be set using the OSD menu/Advanced Setup. Use MANAUL CONTROL and the appropriate LIMIT selections. On: Iris Auto Off: Iris Manual On: Focus Auto Off: Focus Manual On: Starts Tour 2 Off: Stops Tour 2 On: Starts Tour 1 Off: Stops Tour 1 On: Activates the Inactivity timer for the Auto Home mode that is selected in the menus Off: Deactivates the Inactivity timer Default is Auto Home OFF; Return to PRESET; Inactivity timer 5 minutes (300 seconds) Displays the OSD programming menu On: Play Pattern 1 Off: Stop Pattern On: Play Pattern 2 Off: Stop Pattern Bosch Security Systems, Inc. Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information Aux 57 100 101 Record Pattern Tour 1 Record Pattern Tour 2 401 Wiper 402 Washer 417 Protocol Change Stage 1 Protocol Change Stage 2 On Screen menu Fast Address Enter Fast Address mode 418 420 007 998 4.2 Function IR en Description (MIC function) 4 Notes On: IR Mode On Off: IR Mode Off On: Record Pattern 1 Off: Stop Pattern On: Record Pattern 2 Off: Stop Pattern On: Closes Wiper Relay Off: Open Wiper Relay On: Closes Washer Relay (Wipes if wash wipe is enabled) Off: Open Washer Relay Also referred to as night mode. Auto IR must also be ENABLED (SET 196). Continue to stage 2 Takes Next Aux as Protocol and Address Byte Display On Screen Menu Displays the current Fast Address Follow on screen instructions Preset Controls Both Learn/Set and Go To/Shot Preset Functions Preset Positions Auto Home Position Wash Wipe Position Auto Alarm Position Multi Alarm Positions (1 to 8) Learn/Set Preset Function IR Illumination On IR Illumination Off Preset No. Learn/Set Preset Function Pan Reverse Enable Pan Reverse Disable 1 – 64 1 62 63 50 – 57 Preset No. 194 195 Tilt Reverse Enable Tilt Reverse Disable 190 191 Picture Flip On Picture Flip Off 188 189 Auto Flip On (Mechanical Auto Pivot) Auto Flip Off NOTE: The cameras must be in the NORMAL viewing position when this is activated (Preset 217) 217 218 E-Flip On (Electronic Auto Pivot) E-Flip Off 180 181 Auto Home to Preset Auto Home to Tour Auto Home Off Auto Home to Pattern 204 205 206 215 Wash Wipe Enable Wash Wipe Disable 219 220 Intermittent Wipe On Intermittent Wipe Off 198 199 Auto Alarm Enable Auto Alarm Disable 236 237 Multi Alarms Enable Multi Alarms Disable 207 208 Auto Lowlight Enable Auto Lowlight Disable 238 239 Auto IR Enable Auto IR Disable NOTE: Must be enabled for AUX 57 to work. 196 197 Photocell IR Enable Photocell IR Disable 192 193 Bosch Security Systems, Inc. Preset No. 178 179 Set Top Left Soft Stop Set Bottom Right Soft Stop 200 201 Set Preset Tour No. to 1 Set Preset Tour No. to 2 Set Preset Tour No. to 3 Set Preset Tour No. to 4 NOTE: Only used when Auto Home is programmed for TOUR in the MIC SETUP menu and 4 different tours have been saved. These commands change which TOUR is activated at the end of the INACTIVITY TIME period. 211 212 213 214 Recalibrate Camera Module 251 Load Factory Defaults 255 Find End Stops Show Boot Message 98 99 Privacy Hide Crosshair Show Crosshair (Must activate Set 232 first) Clear single pixel at centre Mark single pixel at centre Change Mask Style (Must activate Set 231 first) Hide Mask Style Show Mask Style All masks ON All masks OFF Clear Whole Screen Mask Whole Screen 225 226 227 228 229 230 231 232 233 234 235 Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information Go To Preset Function On Screen menu Self Diagnosis Play Pattern One Stop Pattern One Record Pattern One Play Pattern Two Stop Pattern Two Record Pattern Two Bosch Security Systems, Inc. en Preset No. 85 86 87 88 89 90 91 92 Execute Sony Set 1 Execute Sony Set 2 Execute Sony Set 3 Execute Sony Set 4 Execute Sony Set 5 Execute Sony Set 6 Execute Sony Set 7 Execute Sony Set 8 Execute Sony Set 9 Execute Sony Set 10 Technical Document 5 240 241 242 243 244 245 246 247 248 249 Version 2.2 | 04.2011 Bosch Protocol Technical Information 5 en 6 MIC 400 Opcode 7 5.1 Aux Controls Aux Function 1 Focus Control 2 Digital Zoom Enable 3 Iris Control 4 Auto Lowlight 5 Wiper 6 Washer 7 Proportional PTZ 8 IR Lamps 9 Camera Power 10 Backlight 11 B&W 12 OSD 13 Shutter Speed (1/2 s) 14 Address Change Stage 1 15 Pan Reverse 16 Auto Alarm 17 Preset Tour 18 Preset Tour 19 Preset Tour 20 Preset Tour 21 Address Change Stage 2&3 22 Auto Home 23 White Balance 24 Auto IR 25 Washwipe 26 Multialarms 27 Home to 28 Shutter Speed (1/300s) 29 Shutter Speed (1/600s) 30 Shutter Speed (1/1000s) 31 Image Flip 32 Tilt Reverse Bosch Security Systems, Inc. Description (MIC function) On: Enables Manual Focus Off: Disables Manual Focus => Auto Focus On: Digital Zoom is enabled Off: Digital Zoom is disabled On: Enables Manual Iris Off: Disables Manual Iris => Auto Iris On: Enables Auto Lowlight, Decrease frame rate for low light conditions Off: Disables Auto Lowlight, Returns to Auto Iris On: Wiper On Off: Wiper Off On: Washer On Off: Washer Off On: Enabled, Pan and Tilt Speed is scaled according to Zoom position Off: Disabled, Normal PTZ On: Switches IR Cut Filter & Lamps On Off: Switches IR Cut Filter & Lamps Off On: Video Output from Sony Camera module is enabled Off: Video Output from Sony Camera module is disabled On: Backlight On Off: Backlight Off On: Black & White Mode Off: Colour Mode On: Shows Sony camera module On-Screen-Display Off: Hides Sony camera module On-Screen-Display On: Sets Shutter Speed to 1/2 s (fixed) Off: Returns to Auto Iris On: Sets variable for Address Changing -> must call Aux 21 On, to continue Off: Clears variable for Address Changing On: Pan direction is reversed Off: Pan direction is normal On: Enables Auto Alarm Off: Disables Auto Alarm On: Starts a Preset Tour Off: Sets up a Preset Tour, 1 to 5, 5 sec dwell On: Sets up a Preset Tour, 1 to 5, 15 sec dwell Off: Sets up a Preset Tour, 1 to 5, 60 sec dwell On: Sets up a Preset Tour, 1 to 10, 5 sec dwell Off: Sets up a Preset Tour, 1 to 10, 5 sec dwell On: Sets up a Preset Tour, 1 to 10, 60 sec dwell Off: Same as On. On: Sets variable for Address Changing -> must call Aux 21 Off, to continue Off: Sets variable for Address Changing -> next Aux {A} Off, {A} is new address. On: Auto home enabled, will return to home position after idle for 300 seconds. Off: Auto home disabled On: Auto White balance Off: Outdoor White balance On: Enables Auto IR, camera module switches to IR mode automatically Off: Disables Auto IR On: Enables Washwipe, camera moves to Washwipe position on Washer On Aux Off: Disables Washwipe On: Multialarms On, required for multi-alarm card and IR lamp control Off: Multialarms Off On: Camera Auto Homes to Home Preset Off: Camera Auto Homes to Preset Tour On: Sets Shutter Speed 1/300s (fixed) Off: Returns to Auto Iris On: Sets Shutter Speed 1/600s (fixed) Off: Returns to Auto Iris On: Set Shutter Speed 1/1000s (fixed) Off: Returns to Auto Iris On: Inverts Video Image Off: Normal Video Image On: Tilt direction is reversed Off: Tilt direction is normal Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information Aux en Function 7 Description (MIC function) 36 Photocell IR 37 Auto Pan with Limits 38 Auto Pan Speed 39 Auto Pan without Limits 40 Auto Home 41 Preset Tour 42 IR Illumination On: Photocell can be used to switch to IR mode, mapped to Multialarm Input 4 Off: Photocell IR mode disabled On: Starts MIC panning at a fixed speed between 2 limits (Preset 116 & 117) Off: Stops MIC panning NOTE: The AUX OFF command must be issued to regain manual control. The Tilt angle maybe changed during panning, but Pan control is not possible. On: Increase the Auto Pan speed by 5 units in the range 1 to 255 Off: Decrease the Auto Pan speed by 5 units in the range 1 to 255 On: Starts MIC panning at a fixed speed with no limits Off: Stops MIC panning NOTE: The AUX OFF command must be issued to regain manual control. The Tilt angle maybe changed during panning, but Pan control is not possible. On: Auto Home to Auto Pan with limits Off: Auto Home to Auto Pan without Limits On: Start preset tour Off: Stop preset tour On: Sets the back focus of the camera lens for IR light Off: Sets the back focus of the camera lens for visible light 5.2 Preset Controls General Presets Preset # Learn/Set Function 1 – 34 35 36 37 38 39 40 41 42 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 Learns Preset Position Set Multi Alarm 1 Set Multi Alarm 2 Set Multi Alarm 3 Set Multi Alarm 4 Set Multi Alarm 5 Set Multi Alarm 6 Set Multi Alarm 7 Set Multi Alarm 8 Set Wash Wipe Position Set Home Position Set Auto Alarm Position N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Bosch Security Systems, Inc. Go To Function Go to Preset Position Show Multi Alarm 1 Show Multi Alarm 2 Show Multi Alarm 3 Show Multi Alarm 4 Show Multi Alarm 5 Show Multi Alarm 6 Show Multi Alarm 7 Show Multi Alarm 8 Show Wash Wipe Position Show Home Position Show Auto Alarm Position Aux 1 On Aux 1 Off Aux 2 On Aux 2 Off Aux 3 On Aux 3 Off Aux 4 On Aux 4 Off Aux 5 On Aux 5 Off Aux 6 On Aux 6 Off Aux 7 On Aux 7 Off Aux 8 On Aux 8 Off Aux 9 On Aux 9 Off Aux 10 On Aux 10 Off Aux 11 On Aux 11 Off Aux 12 On Aux 12 Off Aux 13 On Aux 13 Off Aux 14 On Aux 14 Off Aux 15 On Aux 15 Off Aux 16 On Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information Preset # 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 115 116 117 Learn/Set Function N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Set soft stop top left corner Set soft stop bottom right corner N/A Find end stops Set left pan limit Set right pan limit en 8 Go To Function Aux 16 Off Aux 17 On Aux 17 Off Aux 18 On Aux 18 Off Aux 19 On Aux 19 Off Aux 20 On Aux 20 Off Aux 21 On Aux 21 Off Aux 22 On Aux 22 Off Aux 23 On Aux 23 Off Aux 24 On Aux 24 Off N/A Show left pan limit Show right pan limit Privacy Functions (only applicable for privacy models) Preset # 103 104 105 106 107 108 109 110 111 112 113 Learn/Set Function Hide Crosshair Show Crosshair (Must activate Set 110 first) Clear single pixel at centre Set single privacy pixel at centre Set privacy mask style (Must activate Set 109 first) Hide privacy mask style Show privacy mask style All masks ON All masks OFF Clear whole screen Mask whole screen Bosch Security Systems, Inc. Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information 6 en 9 MIC 412 Opcode 7 6.1 Aux Controls Aux Function 1 Scan 2 Auto Pan 3 Iris Control 4 Focus Control 7 Plays Pre-position Tour 2 8 Play Pre-position Tour 1 9 Inactive Home Return 14 Set Auto Pan Speed 20 Backlight Compensation 23 Shutter Adjust 24 Auto Shutter 35 White Balance 41 Line Lock Phase Adjust 42 Sync Mode 44 Aperture Correction (Sharpness) 57 Thermal 60 On Screen Display 66 Displays Software Version 80 Digital Zoom Lock 246 FAST_ADDRESS STAGE 1 292 FAST_ADDRESS STAGE 2 401 402 403 404 405 408 409 410 411 418 Wiper Washer Wash Wipe Scaled PTZ Thermal B&W Pan Reverse Tilt Reverse Image Flip Program Preset Tours Bosch Security Systems, Inc. Description (MIC function) On: Starts Scanning, CCW, tilt can be adjusted Off: Stops Scanning On: Starts Auto Pan between Scan Limits, tilt can be adjusted Off: Stops Auto Pan On: Iris Auto Off: Iris Manual On: Focus Auto Off: Focus Manual On: Starts Tour 2 Off: Stops Tour 2 On: Starts Tour 1 Off: Stops Tour 1 On: Toggles between Return Home (Preset 99) or Return Pre-position Tour (Inactivity after 300 seconds) Off: Inactive Home Return OFF Increment: Increases Auto-Pan & Scan speed Decrement: Decreases Auto-Pan & Scan speed Range: 1-255 Granularity: 1 On: Enable Off: Disable On: Increases Shutter POS Off: Decreases Shutter POS On: Auto Exposure Mode (Clears auto lowlight) Off: Shutter Priority Exposure Mode (Clears auto lowlight) On: Auto White Balance Off: Outdoor White Balance On: Vertical Phase Up Off: Vertical Phase Down On: Sync Mode Line Off: Sync Mode Crystal On: Increase Sharpness Off: Decrease Sharpness On: Thermal Off: Optical On: Turns OSD in Sony module on Off: Turns OSD off On: Displays Software Version for 10 seconds On: Allows Digital Zoom Off: Disallows Digital Zoom On: Continuous to Stage 2 in Fast address reprogram Off: Cancels fast address reprogram On: Continuous to Stage 3, which requires controller to move to new address and “PRESS ON 1 ENTER” Off: Cancels fast address reprogram On: Closes Wiper Relay Off: Open Wiper Relay On: Closes Washer Relay (Wipes if washwipe is enabled) Off: Open Washer Relay On: Enable Off: Disable On: Enable Off: Disable On: Thermal Off: Optical On: B&W On Off: B&W Off On: Enable Off: Disable On: Enable Off: Disable On: Enable Off: Disable On: Presets 1 to 5, dwell of 5 secs Technical Document Version 2.2 | 04.2011 Bosch Protocol Technical Information Aux 419 451 452 453 454 455 456 457 911 997 6.2 en Function Description (MIC function) Program Preset Tours Thermal Orientation Thermal FFC Mode Thermal FFC Control Thermal Colour Thermal Colour Thermal Colour / Gain Mode Thermal Gain Mode Restart Fast Address Display 10 Off: Presets 1 to 5, dwell of 15 secs On: Presets 1 to 10, dwell of 5 secs Off: Presets 1 to 10, dwell of 15 secs On: Thermal Inverted Off: Thermal normal NOTE: The thermal camera module is installed upside down in the camera, so these settings appear to be reversed. On: Auto FFC Mode Off: Manual FFC Mode On: Perform FFC Off: N/A On: Thermal Colour White Hot Off: Thermal Colour Black Hot On: Thermal Colour Ice Fire Off: Thermal Colour Glowbow On: Thermal Colour Ironbow Off: Thermal Gain Mode Histogram On: Thermal Gain Mode Linear Off: Thermal Gain Mode Once Bright On: Forces Watchdog to expire resetting camera On: Displays camera address Preset Controls Preset 1 – 34 35 36 37 38 39 40 41 42 47 48 49 50 51 52 53 54 55 56 57 62 63 64 65 66 67 68 76 77 88 89 94 95 96 97 101 102 115 Learn Function Learns Preset Position Set Multi Alarm 1 Set Multi Alarm 2 Set Multi Alarm 3 Set Multi Alarm 4 Set Multi Alarm 5 Set Multi Alarm 6 Set Multi Alarm 7 Set Multi Alarm 8 Set Wash Wipe Position Set Home Position Set Auto Alarm Position N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Set left pan limit Set right pan limit Find end stops Bosch Security Systems, Inc. Go To Function Go to Preset Position Show Multi Alarm 1 Show Multi Alarm 2 Show Multi Alarm 3 Show Multi Alarm 4 Show Multi Alarm 5 Show Multi Alarm 6 Show Multi Alarm 7 Show Multi Alarm 8 Show Wash Wipe Position Show Home Position Show Auto Alarm Position Aux 1 On Aux 1 Off Aux 2 On Aux 2 Off Aux 3 On Aux 3 Off Aux 4 On Aux 4 Off Aux 7 On Aux 7 Off Aux 8 On Aux 8 Off Aux 9 On Aux 9 Off Aux 10 On Aux 14 On Aux 14 Off Aux 20 On Aux 20 Off Aux 23 On Aux 23 Off Aux 24 On Aux 24 Off N/A N/A N/A Technical Document Version 2.2 | 04.2011