Page 2
Basler customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Basler for any damages resulting from such improper use or sale. Warranty Note...
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-7608 vc.support.usa@baslerweb.com Asia: Basler Asia Pte. Ltd...
DRAFT Introduction 1 Introduction The BASLER L301 line scan camera is a versatile camera designed for industrial use. Superb image sensing features are combined with a robust, high precision manufactured housing. Important features are: • Monochrome Tri-linear array • High responsivity •...
Minimum Line Rate 1 kHz Video Output Type Camera Link LVDS (RS-644 LVDS when used with the optional Basler Interface Converter for k cameras (k-BIC)) Video Output Formats Single 8 Bit, Single 10 Bit, Dual 8 Bit, Dual 10 Bit, or Triple 8 Bit...
50°C. Provide additional cooling such as fans or heat sinks if necessary. Warning! Without sufficient cooling, the camera can get hot enough during opera- tion to cause burning when touched. Basler L301k...
To clean the surface of the camera housing, use a soft, dry cloth. To remove severe stains, use a soft cloth dampened with a small quantity of neutral detergent, then wipe dry. Do not use volatile solvents such as benzine and thinners; they can damage the surface finish. Basler L301k...
A status LED located on the back of the camera is used to indicate power present and signal integrity. Figure shows the connectors and the LED. Micro-miniature 6 Pin Receptacle 26 Pin Female MDR Connector Figure 2-1: L301 Connectors and LED Basler L301k...
Pins 1, 13, 14, and 26 are all tied together inside of the camera. Table 2-1: L301 Pin Assignments for the 26-pin MDR Connector The camera housing is not grounded and is electrically isolated from the cir- cuit boards inside of the camera. Basler L301k...
7R-6PB) or the equivalent. The recommended mating connector is the Hirose micro-miniature locking plug (Part # HR10A-7P-6S). A plug of this type will be shipped with each camera. The plug should be used to terminate the cable on the power supply for the camera. Basler L301k...
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). Alternatively, you can use the cable assembly manufactured by 3M (part # 14X26-SZLB-XXX-0LC).
Page 17
DRAFT Camera Interface Figure 2-3: Camera / Frame Grabber Interface Basler L301k...
ExSync signal. When the camera is operating with an ExSync signal, three exposure time control modes are available: edge-controlled, level-controlled and programmable. For more detailed information on the three modes and recommendations for ExSync controlled operation, see Section 3.2. Basler L301k...
The available output modes are explained in more detail in Section 2.5.5. Table also shows the assignment for the line valid bit, the data valid bit and the pixel clock. These assignments are constant for all output modes. Basler L301k...
Page 20
Even Pixel Not Used Bit 7 DVAL TxIN26 RxOUT26 Data Valid LVAL TxIN24 RxOUT24 Line Valid Not Used TxIN23 RxOUT23 Connected to Ground. Not Used TxIN25 RxOUT25 Connected to Ground. PClk TxCLKIn RxCLKOut Pixel Clock Table 2-3: Bit Assignments Basler L301k...
This pattern will continue for 2098 cycles of the pixel clock as the data for the 2098 pixels in the lines is transmitted. • After the data for all 2098 pixels in the lines has been transmitted, the line valid bit will become low indicating that valid line data is no longer being transmitted. Basler L301k...
Page 22
This diagram assumes that the area of interest feature is not being used. With the area of interest feature enabled, the number of pixels transferred could be smaller. (see Section 3.8) TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 2-4: 20 MHz Triple 8 Bit Mode with Edge or Level Controlled Exposure Basler L301k 2-10...
Page 23
This diagram assumes that the area of interest feature is not being used. With the area of interest feature enabled, the number of pixels transferred could be smaller. (see Section 3.8) TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 2-5: 20 MHz Triple 8 Bit Mode with Programmable Exposure Basler L301k 2-11...
Page 24
____________________ The data sequence assumes that the camera is operating in 10 bit mode. If the camera is operating in 8 bit mode, only 8 bits of data per pixel will be transmitted. Basler L301k 2-12...
Page 25
This diagram assumes that the area of interest feature is not being used. With the area of interest feature enabled, the number of pixels transferred could be smaller. (see Section 3.8) TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 2-7: 60 MHz Single 10 Bit or Single 8 Bit Mode with Programmable Exposure Basler L301k 2-13...
Page 26
____________________ The data sequence assumes that the camera is operating in 10 bit mode. If the camera is operating in 8 bit mode, only 8 bits of data per pixel will be transmitted. Basler L301k 2-14...
Page 27
(see Section 3.8) TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 2-8: 40 MHz Dual 10 Bit Mode or Dual 8 Bit Mode with Edge or Level Controlled Exposure Basler L301k 2-15...
Page 28
This diagram assumes that the area of interest feature is not being used. With the area of interest feature enabled, the number of pixels transferred could be smaller. (see Section 3.8) TIMING CHARTS ARE NOT DRAWN TO SCALE Figure 2-9: 40 MHz Dual 10 Bit Mode or Dual 8 Bit Mode with Programmable Exposure Basler L301k 2-16...
However, a Camera Link cable which allows easy access to this signal is available from Basler as a stock item (part # 100013041 for a 3 meter cable and part # 100013042 for a 5 meter cable).
The serial port must have the following settings: 8N1 (8 data bits, no parity, 1 stop bit). If you are using the Basler Camera Configuration Tool Plus to configure the camera, the tool will detect the characteristics of the serial port on the frame grabber and will determine the appropriate settings so that the tool can open and use the port.
RS-232 serial communication via the host PC. The output from l301 cameras can be converted to the older style of output by using a Basler Interface Converter for k-series cameras (k-BIC). The k-BIC is a small device which attaches to the l301 with a Camera Link compatible cable.
2.9 Status LED The L301 has a status LED on the back of the camera. The LED is used to indicate that power is present and to indicate an error condition if one is detected. See Section for details. Basler L301k 2-20...
When information for the first pixel in all three lines is complete, the digitized video data is transmitted from the camera to the frame grabber using a format compatible with the Camera Link standard (see Section for details). For optimal digitization, gain and offset are programmable via a serial port. Basler L301k...
Page 34
Image Data Image Data Camera FIFO Link Sensor Transmitter Converter Control: Gain & Offset Line 3 Line 3 Readings Readings (amplified & digitized) (analog) FIFO Control: Gain & Offset Converter Control: Exp. Time, AOI Figure 3-2: L301 Block Diagram Basler L301k...
ExSync signal low time plus 1.76 µs. The line is read out and transferred on the rising edge of the ExSync signal (see Figure 3-4). Figure 3-4: ExSync, Level-controlled Mode Basler L301k...
• The ExSync signal must remain high for at least 0.35 µs. • There must be a minimum of 0.1 µs between the end of line transfer and readout of the next line (see Figures and 2-5). • The minimum exposure time is 1 µs. Basler L301k...
In this mode, the exposure time can be programmed as desired by varying the setting of the “Timer 1” parameter. Control Signal Period Internal Timer 2 Timer 1 Control Signal Exposure line read out Figure 3-7: Free-run, Programmable Mode Basler L301k...
The error condition can be cleared by lowering the line rate below the maximum and then reading the camera’s status. Reading the status resets the error condition. Basler L301k...
The characteristics of the signal are described in more detail in Section 2.5.6. In cases where flash exposure is required, the integrate enabled signal is useful as a flash trigger. Basler L301k...
This means that for a single exposure, each line in the sensor captures a different area on the object. Camera Sensor Object Passing Camera Figure 3-9: Field of View for Each Line Basler L301k...
Page 41
A, we must use information from three different line captures. This need to use information from three different line captures is known as spatial correction. Camera Sensor Area Object Passing Camera Movement Figure 3-10: A Single Point Captured on Three Different Exposures Basler L301k...
Page 42
A parameter called the Spatial Correction Starting Line is used to tell the camera how the image is crossing the sensor (see Section 3.5.5 for more information) Basler L301k 3-10...
The camera must not be set for test image one or for test image two. When either of these test images is active, the Spatial Correction Delay in Lines is automatically set to zero. This disables spatial correction. Basler L301k 3-11...
Figure 3-13. This situation will cause haloing that is perpendicular to the transport direction. The halos will vary in size and shading. Sensor Sensor Conveyor Conveyor Figure 3-13: Conveyor Travel Basler L301k 3-12...
Page 45
The shading chart in Figure 3-15 shows the halo shadings associated with different degrees of non-perpendicularity. These halos will be apparent at black-to-white transitions. Edge of Object Object Object Sensor Sensor 90° Conveyor Conveyor Figure 3-14: Sensor Perpendicularity Figure 3-15: Halo Shadings for Various Degrees of Non-perpendicularity Basler L301k 3-13...
Page 46
A telecentric setup usually requires high illumination. Sensor’s Sensor’s Sensor’s View View View Camera Sensor Transport Direction Transport Direction Transport Direction Figure 3-16: Sensor Rotated on its Long Axis Basler L301k 3-14...
Page 47
A telecentric setup usually requires high illumination. If the objects strongly differ in height and a telecentric setup is not used, haloing will be seen in the areas where sharp height gradients are present. Basler L301k 3-15...
A publication called the Optics Recommendation Guide and a spreadsheet called Makrocal.xls are available on Basler site (www.baslerweb.com/produkte/produkte_en_230.php). These publications provide guidance for selecting a lens and setting the distances on your system Basler L301k 3-16...
Page 49
Step 5- Make sure that the Spatial Correction Starting Line and the Spatial Correction Delay in Lines camera parameters (see Section 3.5.5) are set correctly. In this example, the starting line would be set to line one and the delay in lines to 8. Step 6 - Capture images Basler L301k 3-17...
Page 50
We must also consider that a change in magnification will result in a change in the conveyor width that is viewed by each sensor line. The calculations on the next page look at the outcomes of our two options. Basler L301k 3-18...
Page 51
314.87 mm. If you choose to use seven encoder steps to move the image 112 µm, you will require a magnification of 1:12.5 and at this magnification, the field of view of each sensor line will be Basler L301k 3-19...
Page 52
Step 5 - Make sure that the Spatial Correction Starting Line and the Spatial Correction Delay in Lines camera parameters (see Section 3.5.5) are set correctly. In this example, the starting line would be set to line three and the delay in lines to 7. Step 6 - Capture images Basler L301k 3-20...
With the Camera Configuration Tool Plus, you use the Spatial Correction Delay and Spatial Correction Starting line settings in the Output parameters group to set spatial correction. With binary commands, you use the Spatial Correction Delay in Lines and Spatial Correction Starting Line commands (see Sections 4.2.4.5 and 4.2.4.6). Basler L301k 3-21...
(minimum noise) and should be used if possible. moves the input signal up the measurement scale offset light intensity [µJ/cm Figure 3-21: Offset Because increasing gain increases both signal and noise, the signal to noise ratio does not change significantly when gain is increased. Basler L301k 3-22...
Gain and Offset parameter group to set the gain on each line. With binary commands, you use the Line 1 Gain, Line 2 Gain, and Line 3 Gain commands to set the gain on each line (see Sections 4.2.4.10, 4.2.4.12, and 4.2.4.14). Basler L301k 3-23...
Offset settings in the Gain and Offset parameter group to set the offset on each line. With binary commands, you use the Line 1 Offset, Line 2 Offset, and Line 3 Offset commands to set the offset on each line (see Sections 4.2.4.11, 4.2.4.13, and 4.2.4.15). Basler L301k 3-24...
Since the shift once setting requires that the least significant bit always be "0", no odd gray values can be output. For this reason, the gray value scale will only include gray values of 2, 4, 6 and so forth. The absence of some gray values is commonly called "Missing Codes”. Basler L301k 3-25...
Page 58
10 bit mode with no digital shift are all below 128. Since the shift three times setting requires that the three least significant bits always be "0", the gray value scale will only include every 8th gray value. For example, 8, 16, 24 and so forth. Basler L301k 3-26...
Note that if bit 9 is set to 1, all of the other bits will automatically be set to 1. This means that you should only use the shift once setting when your pixel readings in 8 bit mode with no digital shift are all below 128. Basler L301k 3-27...
Page 60
Since the shift three times setting requires that the least significant bit always be "0", no odd gray values can be output. For this reason, the gray value scale will only include gray values of 2, 4, 6 and so forth. Basler L301k 3-28...
• If all of the readings are below 64, you can safely use the 2X or 4X digital shift setting. • If all of the readings are below 32, you can safely use the 2X, 4X or 8X digital shift setting. Basler L301k 3-29...
ExSync Signal Line Valid Pixel Clock (20 MHz) Line 1 Data (8 bits) Line 2 Data (8 bits) Line 3 Data (8 bits) Figure 3-23: 20 MHz Triple 8 Bit Mode with Edge or Level Controlled Exposure Basler L301k 3-30...
Page 63
With the Camera Configuration Tool Plus, you use the AOI Starting Pixel and the AOI Length settings in the AOI parameter group to set the area of interest. With binary commands, you use the Area of Interest Starting Pixel and Area of Interest Length in Pixel commands (see Sections 4.2.4.8 and 4.2.4.9). Basler L301k 3-31...
If the camera is set for free-run, each cycle of the camera’s internal sync signal will trigger the out- put of a test image. [pixel values] [pixel numbers] Figure 3-25: Formation of the Test Image (8-bit mode) Basler L301k 3-32...
• When a test image is active, the gain, offset and exposure time have no effect on the image. • Digital shift makes the test image appear very light, therefore, digital shift should be disabled when the test image is active. Basler L301k 3-34...
With binary commands you use the Copy Work Set to User Set command, the Copy Factory Set or User Set to Work Set command, and the Select Startup Pointer command to manipulate configuration sets (see Sections 4.2.8.1 through 4.2.8.3). Basler L301k 3-35...
• with binary commands. You use the Camera Status command to check if the camera has detected any errors (see Section 4.2.9). • by checking the LED on the back of the camera. If certain error conditions are present, the LED will blink (see Section 6.1). Basler L301k 3-36...
You can also change the settings directly from your application using binary commands. Section lists the binary commands and provides instructions for their use. Basler L301k...
1. Make sure that the properties for the RS-644 serial port on your frame grabber are properly configured and that the camera has power. 2. On the desktop of your computer, click Start , click Programs , click Basler Vision Technolo- gies , click CCT+ , and then click CCT+ to start the CCT+ (default installation).
CCT+ is displaying the camera settings. To manually refresh the display, you can use the Refresh button in the top right corner of the tool. Basler L301k...
Work Set to a User Set, to Copy a User Set or the Factory Set to the Work Set, or to set the Startup Pointer. To access on-line help, press the F1 key whenever the configuration tool is active. Basler L301k...
The binary command protocol is fully implemented in the CPA driver. The CPA driver and a Programmers Guide for the driver are both part of Basler’s Classic Camera Configuration Tool. The Classic Configuration Tool can be downloaded from the Basler web site at www.basler-vc.com.
The block check character is the exclusive-or sum (XOR sum) of the bytes in the descriptor field and the data field. Identifies the end of the frame text Size = 1 Byte (The value of the ETX byte is always 0x03) Basler L301k...
Page 75
Configuring the Camera ACK/NAK Response Positive frame acknowledge/negative frame acknowledge Size = 1 byte (The value for a positive frame acknowledgement is 0x06 and for a negative frame acknowledgement is 0x15.) All values are formatted as little endian (Intel format). Basler L301k...
The cam- era does not perform a check to see if the data in the write command is within the allowed range or specified group of allowable values. Basler L301k...
Set to User Set 2, the data byte must be set to 0x02. 0x45 - is the block check character (BCC). See page 4-10 for instructions on calculating a BCC. 0x03 - is the ETX. The ETX is always 0x03. Basler L301k...
1 Byte Response: None Data Format: Byte 1 An ID that specifies the exposure mode (see the table below). Exposure Time Control Mode 0x00 Free-run, Programmable 0x02 Free-run, Edge-controlled 0x04 ExSync, Level-controlled 0x05 ExSync, Programmable 0x06 ExSync, Edge-controlled Basler L301k 4-12...
2 µs, the calculation will be as shown below: setting = 2 µs / 0.0625 µs setting = 32 In this case, the setting would be 32 (decimal) which translates to a hexadecimal setting of 0x000020. Basler L301k 4-13...
Page 82
4 µs, the calculation will be as shown below: setting = 4 µs / 0.0625 µs setting = 64 In this case, the setting would be 32 (decimal) which translates to a hexadecimal setting of 0x000040. Basler L301k 4-14...
Cmd-ID R/W-Flag Data Length Data 0xAE 1 Byte Response: None Data Format: Byte 1 An ID that specifies the spatial correction starting line (see the table below). Spatial Correction Starting Line 0x00 Line 1 0x01 Line 3 Basler L301k 4-16...
No digital shift 0x01 Digital shift once (multiplies output 2X) 0x02 Digital shift twice (multiplies output 4X) 0x03 Digital shift by three (multiplies output 8X) See Section 3.7.3 for precautions that you must consider when using digital shift. Basler L301k 4-17...
Low byte of the length in pixel setting Byte 2 High byte of the length in pixel setting Data Range: The length in pixel setting can range from 0x0001 to 0x0832 (= 1 pixel to 2098 pixels). Basler L301k 4-18...
Byte 1 Low byte of the line one offset setting Byte 2 High byte of the line one offset setting Data Range: The line one offset setting can range from 0x0000 to 0x00FF (max. 63.75 least significant bits). Basler L301k 4-19...
Byte 1 Low byte of the line two offset setting Byte 2 High byte of the line two offset setting Data Range: The line two offset setting can range from 0x0000 to 0x00FF (max. 63.75 least significant bits). Basler L301k 4-20...
Byte 1 Low byte of the line three offset setting Byte 2 High byte of the line three offset setting Data Range: The line three offset setting can range from 0x0000 to 0x00FF (max. 63.75 least significant bits). Basler L301k 4-21...
Type: This is a write only command. Write Command: Cmd-ID R/W-Flag Data Length Data 0x42 0x07, 0xCF Response: None Data Format: Byte 1 Low byte 0xCF is always used Byte 2 High byte 0x07 is always used Basler L301k 4-22...
Data Length Data 0x01 Response: Cmd-ID R/W-Flag Data Length Data 0x01 16 Bytes Data Format: Zero terminated string if less than 16 bytes are needed for the vendor information. Unterminated string if all 16 bytes are needed. Basler L301k 4-23...
Data Length Data 0x04 Response: Cmd-ID R/W-Flag Data Length Data 0x04 16 Bytes Data Format: Zero terminated string if less than 16 bytes are needed for the serial number information. Unterminated string if all 16 bytes are needed. Basler L301k 4-24...
This is a read only command. Read Command: Cmd-ID R/W-Flag Data Length Data 0x70 Response: Cmd-ID R/W-Flag Data Length Data 0x70 1 Bytes Data Format: Byte 1 The result is given in °C as an 8 bit signed number. Basler L301k 4-25...
User Set 7 0x08 User Set 8 0x09 User Set 9 0x0A User Set 10 0x0B User Set 11 0x0C User Set 12 0x0D User Set 13 0x0E User Set 14 0x0F User Set 15 0xFF No active set Basler L301k 4-26...
User Set 6 0x07 User Set 7 0x08 User Set 8 0x09 User Set 9 0x0A User Set 10 0x0B User Set 11 0x0C User Set 12 0x0D User Set 13 0x0E User Set 14 0x0F User Set 15 Basler L301k 4-27...
User Set 6 0x07 User Set 7 0x08 User Set 8 0x09 User Set 9 0x0A User Set 10 0x0B User Set 11 0x0C User Set 12 0x0D User Set 13 0x0E User Set 14 0x0F User Set 15 Basler L301k 4-28...
User set is erroneous Bit 5 Factory set is erroneous Bit 6 EEPROM checksum error (this is a checksum used to determine if the contents of the EEPROM are valid) Bit 7 No EEPROM command list available Basler L301k 4-29...
Note: The RS-644 serial port on some Camera Link frame grabbers will only sup- port a bitrate of 9600. If you are using a Camera Link frame grabber, check the grab- ber’s documentation before attempting to change the bitrate. Basler L301k 4-30...
M4 mounting holes on the front and two M4 mounting holes on each side as indicated in Figure 5-1. Caution! To avoid collecting dust on the sensor, mount a lens on the camera immediately after unpacking it. Basler L301k...
Page 100
DRAFT Mechanical Considerations Pixel 1 of the Sensor Drawings are not to scale. Figure 5-1: L301 Mechanical Dimensions (in mm) Basler L301k...
DRAFT Mechanical Considerations 5.2 F-Mount Adapter Dimensions F-Mount Adapter F-Mount Adapter on an L301k Drawings are not to scale. Figure 5-2: F-Mount Adapter Dimensions (in mm) Basler L301k...
Positioning accuracy of the sensor chip is as shown in Figure 5-3. Since translatory and rotational positioning tolerances depend on each other, the worst case of maximum rotational and horizontal/vertical mis-positioning cannot occur at the same time. Figure 5-3: Sensor Positioning Accuracy (in mm or degrees) Basler L301k...
Please contact Basler support. 8 blinks The FPGA could not be configured. Please contact Basler support. Table 6-1: Camera Status Indicators 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.
ExSync signal. Check the ExSync blinking signal or set the camera for Free- 3 pulses. run mode (See Section 3.2.2). Call Basler Technical Support No. It is for assistance. (The contact blinking numbers appear on the title 5, 6, 7 or 8 page of this manual.)
Page 105
The exposure time must be Correct chart. less than the ExSync period. setting. Is the exposure OK? Replace the camera. Go to the Switch on test image one. interfacing troubleshooting Can the test image be seen? chart. Replace the camera. Basler L301k...
Exit this chart. Exit this chart. 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.
After you finished making substitutions, is the problem still present? Check the configuration file that you are using with your frame grabber, e.g., the DCF or ICD file. Make sure that it is the correct file for the Basler L301k . Be aware that model sometimes different configuration files must be used depending on which of the camera’s...
(without a k-BIC) Always switch off power to the system before making or breaking any connection. The RS-644 port used by the L301k is located on the frame grabber. Check the documentation for your frame grabber. Make sure that you have installed...
Troubleshooting 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.
Page 110
7 If known, what’s the cause of the problem? 8 When did the problem occur? After start. While running. After a certain action (e.g., a change of parameters): 9 How often did/does the prob- Once. Every time. lem occur? Regularly when: Occasionally when: Basler L301k...
Page 111
12 Parameter set It is very important for Basler Technical Support to get a copy of the exact camera parame- ters that you were using when the problem occurred. To make a copy of the parameters, start the CCT+, select the File menu, and click Dump Current Settings to File.
Added Section showing the positioning of the sensor referenced to the side of the housing. Added Section that describes what information customers should gather before calling support. Added a ”Feedback” section. Basler L301k...
DRAFT Feedback Feedback Your feedback will help us improve our documentation. Please click the line below to access an online feedback form. Your input is greatly appreciated. http://www.baslerweb.com/umfrage/survey.html Basler L301k...
Need help?
Do you have a question about the L301k and is the answer not in the manual?
Questions and answers