Page 2
For customers in the U.S.A. This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications.
Page 3
Contacting Basler Support Worldwide Europe: Basler AG An der Strusbek 60 - 62 22926 Ahrensburg Germany Tel.: +49-4102-463-500 Fax.: +49-4102-463-599 bc.support.europe@baslerweb.com Americas: Basler, Inc. 855 Springdale Drive, Suite 160 Exton, PA 19341 U.S.A. Tel.: +1-877-934-8472 Fax.: +1-610-280-7608 bc.support.usa@baslerweb.com Asia: Basler Asia Pte. Ltd 8 Boon Lay Way # 03 - 03 Tradehub 21 Singapore 609964...
Table of Contents Table of Contents 1 Specifications, Requirements, and Precautions ..... . . 1 Document Applicability ..........1 General Specifications .
Page 6
Table of Contents Output Signals ............34 2.8.1 Line Valid Bit .
Page 7
Table of Contents 5 Video Data Output Modes ........85 Overview.
Page 8
Table of Contents 6.12 Configuration Sets ........... 149 6.12.1 Saving the Work Set to a User Set File .
Page 9
Table of Contents 7.2.3 Bulk Data and the Bulk Data Control and Status Registers ....188 7.2.3.1 Using the Configuration Set Bulk Data CSR ....189 7.2.3.2 Using the Shading Values Bulk Data CSR .
Page 10
Table of Contents Basler sprint Mono Cameras...
This is 1. Double click the CCT+ icon on your desktop or click Start > All Programs camera version > Basler Vision Technologies > CCT+ > CCT+. The CCT+ window will open Number and the software will connect to your camera.
Specifications, Requirements, and Precautions 1.2 General Specifications 1.2.1 Camera Models with 2k Pixels Specification spL2048-39km spL2048-70km spL2048-140km Sensor Size 2 lines - 2048 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 µm x 10 µm Camera Link 40 MHz 40 MHz or 80 MHz (switchable) Clock Speed...
Specifications, Requirements, and Precautions 1.2.2 Camera Models with 4k Pixels Specification spL4096-20km spL4096-39km spL4096-70km spL4096-140km Sensor Size 2 lines - 4096 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 µm x 10 µm Camera Link 40 MHz 40 MHz or 80 MHz (switchable) Clock Speed Maximum...
Specifications, Requirements, and Precautions 1.2.3 Camera Models with 8k Pixels Specification spL8192-20km spL8192-39km spL8192-70km Sensor Size 2 lines - 8192 pixels per line Sensor Type Monochrome linear CMOS Pixel Size 10 µm x 10 µm Camera Link 40 MHz 40 MHz or 80 MHz (switchable) Clock Speed Maximum 19.4 kHz...
Specifications, Requirements, and Precautions 1.3 Lens Adapters 1.3.1 Lens Adapters for 2k and 4k Cameras An F-mount lens adapter is standard for all cameras with 2048 pixels per line (2k cameras) and with 4096 pixels per line (4k cameras). For 4k cameras an optional M42 lens adapter is also available. For 2k cameras, an optional M42 lens adapter and an optional C-mount lens adapter are also available.
Specifications, Requirements, and Precautions The following sections illustrate how the Basler sprint 8k cameras connect to Basler-specific adapters and further optical components. As examples, components by Schneider-Kreuznach are considered. 1.3.2.1 Adapting with the UNIFOC 100/95_/_V-Basler Helical Mount The following example illustrates the use of the UNIFOC 100/95_/_V-Basler helical mount, connected to a Makro-Symmar HM 5.6/120-0058 lens by Schneider-Kreuznach.
Page 17
Specifications, Requirements, and Precautions Attaching the UNIFOC 100/95_/_V-Basler Helical Mount to the Camera Use the four M3 setscrews supplied with the helical mount to attach the helical mount to the camera. See Figure 9 for information where to place the M3 screws. Note When screwing in the M3 screws make sure to never exceed a torque of 0.1 Nm.
Specifications, Requirements, and Precautions 1.3.2.2 Adapting with the M58 x 0.75_/_V-Basler Lens Mount The following example illustrates the use of the M58 x 0.75_/_V-Basler lens mount, connected to an assembly of further optical components, including a UNIFOC 76 helical mount, an M39 x 26 tpi adapter, and an Apo-Componon 4.5/90 lens by Schneider-Kreuznach.
Page 19
Specifications, Requirements, and Precautions Adjusting the Assembly of Optical Components For a magnification of 1:0.3, the Apo-Componon 4.5/90 lens requires a distance of 114 mm between its flange and the CMOS sensor. The distance to the CMOS sensor is accounted for by adding the following partial distances: 15 mm: distance between the CMOS sensor and the flange of the camera’s V-Basler mount 55 mm: extension of the M58 x 0.75_/_V-Basler lens mount...
Specifications, Requirements, and Precautions 1.5 Mechanical Specifications 1.5.1 Camera Dimensions and Mounting Points for 2k and 4k Cameras The cameras are manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repeatability. The camera’s dimensions in millimeters are as shown in Figure 5 on page Camera housings are equipped with four mounting holes on the front and two mounting holes on the sides as shown in the drawings...
Page 22
Specifications, Requirements, and Precautions Fig. 5: Mechanical Dimensions (in mm; 2k and 4k Cameras) Basler sprint Mono Cameras...
Specifications, Requirements, and Precautions 1.5.2 Sensor Positioning Accuracy for 2k and 4k Cameras The sensor positioning accuracy is as shown in the drawings below. Fig. 6: Sensor Positioning Accuracy (in mm unless otherwise noted; 2k and 4k Cameras) Basler sprint Mono Cameras...
Specifications, Requirements, and Precautions 1.5.3 Sensor Line Location for 2k and 4k Cameras The location of the lines on the sensor chip is as shown in the drawing below. Fig. 7: Sensor Line Location (2k and 4k Cameras) Basler sprint Mono Cameras...
Specifications, Requirements, and Precautions 1.5.4 F-mount Adapter Dimensions (2k and 4k Cameras) Fig. 8: Camera with F-mount Adapter Attached (in mm; 2k and 4k Cameras) 1.5.5 Camera Dimensions and Mounting Points for 8k Cameras The cameras are manufactured with high precision. Planar, parallel, and angular sides guarantee precise mounting with high repeatability.
Page 26
Specifications, Requirements, and Precautions 4 x M4; 6 deep 4 x M4; 6 deep Photosensitive surface of the CMOS sensor 4 x M3 = reference plane Tolerances are typical Drawings are not to scale Fig. 9: Mechanical Dimensions (in mm; 8k Cameras) Basler sprint Mono Cameras...
Specifications, Requirements, and Precautions 1.5.6 Sensor Positioning Accuracy for 8k Cameras The sensor positioning accuracy is as shown in the drawings below. = reference plane Tolerances are typical Drawings are not to scale Fig. 10: Sensor Positioning Accuracy (in mm unless otherwise noted; 8k Cameras) Basler sprint Mono Cameras...
Specifications, Requirements, and Precautions 1.5.7 Sensor Line Location for 8k Cameras The location of the lines on the sensor chip is as shown in the drawing below. Sensor lines Line B pixel 1 = reference plane Tolerances are typical Drawings are not to scale Line A pixel 1 Fig.
Specifications, Requirements, and Precautions 1.6 Environmental Requirements 1.6.1 Temperature and Humidity Housing temperature during operation: 0° C ... +50° C (+32° F ... +122° F) Humidity during operation: 20% ... 80%, relative, non-condensing Storage temperature: -20° C ... +80° C (-4° F ... +176° F) Storage humidity: 5% ...
Specifications, Requirements, and Precautions 1.7 Precautions Applying Incorrect Camera Power Can Damage the Camera The nominal voltage for the camera power is 12 VDC (± 10%). We do not recommend applying a voltage less than 10.8 VDC or greater than 13.2 VDC. The camera has camera power undervoltage protection that is triggered if the CAUTION voltage drops below 10.5 VDC.
Page 31
Specifications, Requirements, and Precautions Avoid Dust on the Sensor The 2k and 4k cameras are shipped with caps on the lens mounts. To avoid collecting dust on the camera’s sensor, make sure that the cap is always in place when there is no lens mounted on the camera. CAUTION Whenever you remove the cap to mount a lens, be sure that the lens mount is pointing down.
Page 32
Specifications, Requirements, and Precautions Warranty Precautions To ensure that your warranty remains in force: Do not remove the camera’s serial number label If the label is removed and the serial number can’t be read from the camera’s registers, the warranty is void.
Physical Interface 2 Physical Interface This section describes the camera’s physical interface. It includes details about connections, input signals, and output signals. It also includes a description of how the Camera Link standard is implemented in the camera. Applying Incorrect Input Power Can Damage the Camera The camera’s nominal input power voltage is 12 VDC (±...
Physical Interface 2.1 General Description of the Connections The camera is interfaced to external circuitry via connectors located on the back of the housing: one or two, 26-pin, 0.050 inch Mini D Ribbon (MDR) female connectors used to transfer pixel data, control data, and configuration data.
Physical Interface 2.2 Connector Pin Assignments and Numbering 2.2.1 Pin Assignments for the MDR Connectors The pin assignments for MDR Connector 1 (see Figure 12 on page 24) are shown in Table 5. The pin assignments for MDR connector 2 are shown in Table 6. Pin Number Signal Name Direction Level...
Page 36
Physical Interface Pin Number Signal Name Direction Level Function Input Ground Ground for the inner shield of the cable 1, 13, 14, 26 Output Camera Data from the Camera Link transmitter Link LVDS Output Camera Data from the Camera Link transmitter Link LVDS Output Camera...
Physical Interface 2.2.2 Pin Assignments for the 6-pin Micro-miniature Receptacle The pin assignments for the 6-pin, micro-miniature, receptacle are as shown in Table 7. Pin Number Signal Name Direction Level Function +12 VDC Input +12 VDC (± 10%) Camera power 1, 2 3, 4 Not used...
Physical Interface 2.3 Connector Types 2.3.1 26-pin Connectors Each 26-pin connector on the back of the camera is a female, 0.050 inch MDR connector as called for in the Camera Link specification. 2.3.2 6-pin Connector The 6-pin connector on the camera is a Hirose micro-miniature locking receptacle (part number HR10A-7R-6PB) or the equivalent.
Physical Interface 2.4 Cabling Requirements 2.4.1 Camera Link Cable The Mini D Ribbon (MDR) cables used between the camera and your frame grabber must comply with the Camera Link specification. Compliant MDR cable assemblies in several different lengths are available from Basler as stock items. Contact your Basler sales representative for more information.
Physical Interface 2.5 Camera Power Camera power must be supplied to the camera’s 6-pin connector via a cable from your power supply. Nominal camera power voltage is +12 VDC (± 10%) with less than one percent ripple. Power consumption is as shown in Table 1 on page The camera has camera power overvoltage protection as described in Section 6.8 on page...
Physical Interface 2.6 Camera Link Implementation The camera uses National Semiconductor DS90CR287 devices as Camera Link transmitters. For the Camera Link receivers on your frame grabber, we recommend that you use the National Semiconductor DS90CR288, the National Semiconductor DS90CR288A or an equivalent. Detailed data sheets for these components are available at the National Semiconductor web site (www.national.com).
Physical Interface 2.7 Input Signals The camera’s input signals include a SerTC signal and an ExSync signal as described below. 2.7.1 Serial to Camera The Serial To Camera (SerTC) input signal is an RS-644 LVDS signal as specified in the Camera Link standard.
Physical Interface 2.8 Output Signals Data is output from the camera in accordance with the Camera Link standard. The camera’s output signals include pixel data qualifiers such as line valid and data valid, pixel data, a Camera Link clock signal, and a SerTFG signal. 2.8.1 Line Valid Bit As shown in Figure 14 on...
Physical Interface 2.8.4 Camera Link Pixel Clock As shown in Figure 14 on page 32, the Camera Link clock signal is assigned to the strobe port (TxClkIn pin) on the X, Y, and Z Camera Link transmitters as defined in the Camera Link standard. The Camera Link clock is used to time the transmission of acquired pixel data.
Physical Interface Notes Keep in mind that a change to the Camera Link clock speed is a parameter change and that parameter changes are normally lost when the camera is reset or switched off and back on. To avoid this, you can make changes to the camera’s parameters, save the changed parameters to a "user set", and then activate the user set.
Physical Interface 2.9 RS-644 Serial Communication The camera is equipped for RS-644 serial communication via a serial port integrated into the frame grabber as specified in the Camera Link standard. The RS-644 serial connection in the Camera Link interface is used to issue commands to the camera for changing modes and parameters. The serial link can also be used to query the camera about its current setup.
Line Acquisition Modes 3 Line Acquisition Modes This section describes the line acquisition modes available on the camera. 3.1 Introduction Several different methods can be used to acquire (capture) lines with the sensor in the camera. Each of these different methods is referred to as a line acquisition mode. The line acquisition modes include: Single Line [Max 70 kHz] Dual Line [Max 140 kHz] - Line A First...
Line Acquisition Modes 3.2 Single Line [Max 70 kHz] Acquisition Mode When single line acquisition mode is active, the camera will only use line A. Each time a line acquisition is triggered, only line A will be exposed. When line acquisition is complete (i.e., exposure is finished), the pixel values from the single line will be read out of the sensor and transmitted from the camera.
Line Acquisition Modes 3.3 Dual Line [Max 140 kHz] Acquisition Modes Note The Dual Line [Max 140 kHz] acquisition modes are only available on spL2048- 140km and spL4096-140km cameras. Two dual line acquisition modes are available: Dual Line [ Max 140 kHz ] - Line A First Dual Line [ Max 140 kHz ] - Line B First When Dual Line [ Max 140 kHz ] - Line A First acquisition modes is active, the camera will use both line A and line B.
Page 52
Line Acquisition Modes Two ExSync Signal Cycles Required If you have the camera set for a dual line [max 140 kHz] acquisition mode and are you using an ExSync signal to trigger line acquisition, you should be aware that two cycles of the ExSync signal are required to acquire and transmit the two lines in the sensor.
Page 53
Line Acquisition Modes To better understand the concept of dual line acquisition, consider the example that is illustrated in Figure 16 through Figure 19. This example describes dual line acquisition (line A first) when an ExSync signal and the programmable exposure control mode are used. The example looks at four contiguous "points"...
Page 54
Line Acquisition Modes ExSync Cycle 1 Pixel data for point 1 from line A is transmitted from the camera. Drawing not to scale Pixel data for point 2 from line B is stored in a buffer. Image of point 1 acquired by line A.
Page 55
Line Acquisition Modes ExSync Cycle 2 Stored pixel data for point 2 from line B is transmitted from the camera. Drawing not to scale Stored pixel data for point 2 from line B. Line A Line B Object Passing Camera Point 4 Movement Point 3...
Page 56
Line Acquisition Modes ExSync Cycle 3 Pixel data for point 3 from line A is transmitted from the camera. Drawing not to scale Pixel data for point 4 from line B is stored in a buffer. Image of point 3 acquired by line A.
Page 57
Line Acquisition Modes ExSync Cycle 4 Stored pixel data for point 4 from line B is transmitted from the camera. Drawing not to scale Stored pixel data for point 4 from line B. Line A Line B Object Passing Camera Point 4 Movement Point 3...
Page 58
Line Acquisition Modes Setting the Camera for a Dual Line [Max 140 kHz] Acquisition Mode You can set the camera for two line acquisition mode by using the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
Line Acquisition Modes 3.4 Vertical Binning Acquisition Mode When the vertical binning acquisition mode is active, each time a line acquisition is triggered, the camera will expose both line A and line B. When acquisition is complete (i.e., exposure is finished), the pixel values from line A will be added to the pixel values from B in the following manner: The value for pixel 1 in line A will be added to the value for pixel 1 in line B The value for pixel 2 in line A will be added to the value for pixel 2 in line B...
Page 60
Line Acquisition Modes Setting the Camera for Vertical Binning You can set the camera for vertical binning acquisition mode by using the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
Line Acquisition Modes 3.5 Time Delayed Line Summing Acquisition Mode When the time delayed line summing acquisition mode is active, each time a line acquisition is triggered, the camera will expose both line A and line B. When line acquisition is complete (i.e., exposure is finished), the pixel values from line A and from line B will be handled in the following manner: The pixel values for line A will be read out of the sensor and will be stored in a buffer in the...
Page 62
Line Acquisition Modes Acquisition 1 Image of point 1 acquired by line A. Line A pixel Image acquired data from this by line B is acquisition is not useful stored in a in this case. buffer. Line A Line B Object Passing Camera...
Page 63
Line Acquisition Modes Acquisition 2 Pixel data is summed and transmitted from the camera as if it were a single line. Stored data Image of point from line A 2 acquired by for point 1. line A. Line A pixel Image of data from this point 1...
Page 64
Line Acquisition Modes Acquisition 3 Pixel data is summed and transmitted from the camera as if it were a single line. Stored data Image of point from line A 3 acquired by for point 2. line A. Line A pixel Image of data from this point 2...
Page 65
Line Acquisition Modes Acquisition 4 Pixel data is summed and transmitted from the camera as if it were a single line. Stored data Image of point from line A 4 acquired by for point 3. line A. Line A pixel Image of data from this point 3...
Page 66
Line Acquisition Modes Setting the Camera for Time Delayed Line Summing Acquisition Mode You can enable the time delayed line summing acquisition mode by using the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
Line Acquisition Modes 3.6 Line Averaging Acquisition Mode When the line averaging acquisition mode is active, each time a line acquisition is triggered, the camera will expose both line A and line B. When acquisition is complete (i.e., exposure is finished), the pixel values from line A and from B will be averaged in the following manner: The value for pixel 1 in line A will be added to the value for pixel 1 in line B and the total will be divided by 2 (and rounded up if necessary).
Line Acquisition Modes 3.7 Time Delayed Line Averaging Acquisition Mode The operation of the camera’s time delayed line averaging feature is essentially the same as the time delayed line summing feature with one exception: after the pixel values have been summed, each sum is divided by 2 (and rounded up if necessary).
Line Acquisition Modes 3.8 Horizontal Binning Horizontal binning is not a discrete line acquisition mode. Rather it is a function that can be used together with any of the other line acquisition modes described earlier in this section. When horizontal binning is enabled, adjacent pixels a sensor line are summed and the sum is transmitted as a single pixel value.
Page 70
Line Acquisition Modes Enabling Horizontal Binning You can enable horizontal binning with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the Horizontal Binning parameter in the...
Line Acquisition Modes 3.9 Recommendations for Using Time Delayed Line Summing or Time Delayed Line Averaging 3.9.1 Camera Operating Recommendations To achieve the best results when using time delayed line summing or time delayed line averaging, certain operating requirements should be met. Exposure start should be triggered by an ExSync signal (see Chapter 4 on page 67).
Page 72
Line Acquisition Modes If an encoder is used but it is not set-up correctly, haloing in the transport direction will result. In this case, the halos will be constant in size. Conveyor Travel The conveyor must travel in a straight line. If the conveyor motion is not straight, each line in the sensor will scan a different area of the object.
Line Acquisition Modes 3.9.3 System Design Calculations Our recommended approach for calculating system design criteria is tuned to matching the line of view of the sensor to the width of your conveyor. The example below illustrates this approach. Example Assume the following conditions: Conveyor width = 850 mm Conveyor movement per encoder step = 0.09 mm Center-to-center distance between sensor lines = 10 µm...
Page 74
Line Acquisition Modes movement results. And we must also consider that a change in magnification will result in a change in the amount of conveyor width that is viewed by each sensor line. The calculations below look at the outcomes of our two options: Option 1 Calculate the conveyor movement that will generate 2 encoder steps: 2 steps x 0.09 mm/step = 0.18 mm...
Page 75
Line Acquisition Modes If you choose to use 2 encoder steps to move the image 10 µm, you will require a 1 : 17.86 magnification and at this magnification, the field of view of each sensor line will be 731.55 mm. If you choose to use 3 encoder steps to move the image 10 µm, you will require a magnification of 1 : 27.03 and at this magnification, the field of view of each sensor line will be 1102.92 mm.
Page 76
Line Acquisition Modes Basler sprint Mono Cameras...
Exposure Start and Exposure Time Control 4 Exposure Start and Exposure Time Control This section describes the methods that can be used to trigger the start of exposure and control the length of exposure for each acquisition. Exposure start and exposure time can be controlled via an external trigger signal (ExSync) applied to the camera.
Page 78
Exposure Start and Exposure Time Control ExSync Period Exposure ExSync Signal Line Readout Fig. 27: ExSync Edge Controlled Mode In ExSync level controlled mode, line acquisition begins on the rising edge of the ExSyc signal. The exposure time is determined by the time between the falling edge of ExSync and the next rising edge.
Exposure Start and Exposure Time Control 4.1.2 Selecting an ExSync Exposure Mode & Setting the Exposure Time You can select an ExSync exposure time control mode and set the exposure time for the ExSync programmable mode with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
Page 80
Exposure Start and Exposure Time Control Exposure Start Delay In the ExSync edge controlled and ExSync programmable exposure modes, there is a slight delay between the rise of the ExSync signal and the actual start of exposure. In the ExSync level controlled mode, there is a slight delay between the fall of the ExSync signal and the actual start of exposure.
Exposure Start and Exposure Time Control 4.2 Free Run 4.2.1 Basics of Free Run Controlled Operation In free run, an ExSync signal is not required. The camera generates its own internal control signal based on two programmable parameters, “Line Period” and “Exposure Time.” The camera’s internally generated control signal rises and falls in a fashion similar to an ExSync signal.
Exposure Start and Exposure Time Control In free run programmable mode, line acquisition begins on the rising edge of the ExSyc signal. The pixels are exposed and charge is accumulated when the internal control signal is low. The pixel values are read out of the sensor on the rising edge of the internal control signal as shown in Figure 31.
Exposure Start and Exposure Time Control If you select the free run programmable mode, you will also need to set the exposure time. You set the exposure time by writing a value in µs to the Absolute Exposure Time field or by writing an integer value to the Raw Exposure Time field of the Exposure Time CSR (see page 169).
Exposure Start and Exposure Time Control 4.3 Maximum Allowed Line Rate / Minimum Line Period The information in this section is intended to give you a comprehensive understanding about the factors that influence the maximum allowed line rate and how those factors interact. In general, the maximum allowed line acquisition rate can be limited by four factors: The exposure time for the acquired lines.
Page 85
Exposure Start and Exposure Time Control Note In 8 tap video data output mode at 80 MHz, the maximum line rate for the spL2048 camera will be less than 140 MHz. The camera will, however, reach a maximum line rate of 140 MHz in 4 tap video data output mode at 80 MHz and 8 tap video data output mode at 40 MHz.
Page 86
Exposure Start and Exposure Time Control AOI Length is the length of the AOI based on the current AOI length setting (see Section 6.2 on page 118) p = 0 if the line stamp feature is not enabled (see Section 6.5 on page 136) p = 16 when the line stamp feature is enabled...
Exposure Start and Exposure Time Control 4.3.1 Max Segment AOI Pixels Each sensor line in a camera is divided into segments with each segment including 2048 pixels. In cameras equipped with sensors that have 2048 pixels per line, each line has only one segment. In cameras equipped with sensors that have 4096 pixels per line, each line has two segments as shown in Figure 32.
Page 88
Exposure Start and Exposure Time Control Segment 1 includes 64 of the pixels in the AOI and segment 2 includes 192 of the pixels in the AOI. The Max Seg AOI Pixels in this situation would be 192 (because segment 2 contains the largest part of the AOI and the number of AOI pixels in segment 2 is 192).
Page 89
Exposure Start and Exposure Time Control Max Segment AOI Pixels with Horizontal Binning If you have horizontal binning enabled (see Section 3.8 on page 59), calculating the Max Segment AOI Pixels is done a bit differently. With horizontal binning enabled, the resolution of the sensor, the segment size, the AOI Starting Pixel, and the AOI Length are all based on "binned"...
Exposure Start and Exposure Time Control 4.3.2 Example of Calculating the Maximum Allowed Line Rate / Minimum Line Period Assume that you are working with an spL4096-140km. Also assume that the camera is set for the dual line [ Max 140 kHz] line acquisition mode and 8 tap 8 bit video data output mode. The AOI starting pixel is set to 1249, AOI length is set to 2400, and the exposure time is set to 4 µs.
Exposure Start and Exposure Time Control Formula 4: × CL Clk Taps Max Lines / s ----------------------------------------------------------------------------- × 12 Taps AOI Length × 80000000 8 Max Lines / s -------------------------------------------------- × 12 8 2400 Max Lines / s = 256410 Formula 2 returns the lowest value.
Exposure Start and Exposure Time Control rate yielded by formula three. Formula four (transmission time) will not normally be a restricting factor. But if you are using a 2 tap or a 4 tap video data output mode, you may find that the transmission time is restricting the line rate.
Page 93
Exposure Start and Exposure Time Control Model Taps Camera Link Line Acquisition Mode(s) Clock Speed spL2048-39km 2 taps 40 MHz Single spL2048-70km 2 taps 80 MHz Single spL2048-140km 4 taps 80 MHz Dual 8 taps 40 MHz Dual spL4096-20km 2 taps 40 MHz Single spL4096-39km...
Page 94
Exposure Start and Exposure Time Control Basler sprint Mono Cameras...
Video Data Output Modes 5 Video Data Output Modes This section describes the video data output modes available on the camera. The video data output mode will determine the format of the pixel data output from the camera and will affect the camera’s maximum allowed line rate.
Page 96
Video Data Output Modes Model Video Data Outmode Modes Camera link Clock Speed(s) spL2048-39km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit 40 MHz spL2048-70km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit 40 MHz or 80 MHz spL2048-140km 2 tap - 8 bit / 2 tap - 10 bit / 2 tap - 12 bit...
Video Data Output Modes 5.1.1 Setting the Video Data Output Mode You can set the video data output mode with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
Video Data Output Modes 5.2 Video Data Output Mode Details Note The following values for line valid and frame valid delays apply to line acquisitions at full resolution. If a shorter AOI is used, the values for line valid and frame valid delays may be smaller or larger, depending on the size and position of the AOI.
Video Data Output Modes 2 Tap - 8 Bit Output Mode Operation in 2 tap 8 bit mode is similar to 2 tap 12 bit mode. In 8 bit mode, however, the four least significant bits output from the camera’s ADCs are dropped and only the 8 most significant bits of data per pixel are transmitted.
Page 100
Video Data Output Modes MDR Conn. 1, Transmitter X Port Camera Frame Bit Assignment Grabber 2 Tap - 12 Bit 2 Tap - 10 Bit 2 Tap - 8 Bit Port A0 TxIN0 RxOut0 D0 Bit 0 D0 Bit 0 D0 Bit 0 Port A1 TxIN1...
Page 101
Video Data Output Modes ExSync Signal Line Valid Delay (see Table Table 14, and Table Line Valid Data Valid Pixel Clock Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits) Timing diagrams are not to scale. N = At full resolution without horizontal binning enabled, N = 8192 on 8k models, 4096 on 4k models, and 2048 on 2k models N = At full resolution with horizontal binning enabled, N = 4096 on 8k models, 2048 on 4k models, and 1024...
Page 102
Video Data Output Modes End of Programmed Time Line Valid Delay (see Table Table 14, and Table Line Valid Data Valid Pixel Clock Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits) Timing diagrams are not to scale. N = At full resolution without horizontal binning enabled, N = 8192 on 8k models, 4096 on 4k models, and 2048 on 2k models N = At full resolution with horizontal binning enabled, N = 4096 on 8k models, 2048 on 4k models, and 1024...
Video Data Output Modes 5.2.1.2 Line Valid Delays for 2 Tap Output Modes The table below shows the line valid delay (see Figure 35 on page 91 and Figure 36 on page when the camera is set for full resolution and a 2 tap video data output mode. Note that the delay depends on the line acquisition mode setting, the Camera Link clock speed, and whether horizontal binning is enabled.
Page 104
Video Data Output Modes 4k Cameras Line Valid Delays for 2 Tap Modes - 4k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min.
Page 105
Video Data Output Modes 8k Cameras Line Valid Delays for 2 Tap Modes - 8k Cameras Single Line Acquisition Mode - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 3.28 µs 3.41 µs 3.98 µs 4.11 µs Edge Controlled Exposure 3.33 µs...
Video Data Output Modes 5.2.2 4 Tap Output Modes 4 Tap - 12 Bit Output Mode In 4 tap 12 bit mode, on each pixel clock cycle, the camera transmits data for four pixels at 12 bit depth, a line valid bit and a data valid bit. In the 4 tap output modes, the camera uses the output ports on Camera Link Transmitters X and Y to transmit pixel data, a line valid bit, a data valid bit, and the Camera Link pixel clock.
Video Data Output Modes 5.2.2.1 Video Data Sequence for 4 Tap Modes When the camera is not transmitting valid data, the line valid and data valid bits sent on each cycle of the pixel clock will be low. Once the camera has completed an exposure, there will be a delay while data is read out of the sensor.
Page 108
Video Data Output Modes MDR Conn. 1, Transmitter X Port Camera Frame Bit Assignment Grabber 4 Tap - 12 Bit 4 Tap - 10 Bit 4 Tap - 8 Bit Port A0 TxIN0 RxOut0 D0 Bit 0 D0 Bit 0 D0 Bit 0 Port A1 TxIN1...
Page 109
Video Data Output Modes MDR Conn 2, Transmitter Y Port Camera Frame Bit Assignment Grabber 4 Tap - 12 Bit 4 Tap - 10 Bit 4 Tap - 8 Bit Port D0 TxIN0 RxOut0 D3 Bit 0 D3 Bit 0 D3 Bit 0 Port D1 TxIN1...
Page 110
Video Data Output Modes ExSync Signal Line Valid Delay (see Table Table 19, and Table Line Valid Data Valid Pixel Clock Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits)
Page 111
Video Data Output Modes End of Programmed Time Line Valid Delay (see Table Table 19, and Table Line Valid Data Valid Pixel Clock Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10, or 8 bits) Pixel Data (12, 10,...
Video Data Output Modes 5.2.2.2 Line Valid Delays for 4 Tap Output Modes The table below shows the line valid delay (see Figure 37 on page 100 and Figure 38 on page 101) when the camera is set for full resolution and a 4 tap video data output mode. Note that the delay depends on the line acquisition mode setting, the Camera Link clock speed, and whether horizontal binning is enabled.The delay also depends on whether the camera is a 2k, 4k, or 8k camera.
Page 113
Video Data Output Modes 4k Cameras Line Valid Delays for 4 Tap Modes - 4k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min.
Page 114
Video Data Output Modes 8k Cameras Line Valid Delays for 4 Tap Modes - 8k Cameras Single Line Acquisition Mode - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min. Max. Programmable 3.28 µs 3.41 µs 10.38 µs 10.51 µs Edge Controlled Exposure 3.33 µs...
Video Data Output Modes 5.2.3 8 Tap 8 Bit Output Mode In 8 tap 8 bit output mode, on each pixel clock cycle, the camera transmits data for eight pixels at 8 bit depth, a line valid bit and a data valid bit. In the 8 tap output mode, the camera uses the output ports on Camera Link Transmitters X, Y and Z to transmit pixel data, a line valid bit, a data valid bit, and the Camera Link pixel clock.
Page 116
Video Data Output Modes transmit data for pixel 18. Data stream D2 will transmit data for pixel 19. Data stream D3 will transmit data for pixel 20. Data stream D4 will transmit data for pixel 21. Data stream D5 will transmit data for pixel 22.
Page 117
Video Data Output Modes MDR Conn. 1, Transmitter X Port Camera Frame Bit Assignment Grabber 8 Tap -8 Bit Port A0 TxIN0 RxOut0 D0 Bit 0 Port A1 TxIN1 RxOut1 D0 Bit 1 Port A2 TxIN2 RxOut2 D0 Bit 2 Port A3 TxIN3 RxOut3...
Page 118
Video Data Output Modes MDR Conn 2, Transmitter Y Port Camera Frame Bit Assignment Grabber 8 Tap - 8 Bit Port D0 TxIN0 RxOut0 D3 Bit 0 Port D1 TxIN1 RxOut1 D3 Bit 1 Port D2 TxIN2 RxOut2 D3 Bit 2 Port D3 TxIN3 RxOut3...
Page 119
Video Data Output Modes MDR Conn 2, Transmitter Z Port Camera Frame Bit Assignment Grabber 8 Tap - 8 Bit Port G0 TxIN0 RxOut0 D6 Bit 0 Port G1 TxIN1 RxOut1 D6 Bit 1 Port G2 TxIN2 RxOut2 D6 Bit 2 Port G3 TxIN3 RxOut3...
Page 120
Video Data Output Modes ExSync Signal Line Valid Delay (see Table Table 25, and Table Line Valid Data Valid Pixel Clock Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data...
Page 121
Video Data Output Modes End of Programmed Time Line Valid Delay (see Table Table 25, and Table Line Valid Data Valid Pixel Clock Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits) Pixel Data (8 bits)
Video Data Output Modes 5.2.3.2 Line Valid Delays for 8 Tap Output Modes The table below shows the line valid delay (see Figure 39 on page 110 and Figure 40 on page 111) when the camera is set for full resolution and an 8 tap video data output mode. Note that the delay depends on the line acquisition mode setting, the Camera Link clock speed, and whether horizontal binning is enabled.
Page 123
Video Data Output Modes 4k Cameras Line Valid Delays for 8 Tap Modes - 4k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min.
Page 124
Video Data Output Modes 8k Cameras Line Valid Delays for 8 Tap Modes - 8k Cameras Single Line, Time Delayed Line Summing, and Time Delayed Line Averaging Acquisition Modes - 40 MHz Without Horizontal Binning With Horizontal Binning Min. Max. Min.
Features 6 Features 6.1 Gain and Offset 6.1.1 Gain Gain is adjustable. As shown in Figure 41, increasing the gain setting increases the slope of the camera’s response curve and results in higher camera output for a given amount of light input. Decreasing the gain setting decreases the slope of the response curve and results in lower output for a given amount of light.
Features If you know the integer setting for the gain, you can calculate the resulting dB of gain that the camera will achieve by using the following formula: ⎛ ⎞ setting × ---------------- - Gain in dB 20 log 10 ⎝...
Page 127
Features Setting the Offset You can set the offset with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the Offset parameter in the Gain &...
Features 6.2 Area of Interest The area of interest feature lets you specify a portion of the sensor lines. During operation, only the pixel information from the specified portion of the lines is read out of the sensor and transmitted from the camera to the frame grabber.
Page 129
Features When the area of interest feature is used, the maximum allowed line rate may increase. For more information about the impact of the AOI settings on the maximum allowed line rate, see Section 4.3 page Using the AOI Feature with Horizontal Binning Enabled If the camera’s horizontal binning feature (see Section 3.8 on page 59) is enabled, it will have an...
Features 6.2.1 Setting the AOI You can set the AOI with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs). With the CCT+ With the CCT+ (see Section 7.1 on page 156), you use the AOI Starting Pixel parameter and the...
Features 6.3 Shading Correction In theory, when a digital camera captures an image of a uniform object, the pixel values output from the camera should be uniform. In practice, however, variations in optics and lighting and small variations in the sensor’s performance can cause the camera output to be non-uniform even when it is capturing images of a uniform object.
Features The second shading values file is called the "usershading" file. This file can also hold a complete collection of the values needed to perform both DSNU and PRNU shading correction. The values stored in this file must be generated by the camera user while the camera is operating under its real world conditions.
Features 6.3.2 Generating and Saving User Shading Correction Values This section includes procedures for generating the user DSNU and PRNU shading correction values that will be stored in the user shading correction values file. If you will be setting the camera to do DSNU correction only, then you only need to perform the DSNU procedure.
Page 134
Features b. You can also start the generation of a set of DSNU values by using a binary write command (see Section 7.3 on page 196) to write a value to the Generate field of the Shading Value Generate CSR (see page 178).
Page 135
Features Generating and Saving User PRNU Shading Correction Values The procedure below describes how to generate user PRNU shading correction values. When you generate the values, they will automatically be stored in the camera’s user shading value file. You should be aware that the camera uses one set of PRNU values when it is operating in single line acquisition mode and a different set of values when it is operating in any one of the other line acquisition modes (see Chapter 3 on page 39...
Page 136
Features 6. Begin acquiring lines either by generating an ExSync signal to trigger line capture or by setting the camera for a free run exposure time control mode. Note When you generate the PRNU values in the step below, you will have two options: 1.
Page 137
Features However, the data in these lines is not useful to you and should be ignored. Note If you started the generation of the shading values using the CCT+, you are using an ExSync signal to trigger acquisitions, and you are operating the camera at a line period greater than approximately 300 ms, you should be aware of a potential problem.
Features 6.3.3 Activating a Shading Values File As explained in Section 6.3 on page 121, the camera contains a set of factory determined shading correction values in a file in its non-volatile memory. As explained in Section 6.3.2 on page 123, you can also generate a set of "user"...
Features 6.3.4 Copying the Factory Shading Values into the User Shading Values File As explained in Section 6.3 on page 121, the camera contains a set of factory determined shading correction values in a file in its non-volatile memory. As explained in Section 6.3.2 on page 123, you can also generate a set of "user"...
Features 6.3.5 Downloading a Shading Values File to Your PC Once you have generated a set of user shading values in the user shading values file as described in Section 6.12.1 on page 151, you can download the user shading values file to your PC. You can also download the factory shading values file to your PC.
Features 6.3.6 Uploading a Shading Values File to Your Camera Once you have downloaded a user shading values file to your PC as described on the previous page, you can upload the file from your PC to a camera. Using the download function together with the upload function is useful if you want to transfer a user shading values file from one camera to another camera of the same type.
Features 6.4 Test Images The test image mode is used to check the camera’s basic functionality and its ability to transmit an image via the video data cables. Test images are especially useful for service purposes and for failure diagnostics. In test mode, the image is generated with a software program and the camera’s digital devices and does not use the optics, imaging sensor, or ADCs.
Features 6.4.1 Test Image One (Fixed Gradient) When the camera is set for an 8 bit output mode, test image one is formed with an odd/even gray scale gradient that ranges from 0 to 255 and repeats every 512 pixels as shown in Figure 43. The odd pixel gradient starts at 0 and steps up, that is, the gray value of pixel 1 is 0, the gray value of pixel 3 is 1, the gray value of pixel 5 is 2, and so forth.
Features 6.4.2 Test Image Two (Moving Gradient) Test image two is formed with a gray scale gradient that ranges from 0 to 255 and repeats every 256 pixels as shown in Figure 45. The gradient starts at 0 and steps up, that is, the gray value of pixel 1 is 0, the gray value of pixel 2 is 1, the gray value of pixel 3 is 2, and so forth.
Features 6.4.3 Test Image Three (Uniform Black) In test image three, all pixels will always have a value of 0 regardless of the output mode. Test image three should always appear as a uniform, black image. Test image three is useful for checking the integrity of the data transmitted by the camera. If you capture lines and examine the pixel values in the captured lines, the values should be exactly as described above.
Features 6.5 Line Stamp The line stamp feature provides you with information about each acquired line such as the line counter value, the sum of the pixel values in the line, and the contrast value of the line. When the line stamp feature is enabled, 16 extra "stamp pixel"...
Page 147
Features If the line stamp feature is used together with the AOI feature (see Section 6.2 on page 118), the stamp pixels are transmitted immediately after the last pixel in the AOI as shown in Figure 48. The figure illustrates what you would see if the AOI was set for a starting pixel of 33 and a length in pixels of 256.
Page 148
Features The table below lists the function of each stamp pixel. A more detailed explanation of how to interpret the pixel values follows the table. Position Function A fixed value of 0xAA A fixed value of 0x55 (with camera set for dual line acquisition mode and pixels from line A) A fixed value of 0x57 (with camera set for dual line acquisition mode and pixels from line B) A fixed value of 0x55 (with camera set for any other acquisition mode) Line Counter (LSByte)
Page 149
Features Stamp Pixels S3 and S4 Stamp pixels S3 and S4 represent the least significant and most significant bytes (respectively) of the line counter. The line counter increments by one for each line captured by the camera. The counter starts at 0 and wraps at 65535 (decimal). The line counter is reset to 0 whenever the camera is switched off or reset.
Features that the total high pixel values are increasing over a period of time, a decrease in the gain setting would be appropriate. Stamp Pixels S13, S14, and S15 Stamp pixels S13, S14, and S15 represent the least significant, middle, and most significant bytes (respectively) of the line contrast.
Features 6.6 Lookup Table The sensor circuitry in the camera acquires pixel data at 12 bit depth. However, when the camera is set for an 8 bit video data output format, pixel data is only output at 8 bit depth. With the camera set for an 8 bit format, it normally converts the 12 bit data output from the sensor to 8 bit data by simply truncating the least significant 4 bits.
Page 152
Features When the lookup table feature is enabled, the camera will operate in this manner: If the sensor reports that a pixel has a 12 bit value of 0, the 8 bit value stored at index 0 will be transmitted. If the sensor reports that a pixel has a 12 bit value of 4, the 8 bit value stored at index 4 will be transmitted.
Page 153
Features Entering Values Into the Lookup Table You can enter 8 bit values into the lookup table with the Camera Configuration Tool Plus (CCT+) or by using binary write commands from within your own application to set the camera’s control and status registers (CSRs).
Features 6.7 Imaging Sensor Temperature The camera is equipped with a temperature sensor that lets you monitor the temperature of the imaging sensor. You can check the temperature of the imaging sensor with the Camera Configuration Tool Plus (CCT+) or by using binary read commands from within your own application to read the camera’s inquiry registers.
Features 6.8 Camera Power Undervoltage and Overvoltage Protection The camera’s nominal camera power voltage is 12 VDC (± 10%). We do not recommend applying less than 10.8 VDC or greater than 13.2 VDC. The camera has camera power undervoltage protection: If the camera power voltage is less than 10.5 VDC, the camera’s internal power regulator will automatically disconnect, and the camera will no longer operate.
Features 6.9 Error Condition Detection 6.9.1 Imaging Sensor Overtemperature Condition Detected As described in Section 6.7 on page 144, the camera includes a temperature sensor that is used to monitor the temperature of the imaging sensor. The camera also has imaging sensor overtemperature protection. If the temperature of the camera’s imaging sensor rises above 75°...
Features 6.9.2 Camera Power Overvoltage Condition Detected The required camera power voltage for the camera is 12 VDC ± 10%. If a camera power power voltage between 14 and 18 VDC is applied to the camera, a camera power overvoltage condition will be detected. The LED on the back of the camera will begin to flash red. When the camera power voltage is returned to its normal range, the error condition will clear and the LED will stop flashing.
Features 6.10 Camera Status Checks During operation, the camera performs a continuous series of self checks. You can view the current camera status in several ways: by using the Camera Configuration Tool Plus (see Section 7.1 on page 156). Check the Camera Status parameter in the Camera Information parameters group to see if any error codes are present.
Features 6.12 Configuration Sets A configuration set is a group of values that contains all Non-volatile Memory of the parameter settings needed to control the camera. (flash) There are three basic types of configuration sets: the Volatile work configuration set, the factory configuration set, Memory UserSet01 and user configuration sets.
Page 160
Features Note For 8k cameras, only two user sets (UserSet01 and UserSet02) are available. Note The configuration sets described in this section only include parameter settings and the values stored in the lookup table (see Section 6.6 on page 141). Configuration sets do not include the values used for shading correction.
Features 6.12.1 Saving the Work Set to a User Set File As mentioned above, the work configuration set is stored in the camera’s volatile memory and the parameter settings in the work set are lost if the camera is reset or if power is switched off. The camera can save the current work set values in the volatile memory to files in the camera’s non- volatile memory.
Features 6.12.2 “Activating” a User Set File or the Factory Set File As explained on page 149, a factory configuration set containing an optimized set of parameters is created when the camera is manufactured. The factory set is saved in a permanent file in the camera’s non-volatile memory.
Features 6.12.3 Which Configuration Set File will Load at Startup or at Reset? On the initial wake-up after delivery, the camera loads the factory configuration set into the work set. At each subsequent power on or reset, the configuration set file that was last activated is loaded into the work set.
Features 6.12.5 Uploading Configuration Set Files to Your Camera Once you have downloaded user configuration set files to your PC as described on the previous page, you can upload the files from your PC to a camera. Using the download function together with the upload function is useful if you want to transfer a user set file from one camera to another camera of the same type.
Configuring the Camera 7 Configuring the Camera The camera comes with a factory set of parameters that will work properly for most applications with only minor changes. For normal operation, the following parameters are usually configured by the user: Video data output mode Line acquisition mode Exposure time control mode Exposure time (for ExSync programmable or free run programmable exposure modes)
Configuring the Camera 7.1 Configuring the Camera with the Camera Configuration Tool Plus (CCT+) The Camera Configuration Tool Plus (CCT+) is a Windows™ based program used to easily change the camera’s parameter settings. The CCT+ is especially useful during initial camera testing and the camera design in process.
Configuring the Camera 7.2 Configuring the Camera By Setting Registers The camera has blocks of mapped memory space known as registers. By reading values from the registers, you can determine basic information about the camera and information about the camera’s current parameter settings. By writing values to the registers, you can set camera parameters and control how the camera’s features will operate.
Configuring the Camera 7.2.1 Inquiry Registers Inquiry registers contain basic information about the camera and information about the camera’s current status. Each inquiry register contains one or more fields and each field has an assigned address within the camera’s memory space. By using a binary read command, you can read the data in a field and get information about the camera.
Configuring the Camera Product ID Inquiry Register Base Address: 0x0300 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this inquiry register: 0x00 = The register is not available 0x01 = The register is available Field Name: Product ID Offset: 0x0001...
Configuring the Camera Firmware Version Inquiry Register Base Address: 0x0510 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this inquiry register: 0x00 = The register is not available 0x01 = The register is available Field Name: Firmware Version Offset: 0x0001...
Configuring the Camera Camera Status Inquiry The camera has been programmed to detect several error conditions. When an error condition is detected, a flag is set. The camera status inquiry register allows you to read the error flags. Register Base Address: 0x0C00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte...
Configuring the Camera FPGA Status Inquiry The camera has been programmed to detect several error conditions in its field programmable gate array (FPGA). When an error condition is detected, a flag is set. The FPGA status inquiry register allows you to read the error flags. Register Base Address: 0x0C10 Field Name: Register Status Offset: 0x0000...
Configuring the Camera Binary Command Protocol Status Inquiry The camera has been programmed to detect several errors in the format of any binary commands received by the camera. When an error condition is detected, a flag is set. The binary command status inquiry register allows you to read the error flags.
Configuring the Camera 7.2.2 Feature Control and Status Registers The feature control and status registers (CSRs) let you set the parameters for camera features such as exposure mode, gain, offset, and the AOI. These registers also let you check the current parameter settings and the status for each feature.
Page 175
Configuring the Camera Setting the Absolute Gain If you set the gain by writing a value to the Absolute Gain field of the Gain CSR, you can write a floating point value from -12.04 to +12.04 (decimal) in increments of 0.01. Writing a floating point value to the absolute register sets the gain directly in dB.
Configuring the Camera 7.2.2.2 Feature Control and Status Register Details Camera Link Clock Speed CSR Register Base Address: 0x3900 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range...
Configuring the Camera Line Acquisition Mode CSR Register Base Address: 0x3600 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode...
Configuring the Camera Horizontal Binning CSR Register Base Address: 0x1B00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode...
Configuring the Camera Exposure Time CSR Note: The exposure time can be set by writing a floating point value to the Absolute Exposure Time field or by writing an integer value to the Raw Exposure Time field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Page 180
Configuring the Camera Field Name: Raw Min Offset: 0x0011 Size: 4 Bytes Type: Read only Description: Minimum allowed integer value for the raw exposure time setting. This field is updated to reflect limitations caused by the way that any related fields are set. The bytes in this field are interpreted as follows: Byte 1 = Low byte of the min value Byte 2 = Mid byte of the min value...
Configuring the Camera Line Period CSR Note: The line period can be set by writing a floating point value to the Absolute Line Period field or by writing an integer value to the Raw Line Period field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Page 182
Configuring the Camera Field Name: Raw Min Offset: 0x0011 Size: 4 Bytes Type: Read only Description: Minimum allowed integer value for the raw line period setting. This field is updated to reflect limitations caused by the way that any related fields are set. The bytes in this field are interpreted as follows: Byte 1 = Low byte of the min value Byte 2 = Mid byte of the min value...
Configuring the Camera Gain CSR Note: The gain can be set by writing a floating point value to the Absolute Gain field or by writing an integer value to the Raw Gain field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Configuring the Camera Offset CSR Note: The offset can be set by writing a floating point value to the Absolute Offset field or by writing an integer value to the Raw Offset field. See Section 7.2.2.1 on page 164 for an explanation of the difference between these two fields.
Page 185
Configuring the Camera Field Name: Raw Offset Offset: 0x000D Size: 2 Bytes Type: Read/Write Description: Writing an integer value to this field sets the offset. The allowed range for this value can vary depending on how the camera is configured. You should check the raw min and raw max fields of this register to determine the allowed range with the current configuration.
Configuring the Camera Area of Interest Starting Pixel CSR Register Base Address: 0x1000 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range...
Configuring the Camera Area of Interest Length CSR Register Base Address: 0x100A Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range...
Configuring the Camera Shading Mode CSR Register Base Address: 0x2000 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode...
Configuring the Camera Test Image Mode CSR Register Base Address: 0x1800 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode...
Configuring the Camera Line Stamp Mode CSR Register Base Address: 0x2B00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode...
Configuring the Camera Line Stamp Low Pixel Limit CSR Register Base Address: 0x2B20 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range...
Configuring the Camera Line Stamp High Pixel Threshold CSR Register Base Address: 0x2B40 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range...
Configuring the Camera Lookup Table Mode CSR Register Base Address: 0x4100 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Mode...
Configuring the Camera Lookup Table Index CSR Register Base Address: 0x4108 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Lookup Table Index...
Configuring the Camera Lookup Table Value CSR Register Base Address: 0x4111 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Lookup Table Value...
Configuring the Camera Camera Reset CSR Register Base Address: 0x0B00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range Field Name: Reset...
Configuring the Camera Serial Communication CSR An RS-644 serial connection is integrated into the Camera Link interface between the frame grabber installed in your computer and the camera. The serial connection is used to issue commands to the camera for changing modes and parameters. You can use the serial communication CSR to set the bitrate for the camera’s RS-644 serial port.
Configuring the Camera 7.2.3 Bulk Data and the Bulk Data Control and Status Registers The term “bulk data” refers to a collection of values used by the camera as a block. A configuration set (see Section 6.12 on page 149) is an example of one type of bulk data. A single configuration set contains values for all of the normal parameter settings needed to configure the camera and the values within a configuration set are used by the camera as a block.
Configuring the Camera 7.2.3.1 Using the Configuration Set Bulk Data CSR Saving the Work Configuration Set to a User Set File As described in Section 6.12 on page 149, the work configuration set resides in the camera’s volatile memory. Assume that you want to save the parameter values in the current work set to the UserSet01 file in the camera’s non-volatile memory.
Configuring the Camera This procedure would find the UserSet01 file in the non-volatile memory and would copy the values in the file into the camera’s volatile memory. It would also create a link to the file so that the values in the file would be loaded into volatile memory after a reset or a power up.
Configuring the Camera This procedure will copy the contents of the factory shading values file into the user shading values file. Note that any existing data in the user shading values file will be overwritten. Sample code that illustrates how to create a bulk data file is available from Basler (seeSection 7.4 page 204).
Page 202
Configuring the Camera Downloading a Bulk Data File from the Camera to a PC You can download a bulk data file from the camera’s non-volatile memory to your host PC. As an example, assume that you have saved a configuration set to the UserSet02 file and that you want to download this file from the camera to your host PC.
Page 203
Configuring the Camera Uploading a Bulk Data File from a PC to the Camera You can upload a bulk data file from your host PC to the camera’s non-volatile memory. As an example, assume that you previously downloaded a saved configuration set file named UserSet02 to your PC.
Configuring the Camera 7.2.3.4 Bulk Data Control and Status Register Details Configuration Set CSR See Section 7.2.3.1 on page 189 for information about using the configuration set bulk data control register. Register Base Address: 0x2800 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register:...
Configuring the Camera Shading Values CSR See Section 7.2.3.2 on page 190 for information about using the shading values bulk data control registers. Register Base Address: 0x2A00 Field Name: Register Status Offset: 0x0000 Size: 1 Byte Type: Read only Description: The integer value in this field indicates the status of this control and status register: 0x00 = The register is not available 0x01 = The register is available and all related settings are OK 0x80 = A value in the register is set out of range...
Configuring the Camera 7.3 Using Binary Read/Write Commands As explained in Section 7.2 on page 157, each camera has control and status registers with one or more fields that are used to set the values for parameters associated with a camera feature. For example, the gain control and status register has two fields that can be used to set the camera’s gain (see Section 6.1 on page...
Configuring the Camera 7.3.1 The Binary Read/Write Command Protocol With the binary read/write command protocol, data is placed into a “frame” and sent to the camera. When the frame is received, it is checked for validity. If valid, the data is extracted from the frame and the command is executed.
Page 208
Configuring the Camera The value in the OpCode portion of the FTF field defines the function of the binary command, that is, whether it is a read command or a write command. The following OpCodes are available: OpCode Function 0b00000 This is a write command used to write a single setting to the camera.
Page 209
Configuring the Camera DataLen Data Length field For read commands, the DataLen field indicates the number of bytes to read from the given CSR address. For write commands, the DataLen field indicates the number of bytes contained in the Data field. Size = 1 byte Range of possible settings: 0 to 255.
Configuring the Camera 7.3.1.1 Error Checking and Responses ACK/NAK When the camera receives a frame, it checks to see if the order of the bytes in the frame is correct. If the FTF field indicates that the frame includes a BCC, the camera checks to see if the XOR sum of the relevant frame fields matches the block check character.
Configuring the Camera 7.3.2 Basic Read/Write Command Explanations 7.3.2.1 Read Command This section includes a text description the hex digits included in a command message used to read the Status field of the Test Image Mode CSR (see page 179). The intent of this section is to give you a basic understanding of the elements included in a read command.
Configuring the Camera 7.3.2.2 Write Command This section includes a text description the hex digits included in a command message used to write a value of 0x01 to the Mode field of the Test Image Mode CSR (see page 179). The intent of this section is to give you a basic understanding of the elements included in a write command.
Configuring the Camera 7.3.2.3 Calculating the Block Check Character The use of a block check character (BCC) in camera commands is optional (see Section 7.3.1 on page 197). If you choose to use a BCC, the BCC will be the exclusive-or sum (XOR sum) of the bytes in the FTF field, the DataLen field, the Address field and the Data field of the command frame.
Configuring the Camera 7.4 Binary Command Sample Code Sample code that illustrates how to use binary commands with sprint cameras is available at the Basler web site. Please look for the Binary Protocol II programming sample at: http://www.baslerweb.com Basler sprint Mono Cameras...
Troubleshooting and Support 8 Troubleshooting and Support This section outlines the resources available to you if you need help working with your camera. It also provides some basic troubleshooting information that you can use to solve problems. 8.1 Tech Support Resources The troubleshooting resources in this section of the manual will help you to find the cause of many common problems.
Troubleshooting and Support 8.2 Fault Finding Using the Camera LED During bootup, the camera loads firmware and performs initial self checks. Once bootup is complete, the camera performs a continuous series of self checks. If an error condition is detected, the LED will begin to flash.
Page 217
Troubleshooting and Support Description Priority Repeated pattern of 4 One of the following errors is present: slow orange flashes A byte time-out has occurred (see Section 7.3.1.1 on page 200). Invalid OpCode in a read or write command (see Section 7.3.1 on page 197).
Troubleshooting and Support 8.3 Troubleshooting Charts The following pages contain several troubleshooting charts that can help you find the cause of problems users sometimes encounter. The charts assume that you are familiar with the camera’s features and settings and with the settings for your frame grabber. If you are not, we suggest you review the manuals for your camera and frame grabber before you troubleshoot a problem.
Troubleshooting and Support 8.3.1 No Image Use this chart if you see no image at all when you attempt to capture an image with your frame grabber (in this situation, you will usually get a message from the frame grabber such as “time-out”). If you see a poor quality image, a completely black image, or a completely white image, use the chart in Section 8.3.2 on page...
Page 220
Troubleshooting and Support Check to make sure that the RS-644 serial connection (see Section 2.9 on page is working correctly. You can do this by starting the Camera Configuration Tool Plus (CCT+). When you start the tool, a startup graphic should appear and then a window Go to the that shows a list of parameter settings should appear.
Troubleshooting and Support 8.3.2 Poor Quality Image Use this chart if the image is poor quality, is completely white, or is completely black. If you get no image at all when you attempt to capture an image with the frame grabber, use the chart that appears in Section 8.3.1 on page 209.
Troubleshooting and Support 8.3.3 Interfacing Use the interfacing troubleshooting chart if you think that there is a problem with the cables between your devices or if you have been directed here from another chart. Before making or breaking any camera connections, always switch off power to the system (camera and host PC).
Troubleshooting and Support 8.3.4 RS-644 Serial Communication Use the serial communication troubleshooting charts if you think that there is a problem with RS- 644 serial communication or if you have been directed here from another chart. Before making or breaking any camera connections, always switch off power to the system (camera and host PC).
Troubleshooting and Support 8.3.5 Before Calling Basler Technical Support To help you as quickly and efficiently as possible when you have a problem with a Basler camera, it is important that you collect several pieces of information before you contact Basler technical support.
Page 225
Troubleshooting and Support The camera’s product ID: The camera’s serial number: The operating system: Frame grabber that you use with the camera: CCT+ version that you use with the camera: Describe the problem in as much detail as possible: (If you need more space, use an extra sheet of paper.) If known, what’s the cause of the problem?
Page 226
Troubleshooting and Support How severe is the problem? Camera can still be used. Camera can be used after I take this action: Camera can no longer be used. Did your application ever run without problems? Parameter set It is very important for Basler technical support to get a copy of the exact camera parameters that you were using when the problem occurred.
Revision History Revision History Doc. ID Number Date Changes AW00016201000 5 Dec 2006 Draft version for review only. AW00016202000 1 Feb 2007 Preliminary version. Applies to prototypes only. AW00016203000 11 Jul 2007 First release covering production cameras. AW00016204000 25 Oct 2007 Updated the camera version ID number stated in Section 1.1 on page Updated the specification tables in Section 1.2 on...
Page 228
Revision History Doc. ID Number Date Changes (Continued from the previous page.) Added Table 11 on page 86, which describes the video data output modes available on each model. Updated Figure 35 on page 91 through Figure 40 on page 111 to reflect the sensor sizes available on the new camera models.
Page 229
Revision History Doc. ID Number Date Changes AW00016206000 12 Sep 2008 Integrated the 8k camera models. Updated contact addresses and phone numbers. Updated the camera version ID number in Section 1.1 on page Replaced "input power" by "camera power" in Section 1.7 on page Section 2 on page...
Page 230
Revision History Basler sprint Mono Cameras...
Feedback Feedback Your feedback will help us improve our documentation. Please click the link below to access an online feedback form. Your input is greatly appreciated. http://www.baslerweb.com/umfrage/survey.html Basler sprint Mono Cameras...
Index Index Numerics 2 tap video data output modes ....88 cleaning the sensor ......... 22 4 tap video data output modes ....96 clock speed, Camera Link ...... 35 8 tap video data output modes ....105 code samples ........204 configuration set control and status register ..........
Page 234
Index line acquisition modes ......39 dual line ..........41 firmware version inquiry register ...160 line averaging ........57 four tap video data output modes ...96 single line (max 70 kHz) ....40 FPGA status inquiry register ....162 time delayed line averaging ....58 free run ............71 time delayed line summing ....
Page 235
Index sensor cleaning ..........22 offset ............116 line location (2k, 4k cameras) ... 14 offset control and status register ...174 line location (8k cameras) ....18 operating recommendations ....61 positioning accuracy (2k and 4k output signals cameras) ........... 13 Camera Link clock ......35 positioning accuracy (8k cameras) ...
Page 236
Index vendor info inquiry register ....158 ventilation ..........19 vertical binning acquisition mode ....49 video data output mode control and status reg- ister ............166 video data output modes ......85 video data sequence 2 tap output modes ......89 4 tap output modes ......97 8 tap output modes ......105 weight 2k cameras .........2...