Frame structure: STX (0x02)+2-byte descriptor (command ID, read-write flag, data length)+data+BCC checksum+ETX (0x03)
Verification method: XOR checksum of descriptor and data byte
Response: ACK (0x06) or NAK (0x15); Read command returns data frame
Typical Command Example (Read Camera Status): 0x02, 0x43, 0x82, 0xC1, 0x03
Section 4.2 of the manual provides a detailed list of all configuration commands (output mode, exposure mode, Timer settings, gain/bias, etc.) AOI、 Command IDs and data formats for spatial correction, digital shift, test images, configuration set operations, etc.
Troubleshooting and LED status indication
The LED on the back of the camera provides quick diagnosis:
Meaning of LED status
Always bright orange and running normally
Flashing 3 times, ExSync signal remains unchanged for 5 seconds (normal if not wired)
Flashing 5 times, Work Set cannot be saved to User Set
Flashing 6 times, the User Set or Factory Set cannot be loaded into the Work Set
Flashing the command list 7 times is invalid
Flash FPGA configuration failed 8 times
Common problem handling process:
No image: Check the power supply (12V ± 10%,>10.8V), Camera Link cable, ExSync signal (if used), and acquisition card configuration.
Poor image quality (color cast/ghosting): Check spatial correction parameters (number of delay lines/starting line), IR filter (filtering out>700nm infrared), mechanical installation (parallelism and perpendicularity between sensor and conveyor belt), and encoder signal stability.
Serial communication failure: Check if the baud rate (default 9600), frame format (8N1), and frame acquisition card DLL exist.
Mechanical installation and precautions
Installation dimensions: 62mm × 62mm × 38.1mm (excluding adapter), with 4 M4 mounting holes on the front end and 2 M4 holes on each side.
Sensor positioning accuracy: horizontal/vertical deviation ± 0.1mm, rotation deviation ± 0.2 °.
F-port adapter: Extend the total length to 69.6mm.
Important Warning:
Immediately install the lens after powering on to prevent dust from contaminating the sensor.
The polarity of the power supply cannot be reversed (PIN1/2 is+12V, PIN5/6 is GND), and there is no overvoltage protection (>14V damage).
The casing is not grounded, and the circuit board is isolated from the casing.
It is recommended to use an IR cut-off filter (such as B+W486) to maintain spectral balance.
Suggestions for replacement and upgrade
Considering that L301kc has been discontinued, if replacement or upgrade is required, the following path can be considered:
Basler racer series (such as raL2048-48gm): GigE interface, 2048 pixels, supports spatial correction, but interface and software compatibility need to be re evaluated.
Basler runner series (such as runner RL2048-48gm): also supports three line color, GigE Vision standard, and Pylon SDK support.
Third party compatible camera: It is necessary to confirm that the sensor spacing, pixel size, line frequency, and triggering method match the original system.
When replacing, special attention should be paid to:
Is the spatial correction delay algorithm compatible (the original system relies on FIFO delay in 8-bit mode)
Output mode matches the interface of the acquisition card (Camera Link or GigE)
Mechanical installation dimensions and lens interface (F or C port)
