IAI SW-4000T-MCL User manual

Thank you for purchasing this product.
Be sure to read this documentation before use.
This documentation includes important safety precautions and instructions on how to operate the unit. Be sure to read this documentation to ensure
proper operation.
The contents of this documentation are subject to change without notice for the purpose of improvement.
@2023 JAI
User Manual
SW-4000T-MCL
3 CMOS Prism Line Scan Camera
with Mini Camera Link Interface
Document Version: 2.0
Date: 2023-09-13

SW-4000T-MCL User Manual (2.0) Table of Contents
- 2 -
Table of Contents
Table of Contents 2
About Technical Note 6
Notice/Warranty 7
Notice 7
Warranty 7
Certifications 7
CE Compliance 7
FCC 7
Warning 8
KC 8
China RoHS 9
Usage Precautions 10
Notes on Cable Configurations 10
Notes on Attaching the Lens 10
Notes on Camera Link Cable Connections 10
Phenomena Specific to CMOS Image Sensors 11
Notes on Exportation 11
Features 12
Parts Identification 13
①Lens Mount (M52-Mount or F-Mount) 13
②Digital I/O-1 and Digital I/O-2 Video Output Connectors 13
③POWER/TRIG LED 15
④DC IN/TRIG Connector (12-Pin Round) 15
⑤AUX Connector (10-pin) 17
⑥ ⑦ Mounting Holes 17
Preparation 18
Step 1: Connect Devices 19
①Lens 20
②Mounting 20
③Camera Link Cable 20
④Frame Grabber Board 21

SW-4000T-MCL User Manual (2.0) Table of Contents
- 3 -
⑤AUX Cable (10 Pin) (Option) 21
⑥DC IN / Trigger IN Connection Cable 21
⑦AC Adapter (Power Supply) 21
Step 2: Verify Camera Operation 22
Step 3: Verify the Connection Between the Camera and PC 23
Step 4: Configure Basic Settings for the Camera 24
Configure the Camera Output Formats 24
Configure Trigger, Exposure, and Line Rate Settings 25
Control via External Triggers 25
Control Without External Triggers 25
Step 5: Adjust the Image Quality 26
Step 6: Configure Various Other Settings 26
Step 7: Save the Settings 27
Save the User Settings 27
Load the User Settings 28
Main Functions 29
Basic Function Matrix 29
GPIO (Digital Input/Output Settings) 30
Camera Output Formats 31
ClConfiguration Base - PixelFormat RGB8 32
ClConfiguration Medium - PixelFormat RGB8 33
ClConfiguration Medium - PixelFormat RGB10 34
ClConfiguration Full - PixelFormat RGB8 35
ClConfiguration EightyBit - PixelFormat RGB8 36
Exposure Mode 37
Trigger Control 37
Image Output Timing 38
ExposureMode = Off 39
ExposureMode = Timed 40
ExposureMode = TriggerWidth 41
Pixel Sensitivity Correction 42
PRNU Correction (Pixel Gain Correct) 42
DSNU Correction (Pixel Black Correct) 43

SW-4000T-MCL User Manual (2.0) Table of Contents
- 4 -
Gain Control 44
Gamma Function 45
To Use the Gamma Function 45
LUT (Lookup Table) 46
To Use the LUT Function 46
LUT Value 46
Shading Correction 47
To Use the Shading Correction Function 48
Black Level Correction 48
Variable Line Rate 49
Number of Pixels per Line and Line Rate 50
Electronic Shutter 51
ExposureActive Function 52
Test Pattern Function 52
Color Space Conversion (Color Transformation Control) 53
Counter and Timer Control Function 55
Counter Occurrence Diagram 56
Internal Camera Blocks 56
To Use the Counter Function 57
Chromatic Aberration Correction 58
Binning 59
Connecting Rotary Encoders 60
Noise Reduction Filter Functions 61
Non-Volatile Flash Memory 61
Setting List 62
Selector 62
DeviceControl 63
ImageFormatControl 64
AcquisitionControl 65
AnalogControl 67
LUTControl 69
ColorTransformationControl 70
DigitalIOControl 71

