The MH2556XR is a 25mm C-mount fixed focal length lens from iRAYPLE's MH-XR series, designed for high-resolution area scan cameras in barcode and identification applications. It covers a 1.1" (Ø16mm) image circle and offers an aperture range of F5.6 to F11 with ultra-low optical distortion of -0.014 and large depth of field. The lens supports sensors with pixel sizes down to 2.4μm, features manual focus and aperture adjustment, and operates across a spectral range of 436–656nm with over 85% transmittance. Focus range spans 0.5m to infinity, and the compact 35.7ר31mm body weighs 60±5g.
Next to the 16 mm MH1656XR and the 20 mm MH2056XR, 25 mm is the choice for the smallest codes or the longest reach. At the 500 mm minimum distance each 2.4 µm pixel (the smallest size it supports) covers 2.4 µm × 500 mm ÷ 25 mm = 48 µm, the finest sampling this lens gives, so a 0.15 mm module is about 3 px (0.15 ÷ 0.048 ≈ 3.1), where the MH1656XR (75 µm) gives only 2. To keep 75 µm per pixel this lens can stand 500 mm × 25 ÷ 16 ≈ 781 mm away, which leaves more room for lights and guards.
The aperture runs from F5.6 to F11 and the pass band is 436–656 nm with transmission above 85%. Optical distortion is specified as ultra-low. The body is 35.7 × Ø31 mm and 60 g ±5 g.
Best for
Small Data Matrix or QR codes read from 0.5 m, where 48 µm per pixel gives about 3 px on 0.15 mm modules and more on larger ones.
Reading from a longer stand-off: about 781 mm gives the same sampling the 16 mm lens delivers at 500 mm, useful above conveyors or behind guards.
Packaging, surface and OCR inspection, where a tighter field at the same distance gives finer sampling.
Selection notes
Confirm the covered sensor format with us before ordering, and match it against your sensor diagonal.
Depth of field is shallower than on the 16 mm lens at the same distance: with an example 10 µm blur tolerance, F8 and 500 mm, ≈ 2 × 8 × 0.010 mm × (500 mm)² ÷ (25 mm)² = 64 mm against 156 mm on the MH1656XR. If parts vary in height by more than that, choose a shorter lens.
At its widest setting, F5.6, the lens passes only a quarter of the light of an F2.8 lens, so plan strobed or strong LED lighting.
Specifications: Optical
Focal length
25 mm
Lens mount
C-mount
Aperture (f-number)
F5.6 – F11
Image circle / max sensor
Ø16 mm (1.1")
Working distance
500 mm to ∞
Telecentric
No
Specifications: Environment
Operating temperature
-20°C to +50°C
Specifications: Mechanical
Dimensions
35.7ר31 mm
Weight
60 g
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
Matched automatically by: camera mount fits the lens mount · camera sensor is covered by the lens image circle — this lens: C-mount · Ø16 mm (1.1") image circle.
Follow these steps to bring up your iRAYPLE camera, capture a first image, and move from the viewer to your own application. The flow is the same across the A, AE, AX and L series; only the physical interface differs.
Download and install the iRAYPLE machine-vision SDK together with its viewer client for your operating system. The installer provides the camera drivers, the GenTL producer, and the viewer you will use for first light. For GigE Vision models, also install or enable the bundled filter/performance driver on the network adapter to maximize throughput.
2. Connect the camera to the correct interface
Wire the camera to its matching host interface: a dedicated Gigabit (or 10 GigE) NIC for GigE Vision models, a USB3 Vision port with a quality cable for USB3 models, or a frame grabber for CoaXPress models. Power the camera (PoE, USB bus power, or PoCXP / external supply as applicable). For GigE Vision, put the NIC and camera on the same subnet and, where supported, enable jumbo frames.
3. Detect and open the camera in the viewer
Launch the iRAYPLE viewer, run device enumeration, and select your camera from the discovered list. Open it to load the device feature tree (GenICam node map). If a GigE camera is found but cannot be opened, correct the IP configuration so the camera and NIC are in the same address range.
4. Set exposure, gain and trigger, then grab a first image
Start with continuous (free-run) acquisition under stable lighting. Adjust exposure time and gain for a well-exposed, low-noise image, set the pixel format (e.g. Mono8 or a Bayer/RGB format), and tune white balance on color models. Once the live image looks correct, switch trigger mode to hardware or software trigger to synchronize capture with your process, and verify a single triggered frame.
5. Move from the viewer to the SDK or a GenICam library
With imaging confirmed, reproduce the same settings in code using the SDK's C/C++ or Python API: enumerate, open, configure the relevant GenICam features, register a frame callback or grab loop, and convert frames to your pipeline's buffer format. Since the cameras are GenICam/GenTL-compliant, you can alternatively drive them from a third-party GenICam vision library. From here a stable image stream can feed a deep-learning inspection step such as Rosepetal for automated quality control.
Frequently asked questions
At 500 mm it samples at 48 µm per pixel against 75 µm, but its depth of field at F8 is about 64 mm against 156 mm in the same example.
Closing from F5.6 to F11 passes only (5.6 ÷ 11)² ≈ 26% of the F5.6 light, so size the light source with headroom for the F11 setting.