Basler L400k User Manual

Summary of L400k

  • Page 1

    Basler l400k user’s manual document number: da000675 version: 10 language: 000 (english) release date: 16 february 2007 draft.

  • 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 protec- tion against harmful interference when the equipment is operated in a commercial ...

  • 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 vc.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-877-934-76...

  • Page 5: Draft

    Contents basler l400 k i draft table of contents 1 introduction 1.1 document applicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.2 camera models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 6: Draft

    Contents ii basler l400 k draft 3 operation and features 3.1 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 3.2 line rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 7: Draft

    Contents basler l400 k iii draft 3.10 test images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36 3.10.1 guidelines when using test images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36 3.10.2 enabling test images . . . . . ....

  • Page 8: Draft

    Contents iv basler l400 k draft 4.2.2 feature control and status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12 4.2.2.1 “raw” value fields vs. “absolute” value fields . . . . . . . . . . . . . . 4-12 4.2.2.2 feature control and status register details . . . . . . . . . . . ...

  • Page 9: Draft

    Contents basler l400 k v draft 6 troubleshooting 6.1 fault finding using the camera led . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 6.2 troubleshooting charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3 6.2.1 no image . ...

  • Page 10: Draft

    Contents vi basler l400 k draft.

  • Page 11: Draft

    Introduction basler l400 k 1-1 draft 1 introduction 1.1 document applicability this user’s manual applies to l401 k cameras with a camera version id number of 04 and to l402 k cameras with a camera version id number of 05. Cameras with a lower or a higher id number may have fewer features or have mo...

  • Page 12: Draft

    Introduction 1-2 basler l400 k draft 1.2 camera models l400 k series line scan cameras are available in different versions. As shown in table 1-1, the version depends on the line rate and output format. All models are monochrome. Throughout the manual, the camera will be called the l400 k . Passages...

  • Page 13: Draft

    Introduction basler l400 k 1-3 draft 1.3 performance specifications specifications l401 k l402 k sensor kodak kli-4104 linear ccd number of pixels 4080 pixel size 5.0 µm x 10.0 µm (10.0 µm pitch) fill factor 100% spectral response 350 - 1050 nm, peak at 660 nm (see figure 1-2 ) camera link pixel clo...

  • Page 14: Draft

    Introduction 1-4 basler l400 k draft 1.4 spectral response the spectral response for l400 k cameras is shown in figure 1-2. Figure 1-2: spectral response l to obtain the best performance regarding the camera’s blooming, smearing and dark signal non-uniformity characteristics, use of a dielectric ir ...

  • Page 15: Draft

    Introduction basler l400 k 1-5 draft 1.5 environmental requirements 1.5.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...

  • Page 16: Draft

    Introduction 1-6 basler l400 k draft 1.6 precautions power to ensure that your warranty remains in effect: read the manual read the manual carefully before using the camera. Keep foreign matter outside of the camera do not open the casing. Touching internal components may damage them. Be careful not...

  • Page 17: Draft

    Camera interface basler l400 k 2-1 draft 2 camera interface 2.1 connections 2.1.1 general description l400 k series cameras are interfaced to external circuitry via two connectors located on the back of the camera: • a 26-pin, 0.050 inch mini d ribbon (mdr) female connector used to transmit video da...

  • Page 18: Draft

    Camera interface 2-2 basler l400 k draft 2.1.2 pin assignments and pin numbering 26-pin mdr connector pin assignments the pin assignments for the 26-pin, mdr connector on the back of the camera are shown in table 2-1. Pin number signal name direction level function 15 tx x0+ output camera link lvds ...

  • Page 19: Draft

    Camera interface basler l400 k 2-3 draft 6-pin micro-miniature receptacle pin assignments the pin assignments for the 6-pin, micro-miniature receptacle on the back of the camera are shown in table 2-2. Pin number signal name direction level function 1, 2 1 12 v in input +12 vdc camera power input 3 ...

  • Page 20: Draft

    Camera interface 2-4 basler l400 k draft connector pin numbering figure 2-2 shows the pin numbering for the connectors on the back of the camera. Figure 2-2: pin numbering 2.1.3 connector types 26-pin connector the 26-pin connector on the camera is a female 0.050 inch mdr connector as called for in ...

  • Page 21: Draft

    Camera interface basler l400 k 2-5 draft 2.2 cable information 2.2.1 camera link cable a camera link compatible mdr cable assembly is available from basler as a stock item (part # 1000013041 for a 3 meter cable and part # 1000013042 for a 5 meter cable). As an alternate, you can use the cable assemb...

  • Page 22: Draft

    Camera interface 2-6 basler l400 k draft 2.3 camera link implementation in the l400k the schematic in figure 2-3 shows the interface for l400 k cameras and a typical implementation for the frame grabber interface. The l400 k uses a national semiconductor ds90cr285 as a camera link transmitter. For a...

  • Page 23: Draft

    Camera interface basler l400 k 2-7 draft figure 2-3: camera / frame grabber interface.

  • Page 24: Draft

    Camera interface 2-8 basler l400 k draft 2.4 input signals an external sync (exsync) signal is the only control signal that can be input into an l400 k camera. 2.4.1 exsync: controls line readout and exposure time the exsync input signal is used to control exposure time and line readout. The exsync ...

  • Page 25: Draft

    Camera interface basler l400 k 2-9 draft 2.5 output signals the camera’s output signals include a pixel clock, video data and video data qualifiers such as line valid and data valid. Sections 2.5.1 through 2.5.4 describe the output signals. 2.5.1 pixel clock as shown in figure 2-3 and in table 2-3 ,...

  • Page 26: Draft

    Camera interface 2-10 basler l400 k draft 2.5.4 video data table 2-3 lists the assignment of pixel data bits to the input ports on the transmitter in the camera and the corresponding output pins on the receiver in the frame grabber. These bit assignments comply with the camera link standard. As show...

  • Page 27: Draft

    Camera interface basler l400 k 2-11 draft port camera frame grabber dual 10 bit output mode dual 8 bit output mode dual sepa- rated 10 bit output mode dual sepa- rated 8 bit output mode port a0 txin0 rxout0 odd pixel bit 0 odd pixel bit 0 pixel a bit 0 pixel a bit 0 port a1 txin1 rxout1 odd pixel bi...

  • Page 28: Draft

    Camera interface 2-12 basler l400 k draft 2.5.5 l400k video data output modes l401 k cameras can operate in single 10 bit or single 8 bit output mode. L402 k cameras can operate in single 10 bit, single 8 bit, dual 10 bit, dual 8 bit, dual separated 10 bit or dual separated 8 bit output mode. 2.5.5....

  • Page 29: Draft

    Camera interface basler l400 k 2-13 draft figure 2-4 shows the data sequence when the camera is operating in edge-controlled or level- controlled exposure mode. Figure 2-5 shows the data sequence when the camera is operating in programmable exposure mode. Figure 2-4: l400 k single 10 or 8 bit output...

  • Page 30: Draft

    Camera interface 2-14 basler l400 k draft 2.5.5.2 operation in dual output mode (10 or 8 bit depth) (l402k only) in dual 10 bit mode on the l402 k , the camera link pixel clock operates at 30 mhz. On each clock cycle, the camera transmits data for two pixels at 10 bit depth, a line valid bit and a d...

  • Page 31: Draft

    Camera interface basler l400 k 2-15 draft figure 2-6: l402 k dual 10 or 8 bit output mode with edge or level-controlled exposure odd pixel data (10 or 8 bits) 9 13 1 5 data valid n - 1 n - 5 n - 9 n - 13 pixel clock even pixel data (10 or 8 bits) 10 14 2 6 n - 4 n - 8 n - 12 n n = 4080 exsync signal...

  • Page 32: Draft

    Camera interface 2-16 basler l400 k draft figure 2-7: l402 k dual 10 bit or dual 8 bit output mode with programmable exposure odd pixel data (10 or 8 bits) 9 13 1 5 n - 1 n - 5 n - 9 n - 13 pixel clock even pixel data (10 or 8 bits) 10 14 2 6 n - 4 n - 8 n - 12 n n = 4080 3 7 11 4 8 12 n - 3 n - 7 n...

  • Page 33: Draft

    Camera interface basler l400 k 2-17 draft 2.5.5.3 operation in dual separated output mode (10 or 8 bit depth) (l402k only) the dual separated output mode is intended for frame grabbers accepting video data that is directly transmitted from the camera without reordering. In dual separated 10 bit mode...

  • Page 34: Draft

    Camera interface 2-18 basler l400 k draft figure 2-8: l402 k dual separated 10 or 8 bit output mode with edge or level-controlled exposure pixel a data (10 or 8 bits) 5 7 1 3 data valid pixel clock pixel b data (10 or 8 bits) n-4 n-6 n n-2 n = 4080 exsync signal 4.1 µs 2 4 6 n-1 n-3 n-5 n/2 n/2 - 2 ...

  • Page 35: Draft

    Camera interface basler l400 k 2-19 draft figure 2-9: l402 k dual separated 10 bit or dual 8 bit output mode with programmable exposure pixel a data (10 or 8 bits) 5 7 1 3 n/2 n/2 - 2 n/2 - 4 n/2 - 6 pixel clock pixel b data (10 or 8 bits) n-4 n-6 n n-2 n/2 + 3 n/2 + 5 n = 4080 2 4 6 n-1 n-3 n-5 n/2...

  • Page 36: Draft

    Camera interface 2-20 basler l400 k draft 2.5.6 integrate enabled signal an rs-644 lvds output signal called integrate enabled (inten) is available on l400 k cameras. The integrate enabled signal indicates that an exposure is taking place. The signal will go high when each exposure begins and go low...

  • Page 37: Draft

    Camera interface basler l400 k 2-21 draft 2.6 rs-644 serial communication the l400 k is equipped for rs-644 serial communication via 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 chang...

  • Page 38: Draft

    Camera interface 2-22 basler l400 k draft 2.7 converting camera link output to rs-644 with a k-bic on the l400 k , video data is output from the camera in camera link lvds format and parameter change commands are issued to the camera using rs-644 serial communication via the frame grabber. On older ...

  • Page 39: Draft

    Operation and features basler l400 k 3-1 draft 3 operation and features 3.1 functional description basler l400 k line scan cameras employ a ccd-sensor chip which provides features such as electronic exposure time control and area of interest scanning. Exposure time can be controlled via an external ...

  • Page 40: Draft

    Operation and features 3-2 basler l400 k draft figure 3-1: l400 k sensor architecture 3.2 line rate the camera’s maximum achievable line rate depends on the following factors: • video data output mode (section 3.3 ) • exposure time (section 3.4 ) • use of two-line averaging (section 3.9.3 ) l for si...

  • Page 41: Draft

    Operation and features basler l400 k 3-3 draft 3.3 video data output modes l400 k cameras can output video data in different modes: • single 8 bit mode • single 10 bit mode • dual 8 bit mode (l402 k only) • dual 10 bit mode (l402 k only) • dual separated 8 bit mode (l402 k only) • dual separated 10 ...

  • Page 42: Draft

    Operation and features 3-4 basler l400 k draft 3.4 exposure time control modes l400 k series cameras can operate under the control of an external trigger signal (exsync) or can operate in “free-run.” in free-run, the camera generates its own internal control signal and does not require an exsync sig...

  • Page 43: Draft

    Operation and features basler l400 k 3-5 draft • in exsync, programmable mode, the rising edge of exsync triggers exposure and charge accumulation for a pre-programmed period of time. The line is read out and transferred at the end of the pre-programmed period. The falling edge of exsync is irreleva...

  • Page 44: Draft

    Operation and features 3-6 basler l400 k draft 3.4.1.3 guidelines when using an exsync signal when using an exsync signal to control exposure, several general guidelines must be followed: • the exsync signal must toggle. • the exsync signal period must not be lower than a defined minimum. The minimu...

  • Page 45: Draft

    Operation and features basler l400 k 3-7 draft start delay = transfer gate time + setup time exposure end delay when an exposure is triggered by the exsync signal, the actual end of exposure will be delayed. (this is commonly referred to as an exposure end delay.) the exposure end delay includes two...

  • Page 46: Draft

    Operation and features 3-8 basler l400 k draft 3.4.2 free run 3.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 inte...

  • Page 47: Draft

    Operation and features basler l400 k 3-9 draft • in free-run, programmable mode, the pixels are exposed and charge is accumulated when the internal control signal is low. The line is read out and transferred on the rising edge of the internal control signal (see figure 3-6). In this mode, the line p...

  • Page 48: Draft

    Operation and features 3-10 basler l400 k draft 3.4.2.3 guidelines when using free-run when using free-run mode to control exposure, several general guidelines must be followed: • the line period must not be lower than the minimums shown in table 3-4. • in the free-run programmable mode, the minimum...

  • Page 49: Draft

    Operation and features basler l400 k 3-11 draft 3.6 gain and offset 3.6.1 gain gain on l400 k cameras is adjustable within a range from -3.00 db to +20.00 db in increments of 0.01 db. As shown in the graphs in figure 3-7, increasing the gain setting increases the slope of the camera’s response curve...

  • Page 50: Draft

    Operation and features 3-12 basler l400 k draft 3.6.1.1 setting the gain you can set the gain 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 se...

  • Page 51: Draft

    Operation and features basler l400 k 3-13 draft 3.6.2 gain balance as mentioned in section 3.1 , the pixels in the left half of the ccd sensor and the pixels in the right half of the ccd sensor are processed through two different electronic channels. When you change the global gain setting as descri...

  • Page 52: Draft

    Operation and features 3-14 basler l400 k draft 3.6.3 offset when the camera is set for 8 bit output, offset is adjustable within a range from -200.0 to +200.0 dn (digital numbers) in increments of 0.5 dn. When the camera is set for 10 bit output, the range is from -800.0 to +800.0 dn and is adjusta...

  • Page 53: Draft

    Operation and features basler l400 k 3-15 draft 3.6.4.1 setting the offset balance you can set the offset balance 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+ w...

  • Page 54: Draft

    Operation and features 3-16 basler l400 k draft 3.6.5 clipping if the gain and offset on an l400 k camera are set incorrectly, “high clipping” or “low clipping” can occur. High clipping is caused when the combination of gain and offset is set so that the range of light level data in the scene being ...

  • Page 55: Draft

    Operation and features basler l400 k 3-17 draft 3.7 area of interest (aoi) the area of interest feature lets you specify a portion of the ccd array and during operation, only the pixel information from the specified portion of the array is signaled as valid to the frame grabber. Pixels outside of th...

  • Page 56: Draft

    Operation and features 3-18 basler l400 k draft figure 3-11: aoi output on an l401k with edge or level controlled exposure figure 3-12: aoi output on an l402k with edge or level controlled exposure.

  • Page 57: Draft

    Operation and features basler l400 k 3-19 draft 3.7.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 sectio...

  • Page 58: Draft

    Operation and features 3-20 basler l400 k draft 3.8 stamp the stamp feature provides the user with information about each captured line such as the sum of the pixel values in the line and the contrast value of the line. When the stamp feature is enabled, 16 extra “stamp pixels” are added to the end ...

  • Page 59: Draft

    Operation and features basler l400 k 3-21 draft figure 3-14: stamp pixels on an l402k with edge or level controlled exposure.

  • Page 60: Draft

    Operation and features 3-22 basler l400 k draft if the stamp feature is used together with the aoi (see section 3.7 ) feature, the stamp pixels are transmitted immediately after the last pixel in the aoi as shown in figure 3-15. The figure illustrates what you would see if the aoi was set for a star...

  • Page 61: Draft

    Operation and features basler l400 k 3-23 draft stamp pixels s1 and s2 stamp pixels s1 and s2 are fixed values of 0xaa and 0x55 respectively. These two values are the bitwise complement of each other and can be used as a data integrity check. They can also be used to find the start of the stamp pixe...

  • Page 62: Draft

    Operation and features 3-24 basler l400 k draft the total high pixel and total low pixel values are useful if you want to perform automatic gain control from within your camera control software application. If you find that the total low pixel values are increasing over a period of time, an increase...

  • Page 63: Draft

    Operation and features basler l400 k 3-25 draft 3.9 image enhancements 3.9.1 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 variati...

  • Page 64: Draft

    Operation and features 3-26 basler l400 k draft 4. The camera must capture at least 16 lines to create a set of dsnu shading correction values. If your camera is set to control exposure with an exsync signal, you must generate at least 16 exsync signal cycles after you signal the camera to begin gen...

  • Page 65: Draft

    Operation and features basler l400 k 3-27 draft with the cct+ with the cct+ (see section 4.1 ), you use the shading mode parameter in the image enhancement parameters group to enable dsnu shading correction. By setting csrs you enable dsnu shading correction by writing a value to the mode field of t...

  • Page 66: Draft

    Operation and features 3-28 basler l400 k draft 5. Signal the camera to generate a set of prnu shading values: a) you can start the generation of a set of prnu shading values with the camera configuration tool plus (see section 4.1 ). With the cct+, you use the shading value generate parameter in th...

  • Page 67: Draft

    Operation and features basler l400 k 3-29 draft 7. Once 16 lines have been captured, the camera calculates the prnu shading correction values: a) the camera uses the data from the 16 captured lines to calculate an average gray value for each pixel in the line. B) the camera finds the pixel with the ...

  • Page 68: Draft

    Operation and features 3-30 basler l400 k draft saving a set of shading values to a file you can save the dsnu and prnu shading values currently in the volatile memory to a file in the non-volatile memory with the camera configuration tool plus (cct+) or by using binary read/ write commands from wit...

  • Page 69: Draft

    Operation and features basler l400 k 3-31 draft 3.9.2 dark noise cancellation when the camera is used at very low line rates or with long idle times, a sensor characteristic known as “dark current” causes extraneous charges to accumulate in the pixels during the time between exposures. This accumula...

  • Page 70: Draft

    Operation and features 3-32 basler l400 k draft as mentioned above, the dark noise cancellation feature has no effect in edge-controlled mode. If you work in edge-controlled mode and enable the dark noise cancellation feature, you will see no image enhancement but a slight delay in both the start an...

  • Page 71: Draft

    Operation and features basler l400 k 3-33 draft 3.9.3 two-line averaging with the two-line averaging feature, gray values from two line captures are averaged and reported out as a single line. The feature is designed to increase the signal-to-noise ratio for applications that require only half of th...

  • Page 72: Draft

    Operation and features 3-34 basler l400 k draft f igur e 3- 17 : dat a output with t w o -lin e a v e ra g ing (sing le ou tp ut m ode ) when the aoi and s tamp fea tures are u s ed, n cou ld be more or less than 4080 ( s e e sections 3.7 and 3. 8 ). When dua l or dual se p a rate d ou tput mode is ...

  • Page 73: Draft

    Operation and features basler l400 k 3-35 draft 3.9.3.2 changes to the maximum line rate use of the two-line averaging feature has an effect on the camera’s maximum achievable line rate. See section 3.4 . 3.9.3.3 enabling/disabling two-line averaging you can enable or disable two-line averaging with...

  • Page 74: Draft

    Operation and features 3-36 basler l400 k draft 3.10 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 cable. Test images are especially useful for service purposes and for failure diagnostics. In test mode, the ...

  • Page 75: Draft

    Operation and features basler l400 k 3-37 draft 3.10.3 test image one (fixed gradient) test image one is formed with an odd/even gray scale gradient that ranges from 0 to 255 and re- peats every 512 pixels as shown in figure 3-18. The odd pixel gradient starts at 0 and steps up, that is, the gray va...

  • Page 76: Draft

    Operation and features 3-38 basler l400 k draft 3.10.4 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 3-20. The gradient starts at 0 and steps up, that is, the gray value of pixel 1 is 0, ...

  • Page 77: Draft

    Operation and features basler l400 k 3-39 draft 3.10.5 test image three (uniform black) in test image three, all pixels will have a value of 0 whether the camera is set for an 8 bit output mode or for a 10 bit output mode. Test image three should always appear as a uniform, black image. Test image t...

  • Page 78: Draft

    Operation and features 3-40 basler l400 k draft 3.11 error condition detection 3.11.1 overvoltage condition detected l400 k cameras have overvoltage protection. If an input voltage greater than 14.5 vdc is applied to the camera, the camera will automatically switch off the internal power applied to ...

  • Page 79: Draft

    Operation and features basler l400 k 3-41 draft 3.11.2 identical dark images indicate a parameter error if the camera detects that a parameter error is present, it will automatically switch into a mode where it outputs identical dark images. In this mode, all of the pixel values in each line will be...

  • Page 80: Draft

    Operation and features 3-42 basler l400 k draft 3.14 resetting the camera you can initiate a camera reset 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). A reset is the equivale...

  • Page 81: Draft

    Operation and features basler l400 k 3-43 draft 3.15 configuration sets a configuration set is a set of values that contains all of the parameters needed to control the camera. There are two basic types of configuration sets: the work configuration set and the factory configuration set. Work configu...

  • Page 82: Draft

    Operation and features 3-44 basler l400 k draft 3.15.2 “activating” a saved user set file as explained in section 3.15.1 , you can save configuration sets to files in the camera’s non- volatile memory. These saved configuration set files are commonly referred to as “user configuration sets” or “user...

  • Page 83: Draft

    Operation and features basler l400 k 3-45 draft 3.15.3 “activating” the factory set file as explained on page 3-43 , 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-vola...

  • Page 84: Draft

    Operation and features 3-46 basler l400 k draft 3.15.5 downloading a saved user set file to your pc or uploading a saved user set file from your pc once you have saved a user set to a file in the camera’s non-volatile memory, you can download the saved file to your pc. Any user set file that you hav...

  • Page 85: Draft

    Configuring the camera basler l400 k 4-1 draft 4 configuring the camera l400 k cameras come 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 m...

  • Page 86: Draft

    Configuring the camera 4-2 basler l400 k draft 4.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 tool communicates via the rs-644 serial connectio...

  • Page 87: Draft

    Configuring the camera basler l400 k 4-3 draft 4.1.3 configuration tool basics the volatile (ram) memory in the camera contains the parameter settings that control the current operation of the camera. This group of parameter settings in the volatile memory is known as the work configuration set or “...

  • Page 88: Draft

    Configuring the camera 4-4 basler l400 k draft 4.1.4 configuration tool help the cct+ includes a complete on-line help file which explains how to change parameter settings. It also explains how to copy the work set to a saved user set file and how to copy a saved user set file or the factory set fil...

  • Page 89: Draft

    Configuring the camera basler l400 k 4-5 draft 4.2 configuring the camera by setting registers l400 k cameras have 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 p...

  • Page 90: Draft

    Configuring the camera 4-6 basler l400 k draft 4.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 s...

  • Page 91: Draft

    Configuring the camera basler l400 k 4-7 draft product id inquiry serial number inquiry camera version 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 regis...

  • Page 92: Draft

    Configuring the camera 4-8 basler l400 k draft microcontroller firmware version inquiry fpga firmware version inquiry fpga configuration version inquiry register base address: 0x0700 field name: register status offset: 0x0000 size: 1 byte type: read only description: the integer value in this field ...

  • Page 93: Draft

    Configuring the camera basler l400 k 4-9 draft 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:...

  • Page 94: Draft

    Configuring the camera 4-10 basler l400 k draft 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. ...

  • Page 95: Draft

    Configuring the camera basler l400 k 4-11 draft 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 a...

  • Page 96: Draft

    Configuring the camera 4-12 basler l400 k draft 4.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...

  • Page 97: Draft

    Configuring the camera basler l400 k 4-13 draft 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 -3.00 to +20.00 (decimal) in increments of 0.01. Writing a floating point value to the absolute regis...

  • Page 98: Draft

    Configuring the camera 4-14 basler l400 k draft 4.2.2.2 feature control and status register details exposure time control mode csr 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 expo...

  • Page 99: Draft

    Configuring the camera basler l400 k 4-15 draft field name: absolute min offset: 0x0005 size: 4 bytes type: read only description: minimum allowed floating point value for the absolute exposure time setting. This field is updated to reflect limitations caused by the way any related features are set....

  • Page 100: Draft

    Configuring the camera 4-16 basler l400 k draft 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. Refer to section 4.2.2.1 for an explanation of the difference between thes...

  • Page 101: Draft

    Configuring the camera basler l400 k 4-17 draft video data output mode csr field name: raw min offset: 0x0011 size: 4 bytes type: read only description: minimum allowed integer value for the raw line period setting. The 4 bytes in this field are interpreted as follows: byte 1 = low byte of the min v...

  • Page 102: Draft

    Configuring the camera 4-18 basler l400 k draft 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. Refer to section 4.2.2.1 for an explanation of the difference between these two fields. Register base ...

  • Page 103: Draft

    Configuring the camera basler l400 k 4-19 draft field name: raw min offset: 0x000f size: 2 bytes type: read only description: minimum allowed integer value for the raw gain setting. The 2 bytes in this field are interpreted as follows: byte 1 = low byte of the min value byte 2 = high byte of the min...

  • Page 104: Draft

    Configuring the camera 4-20 basler l400 k draft gain balance csr note: the gain balance can be set by writing a floating point value to the absolute gain balance field or by writing an integer value to the raw gain balance field. Refer to section 4.2.2.1 for an explanation of the difference between ...

  • Page 105: Draft

    Configuring the camera basler l400 k 4-21 draft field name: raw min offset: 0x000f size: 2 bytes type: read only description: minimum allowed integer value for the raw gain balance setting. The 2 bytes in this field are interpreted as follows: byte 1 = low byte of the min value byte 2 = high byte of...

  • Page 106: Draft

    Configuring the camera 4-22 basler l400 k draft 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. Refer to section 4.2.2.1 for an explanation of the difference between these two fields. Regist...

  • Page 107: Draft

    Configuring the camera basler l400 k 4-23 draft field name: raw min offset: 0x000f size: 2 bytes type: read only description: minimum allowed integer value for the raw offset setting. The 2 bytes in this field are interpreted as follows: byte 1 = low byte of the min value byte 2 = high byte of the m...

  • Page 108: Draft

    Configuring the camera 4-24 basler l400 k draft offset balance csr note: the offset balance can be set by writing a floating point value to the absolute offset balance field or by writing an integer value to the raw offset balance field. Refer to section 4.2.2.1 for an explanation of the difference ...

  • Page 109: Draft

    Configuring the camera basler l400 k 4-25 draft field name: raw min offset: 0x000f size: 2 bytes type: read only description: minimum allowed integer value for the raw offset balance setting. The 2 bytes in this field are interpreted as follows: byte 1 = low byte of the min value byte 2 = high byte ...

  • Page 110: Draft

    Configuring the camera 4-26 basler l400 k draft 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 register: 0x00 = the register is...

  • Page 111: Draft

    Configuring the camera basler l400 k 4-27 draft 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 register: 0x00 = the register is not ava...

  • Page 112: Draft

    Configuring the camera 4-28 basler l400 k draft 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 register: 0x00 = the register is not available 0x01 =...

  • Page 113: Draft

    Configuring the camera basler l400 k 4-29 draft 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 register: 0x00 = the register is not avail...

  • Page 114: Draft

    Configuring the camera 4-30 basler l400 k draft 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 register: 0x00 = the register is not ...

  • Page 115: Draft

    Configuring the camera basler l400 k 4-31 draft shading mode csr shading value generate 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 register: 0x00 = the reg...

  • Page 116: Draft

    Configuring the camera 4-32 basler l400 k draft dark noise cancellation mode csr two-line averaging csr register base address: 0x1480 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 register: 0x...

  • Page 117: Draft

    Configuring the camera basler l400 k 4-33 draft test image mode csr camera reset 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 register: 0x00 = the register i...

  • Page 118: Draft

    Configuring the camera 4-34 basler l400 k draft 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 ...

  • Page 119: Draft

    Configuring the camera basler l400 k 4-35 draft 4.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 3.15 ) is an example of one type of bulk data. A single configuration s...

  • Page 120: Draft

    Configuring the camera 4-36 basler l400 k draft 4.2.3.1 using bulk data csrs to work with bulk data saving a configuration set as mentioned in section 3.15 , the work configuration set resides in the camera’s volatile memory. Assume that you want to save the values in the current work set to a file ...

  • Page 121: Draft

    Configuring the camera basler l400 k 4-37 draft activating a saved configuration set file the process of “activating” a saved configuration set file, accomplishes two things: • it copies the values from the saved file into the camera’s volatile memory. This means that the values will now be actively...

  • Page 122: Draft

    Configuring the camera 4-38 basler l400 k draft enumerating saved bulk data files bulk data file enumeration allows you to look through a list of existing saved bulk data files. As an example, assume that you want to see a list of all of the existing saved configuration set files. To do so, you woul...

  • Page 123: Draft

    Configuring the camera basler l400 k 4-39 draft downloading a saved bulk data file from the camera to a pc you can download an existing saved bulk data file from the camera’s non-volatile memory to your host pc. As an example, assume that the camera has an existing saved configuration set file named...

  • Page 124: Draft

    Configuring the camera 4-40 basler l400 k draft 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. ...

  • Page 125: Draft

    Configuring the camera basler l400 k 4-41 draft 4.2.3.2 bulk data control and status register details configuration set csr see section 4.2.3.1 for information about using bulk data control registers. Register base address: 0x2800 field name: register status offset: 0x0000 size: 1 byte type: read on...

  • Page 126: Draft

    Configuring the camera 4-42 basler l400 k draft shading value csr see section 4.2.3.1 for information about using 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 ...

  • Page 127: Draft

    Configuring the camera basler l400 k 4-43 draft 4.3 using binary read/write commands on the l400k as explained in section 4.2 , each l400 k 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, th...

  • Page 128: Draft

    Configuring the camera 4-44 basler l400 k draft 4.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 t...

  • Page 129: Draft

    Configuring the camera basler l400 k 4-45 draft the value in the opcode portion of the ftf field defines the function of the binary com- mand, that is, whether it is a read command or a write command. The following opcodes are available: the bcc-code portion of the ftf field indicates the presence o...

  • Page 130: Draft

    Configuring the camera 4-46 basler l400 k draft 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 pos...

  • Page 131: Draft

    Configuring the camera basler l400 k 4-47 draft 4.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 ...

  • Page 132: Draft

    Configuring the camera 4-48 basler l400 k draft 4.3.2 basic read/write command explanations 4.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 4-33 ). The intent of this section...

  • Page 133: Draft

    Configuring the camera basler l400 k 4-49 draft 4.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 4-33 ). The intent of this section is to give you a basic u...

  • Page 134: Draft

    Configuring the camera 4-50 basler l400 k draft 4.3.2.3 calculating the block check character the use of a block check character (bcc) in l400 k commands is optional (see pages 4-44 and 4-45 ). If you choose to use a bcc, the bcc will be the exclusive-or sum (xor sum) of the bytes in the ftf field, ...

  • Page 135: Draft

    Configuring the camera basler l400 k 4-51 draft 4.4 binary command sample code sample code that illustrates how to use binary commands with l400 k cameras is available at the basler web site. Please look for the documentation downloads on the l400 page at: http://www.Basler-vc.Com.

  • Page 136: Draft

    Configuring the camera 4-52 basler l400 k draft.

  • Page 137: Draft

    Mechanical considerations basler l400 k 5-1 draft 5 mechanical considerations the l400 k camera housing is manufactured with high precision. Planar, parallel and angular sides guarantee precise mounting with high repeatability. Caution! The camera is shipped with a cap on the lens mount. To avoid co...

  • Page 138: Draft

    Mechanical considerations 5-2 basler l400 k draft 5.1 camera dimensions and mounting facilities the dimensions for l400 k cameras are as shown in figure 5-1 . L400 k cameras are equipped with four m4 mounting holes on the front and two m4 mounting holes on each side as indicated in the drawings. Fig...

  • Page 139: Draft

    Mechanical considerations basler l400 k 5-3 draft 5.2 sensor positioning accuracy the sensor positioning accuracy is as shown in figure 5-2. Figure 5-2: sensor positioning accuracy (in mm or degrees).

  • Page 140: Draft

    Mechanical considerations 5-4 basler l400 k draft 5.3 sensor line location the location of the sensor line on the sensor chip is as shown in figure 5-3. Figure 5-3: sensor line location.

  • Page 141: Draft

    Mechanical considerations basler l400 k 5-5 draft 5.4 f-mount adapter dimensions figure 5-4: f-mount adapter dimensions (in mm).

  • Page 142: Draft

    Mechanical considerations 5-6 basler l400 k draft.

  • Page 143: Draft

    Troubleshooting basler l400 k 6-1 draft 6 troubleshooting 6.1 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...

  • Page 144: Draft

    Troubleshooting 6-2 basler l400 k draft if the status led on the back of the camera is not lit, it means that power to the camera is not present or is less than 10.8 volts. Repeated pattern of 6 slow orange flashe s an erroneous parameter set has been loaded. Load another parameter set. 4 repeated p...

  • Page 145: Draft

    Troubleshooting basler l400 k 6-3 draft 6.2 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 ...

  • Page 146: Draft

    Troubleshooting 6-4 basler l400 k draft check the setup on your frame grabber and make sure that the exsync signal is not too short. The period of the exsync signal must not be lower than lower than the minimum shown in table 3-1 . (on many frame grabbers, the period of the exsync signal is adjusted...

  • Page 147: Draft

    Troubleshooting basler l400 k 6-5 draft 6.2.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 6.2.1 . Go to the i...

  • Page 148: Draft

    Troubleshooting 6-6 basler l400 k draft contact basler technical support. The contact numbers appear on the title page of this manual. Before you call for support, be sure to make note of the camera settings and the frame grabber settings you are using. You should also have a captured live image and...

  • Page 149: Draft

    Troubleshooting basler l400 k 6-7 draft 6.2.3 interfacing use the interfacing troubleshooting charts if you think that there is a problem with the cables between your devices or if you have been directed here from another chart. Interfacing chart always switch off power to the system before making o...

  • Page 150: Draft

    Troubleshooting 6-8 basler l400 k draft 6.2.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. The rs-644 port used by the l400 k is located on ...

  • Page 151: Draft

    Troubleshooting basler l400 k 6-9 draft 6.3 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 technical support. Copy the form that...

  • Page 152: Draft

    Troubleshooting 6-10 basler l400 k draft 9 how often did/does the prob- lem occur? Once. Every time. Regularly when: occasionally when: 10 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. 11 did your application ever run ...

  • Page 153: Draft

    Revision history basler l400 k i draft revision history doc. Id number date changes da00067501 4 june 2004 initial release of the user’s manual. This is a preliminary version. Da00067502 2 august 2004 initial release of the completed user’s manual. Da00067503 17 august 2004 added clarifications to t...

  • Page 154: Draft

    Revision history ii basler l400 k draft da00067508 12 july 2005 updated the camera version in section 1.1 . Added new single tap video data output mode for l402 k cameras to: • section 1.2 • section 1.3 • section 2.5.5 • introduction in section 3 • introduction in section 3.3 • section 3.3.2 • secti...

  • Page 155: Draft

    Feedback basler l400 k iii draft 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.

  • Page 156: Draft

    Feedback iv basler l400 k draft.

  • Page 157: Draft

    Index basler l400 k v draft index a absolute value fields in csrs. . . . . . . . . . . . . . . 4-12 area of interest . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17 b bic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22 binary commands basic examples . . . . . . . ...

  • Page 158: Draft

    Index vi basler l400 k draft m mounting facilities . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 o offset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14 offset balance . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14 output modes dual separated tap . . . . ...