SW-4000T-MCL User Manual (2.0) Table of Contents
- 5 -
CounterAndTimerControl 73
UserSetControl 74
TransportLayerControl 74
PulseGenerator 75
JAI Custom Control Shading 77
JAI Custom Control Pixel Correction 78
JAI Custom Control Image Setup 79
JAI Custom Control Video Process 80
EncoderControl 80
Short ASCIICommandList 82
Protocol (Short ASCII Command) 82
Device Control 84
Technology Specific Bootstrap Register 85
Image Format Control 86
Acquisition Control 87
Analog Control 89
LUT Control 93
Color Transformation Control 94
Digital IO Control 96
Counter and Timer Control 99
User Set Control 100
Transport Layer Control 101
Pulse Generator 102
JAI Custom Control Shading 107
JAI Custom Control Pixel Correction 109
JAI Custom Control Image Setup 112
JAI Custom Control Video Process 112
Encoder Control 114
Miscellaneous 115
Troubleshooting 115
Power Supply and Connections 115
Image Display 115
Settings and Operations 115

SW-4000T-MCL User Manual (2.0) Table of Contents
- 6 -
Specifications 116
Package Contents 118
Spectral Response 119
Dimensions (F-Mount) 120
Dimensions (M52-Mount) 121
Comparison of the Decibel Display and Multiplier Display 122
User's Record 123
Revision History 124
About Technical Note
Some additional technical information is provided on the JAI website as Technical Notes. In this
manual, if a technical note is available for a particular topic, the above icon is shown. Please refer
to the following URL for Technical notes.
https://www.jai.com/support-software/technical-notes

SW-4000T-MCL User Manual (2.0) Notice/Warranty
- 7 -
Notice/Warranty
Notice
The material contained in this manual consists of information that is proprietary to JAI Ltd., Japan,
and may only be used by the purchasers of the product. JAI Ltd., Japan makes no warranty for the
use of its product and assumes no responsibility for any errors which may appear or for damages
resulting from the use of the information contained herein. JAI Ltd., Japan reserves the right to
make changes without notice.
Company and product names mentioned in this manual are trademarks or registered trademarks
of their respective owners.
Warranty
For information about the warranty, please contact your factory representative.
Certifications
CE Compliance
As defined by the Directive 2004/108/EC of the European Parliament and of the Council, EMC
(Electromagnetic compatibility), JAI Ltd., Japan declares that SW-4000T-MCL complies with the
following provisions applying to their standards.
EN61000-6-2
EN61000-6-3
FCC
This equipment has been tested and found to comply with the limits for a Class B digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference in a residential installation. This equipment generates, uses, and can
radiate radio frequency energy and, if not installed and used in accordance with the instructions,
may cause harmful interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. If this equipment does cause harmful
interference to radio or television reception, which can be determined by turning the equipment off
and on, the user is encouraged to try to correct the interference by one or more of the following
measures:
lReorient or relocate the receiving antenna.
lIncrease the separation between the equipment and receiver.
lConnect the equipment into an outlet on a circuit different from that to which the receiver is

SW-4000T-MCL User Manual (2.0) Notice/Warranty
- 8 -
connected.
lConsult the dealer or an experienced radio/TV technician for help.
Warning
Changes or modifications to this unit not expressly approved by the party responsible for FCC
compliance could void the user’s authority to operate the equipment.
KC
제조년월은 제품상자의 라벨을 참조하십시오.

SW-4000T-MCL User Manual (2.0) Notice/Warranty
- 9 -
China RoHS
The following statement is related to the regulation on “Measures for the Administration of the
Control of Pollution by Electronic Information Products “, known as “China RoHS“. The table
shows contained Hazardous Substances in this camera.
mark shows that the environment-friendly use period of contained Hazardous Substances is
15 years.
重 要 注 意 事 项
有毒有害物质或元素名称及含量表
根据中华人民共和国信息产业部『电器电子产品有害物质限制使用管理办法』, 本产品《有毒
有害物质或元素名称及含量表》如下.
部件名称
有毒有害物质或元素
铅
(Pb)
汞
(Hg)
镉
(Cd)
六价铬
(Cr (VI))
多溴联苯
(PBB)
多溴二苯醚
(PBDE)
SW-4000T-MCL × 〇 〇 〇 〇 〇
〇:表示该有毒有害物质在该部件所有均质材料中的含量均在 GB/T 26572-2011规定的限量要求以下。
×:表示该有毒有害物质至少在该部件的某一均质材料中的含量超出 GB/T 26572-2011规定的限量要求。
环保使用期限
电子信息产品中含有的有毒有害物质或元素在正常使用的条件下不会发生外 泄或突
变、电子信息产品用户使用该电子信息产品不会对环境造成严重污染 或对其人身、
财产造成严重损害的期限。
数字「15」为期限15年。

SW-4000T-MCL User Manual (2.0) Usage Precautions
- 10 -
Usage Precautions
Notes on Cable Configurations
The presence of lighting equipment and television receivers nearby may result in video noise. In
such cases, change the cable configurations or placement.
Notes on Attaching the Lens
How to Clean a Sensor
Avoiding Dust Particles
When attaching the lens to the camera, stray dust and other particles may adhere to the sensor
surface and rear surface of the lens. Be careful of the following when attaching the lens.
lWork in a clean environment.
lDo not remove the caps from the camera and lens until immediately before you attach the
lens.
lTo prevent dust from adhering to surfaces, point the camera and lens downward and do not
allow the lens surface to come into contact with your hands or other objects.
lAlways use a blower brush to remove any dust that adheres.
lNever use your hands or cloth, blow with your mouth, or use other methods to remove dust.
Notes on Camera Link Cable Connections
Secure the locking screws on the connector manually,
and do not use a driver. Do not secure the screws too
tightly. Doing so may wear down the screw threads on the
camera. (Tightening torque: 0.15 N·m or less)
Caution: Secure manually. Do not secure too tightly.

SW-4000T-MCL User Manual (2.0) Usage Precautions
- 11 -
Phenomena Specific to CMOS Image Sensors
The following phenomena are known to occur on cameras equipped with CMOS image sensors.
These do not indicate malfunctions.
lAliasing: When shooting straight lines, stripes, and similar patterns, vertical aliasing
(zigzag distortion) may appear on the monitor.
lBlooming: When strong light enters the camera, some pixels on the CMOS image sensor
may receive much more light than they are designed to hold, causing the accumulated
signal charge to overflow into surrounding pixels. This “blooming” phenomenon can be seen
in the image but does not affect the operation of the camera.
lFixed pattern noise: When shooting dark objects in high-temperature conditions, fixed
pattern noise may occur throughout the entire video monitor screen.
lDefective pixels: Defective pixels (white and black pixels) of the CMOS image sensor are
minimized at the factory according to shipping standards. However, as this phenomenon
can be affected by the ambient temperature, camera settings (e.g., high sensitivity and long
exposure), and other factors, be sure to operate within the camera’s specified operating
environment.
Notes on Exportation
When exporting this product, please follow the export regulations of your country or region.

SW-4000T-MCL User Manual (2.0) Features
- 12 -
Features
The SW-4000T-MCL is a 3CMOS line scan camera using three 4096 pixel line sensors mounted
on a prism, for the R, G and B channels.
The camera has a Camera Link pixel clock of 85 MHz and is capable of high-speed scanning at
up to 67.7 kHz (Line Rate). 8-bit and 10-bit video output is possible via Camera Link. Camera and
external trigger settings are configured via the Camera Link interface or the 12-pin connector.
Features Overview
lThe Camera Link interface can be used for video output and trigger input.
lPrism technology for superior color quality and better color differentiation.
lPixel size - 7.5 μm x 7.5 μm.
lSupports vertical dual-line binning, 2x horizontal binning, or both.
lHSI, sRGB, Adobe RGB and XYZ color space conversion.
lSupport for connection of rotary encoders.
lExcellent shock and vibration resistance.
lGenICam compliant.

SW-4000T-MCL User Manual (2.0) Parts Identification
- 13 -
Parts Identification
①Lens Mount (M52-Mount or F-Mount) ②Digital I/O-1 and Digital I/O-2 Video Output
Connectors
③POWER/TRIG LED ④DC IN/TRIG Connector (12-Pin Round)
⑤AUX Connector (10-pin) ⑥ ⑦ Mounting Holes
①Lens Mount (M52-Mount or F-Mount)
Mount an M52-mount lens or F-mount lens here.
Note: Before mounting a lens, be sure to refer to ①Lens and confirm the precautions for
attaching a lens and the supported lens types.
②Digital I/O-1 and Digital I/O-2 Video Output Connectors
Connect a Cable Link compatible cable here.
lCamera Side: HDR-EC26FYTG2-SL+(HONDA)
lCable: SDR Connector Cable

SW-4000T-MCL User Manual (2.0) Parts Identification
- 14 -
Note: The cable length at which communication will be possible will be limited when using a
cable that is not compatible with Camera Link, a small diameter type cable, or a high flex type
cable.
DIGITAL I/O - 1
Base (RGB8), Medium (RGB8,
RGB10), Full (RGB8), 80bit[Deca]
(RGB8)
Camera Link Connector 1
Pin Input
Output Signal Description
1, 26 Shield GND
2 (-), 15 (+) Out TxOUT0 Data output
3 (-), 16 (+) Out TxOUT1 Data output
4 (-), 17 (+) Out TxOUT2 Data output
5 (-), 18 (+) Out TxClk CL Clock
6 (-), 19 (+) Out TxOUT3 Data output
7 (+), 20 (-) In SerTC (RxD) LVDS Serial Control
8 (-), 21 (+) Out SerTFG (TxD)
9 (-), 22 (+) In CC1 Trigger
10 (-), 23 (+) CC2 Reserved
11, 24 N.C
12, 25 N.C
13, 14 Shield GND
DIGITAL I/O - 2
Medium (RGB8, RGB10), Full
(RGB8), 80bit[Deca] (RGB8)
Camera Link Connector 2
Pin Input
Output Signal Description
1, 26 Shield GND
2 (-), 15 (+) Out TxOUT0 Data output
3 (-), 16 (+) Out TxOUT1 Data output
4 (-), 17 (+) Out TxOUT2 Data output
5 (-), 18 (+) Out TxClk CL Clock
6 (-), 19 (+) Out TxOUT3 Data output
7 (+), 20 (-) Reserved
8 (-), 21 (+) Out TxOUT0 Data output
9 (-), 22 (+) Out TxOUT1 Data output
10 (+), 23 (-) Out TxOUT2 Data output
11 (-), 24 (+) Out TxClk CL Clock
12 (+), 25 (-) Out TxOUT3 Data output
13, 14 Shield GND

SW-4000T-MCL User Manual (2.0) Parts Identification
- 15 -
③POWER/TRIG LED
Indicates the power or trigger input status.
LED Status
Lit amber Camera initializing.
Lit green Camera in operation
Blinking
green
During operation in trigger mode, trigger signals are being input.
Note: The blinking interval is not related to the actual input interval of the
external trigger.
④DC IN/TRIG Connector (12-Pin Round)
Related Setting Items: DigitalIOControl
Connect the cable for a power supply or for DC IN / trigger IN here.
Camera Side: HR10A-10R-12PB (71) (Hirose Electric or equivalent)
Cable Side: HR-10A-10P-12S (Plug) (Hirose Electric or equivalent)
Pin No. Input/Output Signal Description
1 GND
2 Power In DC In DC 12V to 24V ± 10%
3 GND
4 Reserved External connection not possible
5 In OPT IN1 - Line 5
6 In OPT IN1 +
7 Out TTL OUT 4 Line 12
8 NC
9 Out TTL OUT 1 Line 1
10 In TTL IN 1 Line 4
11 Power In DC In +12 V ~ 24V ± 10%
12 GND
Caution: The DC IN / TRIG IN connector, AUX connector, or the CC1 of the DIGITAL I/O-1
video output connector will be used for external trigger inputs. You can switch which of these
is used via a command.

SW-4000T-MCL User Manual (2.0) Parts Identification
- 16 -
TTL Signal specification
TTL out signal specification (Typ.) Output voltage: Low 0.0V, High 5.0V
Input/Output current: +/-32mA
TTL in signal specification (Typ.) Input voltage: Low 0.0 ~ 0.8V, High 2.0 ~ 5.5V
Caution: About Opto In: Check the recommended external input circuit diagram (reference
example) and connect correctly. If you connect Opto In 1 and Opto In 2 in reverse, camera
may be damaged.
Recommended External Input Circuit Diagram (Reference Example)

SW-4000T-MCL User Manual (2.0) Parts Identification
- 17 -
⑤AUX Connector (10-pin)
Connect the cable for DC IN / trigger IN here.
Camera side: Equivalent to Hirose Electronic 3260-10S3(55)
Cable side: Equivalent to Hirose Electronic 3240-10P-C(50)
Pin No. Attribute Name Description
1 Out TTL OUT2 Line 8
2 Out TTL OUT3 Line 9
3 IN TTL_IN2 Line 10
4 N.C
5 GND GND
6 IN TTL_IN3 Line 13
7 N.C
8 N.C
9 GND GND
10 GND GND
⑥ ⑦ Mounting Holes
Use these holes when mounting the camera directly to a wall or other structural system (⑥:
M4/depth 6mm, ⑦: M4/depth 5mm).

SW-4000T-MCL User Manual (2.0) Preparation
- 18 -
Preparation
Read this section to learn how the camera connects to devices and accessories. The preparation
process is described below.
Note: This camera does not support eBUS Player for JAI.
Step 1: Connect Devices
lConnect the lens, Camera Link cable, AC adapter, computer, and other devices.
Step 2: Verify Camera Operation
lVerify whether the camera is turned on and ready for use.
Step 3: Verify the Connection Between the Camera and PC
lVerify whether the camera is properly recognized.
Step 4: Configure Basic Settings for the Camera
lConfigure the camera output formats, ImageScalingMode, trigger, exposure, and line rate
settings.
Step 5: Adjust the Image Quality
lConfigure exposure time, shutter, gain, DSNU, PRNU, and shading correction settings.
Step 6: Configure Various Other Settings
lConfigure various other settings as necessary.
Step 7: Save the Settings
lSave the current setting configurations in user memory.
Short ASCII Commands
The most universal method for controlling a Camera Link camera such as SW-4000T-MCL is by
the use of short ASCII commands sent via serial communications. All Camera Link frame grabber
boards support the use of these short ASCII commands. SDKs that utilize these ASCII
commands for developing machine vision applications are typically available from the grabber
manufacturer, as well as from third-party vendors.

SW-4000T-MCL User Manual (2.0) Preparation
- 19 -
This section describes how to configure various camera settings using serial communication and
specific short ASCII commands. See "Short ASCIICommandList" for a complete list of all
available ASCII commands for this camera.
Later sections of the manual refer to GenICam nomenclature for various features/functions and
includes a complete list of all camera settings (Setting List).
The SW-4000T-MCL fully supports applications written using GenICam-based SDKs. The
advantage of this is that programs written using GenICam names can be applied with little or no
modification to control cameras with other GenICam-compliant interfaces and even GenICam-
compliant cameras from different vendors.
Step 1: Connect Devices
①Lens ②Mounting
③Camera Link Cable ④Frame Grabber Board
⑤AUX Cable (10 Pin) (Option) ⑥DC IN / Trigger IN Connection Cable
⑦AC Adapter (Power Supply)

SW-4000T-MCL User Manual (2.0) Preparation
- 20 -
①Lens
F-mount or M-52 mount lenses with lens mount protrusions of 13 mm or less can be attached.
Caution: The maximum performance of the camera may not be realized depending on the
lens.
Notes:
The following formula can be used to estimate the focal length.
Focal length = WD / (1 + W/w )
WD: Working distance (distance between lens and object )
W: Width of object
w: Width of sensor (30.72mm)
②Mounting
When mounting the camera directly to a wall or other device, use screws that match the mounting
holes on the camera (M4: depth 6mm).
Caution: For heavy lenses, be sure to support the lens itself. Do not use configurations in
which its weight is supported by the camera.
③Camera Link Cable
Connect the Camera Link cables to the DIGITAL I/O-1 and DIGITAL I/O-2 video output
connectors.
lUse Cable Link compatible cables.
lRefer to the specifications of the cable for details on its bend radius.
Caution: Refer to Notes on Camera Link Cable Connections when connecting the cables to
the connectors.
Table of contents
Other IAI Digital Camera manuals

IAI
IAI GOX-5105M-PGE User manual

IAI
IAI WA-1000D-CL User manual

IAI
IAI GO-5000M-USB User manual

IAI
IAI CV-M40 User manual

IAI
IAI GOX-2402M-USB User manual

IAI
IAI SW-4000M-PMCL User manual

IAI
IAI AP-1600T-PMCL User manual

IAI
IAI SW-4000TL-10GE User manual

IAI
IAI SW-8000M-PMCL User manual

IAI
IAI cm-040ge User manual