--- title: "Command IF" slug: "command-if" updated: 2024-07-04T11:07:43Z published: 2024-07-04T11:07:43Z canonical: "docs-linescan.alliedvision.com/command-if" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs-linescan.alliedvision.com/llms.txt > Use this file to discover all available pages before exploring further. # Command IF Command IF is used to query hardware information of the XLC4 control unit. The response contains the data which defines the properties of the driver unit. ## Structure | Command | Notes | | --- | --- | | CommandID | IF | IF works in all XLC4 operating modes | | Parameter | None | | | Channel | | Parameter | Value | Description | | None | | If the IF command is used without channel qualifier, the XLC4 returns information about version and release of the assembled electronic board and the serial number of the XLC4 control unit | | Channel | | If the IF command is used with a channel qualifier, the XLC4 returns information about the addressed driver unit of the XLC4. The current XLC4 has 4 identical driver units: A, B, C, D | | “A” | Channel 1 of the XLC4 control unit | | “B” | Channel 2 of the XLC4 control unit | | “C” | Channel 3 of the XLC4 control unit | | “D” | Channel 4 of the XLC4 control unit | | Response | | Without parameter | if , space , version , “,” , release , “,” , serial_number_xlc4 | | With channel parameter | if , space , duInfoList | | General notes | | | | ## Example ### Without parameter | Query | Response | | --- | --- | | IF | if 1 , 7 , 10345 | | Number | Sample | Function | | --- | --- | --- | | 1 | 1 | Type of circuit board in the XLC4 control unit | | 2 | 7 | Revision number of circuit board in the XLC4 control unit Range from 3 to 7, 7 is the latest one | | 3 | 10345 | Serial number | ### With channel parameter The response refers to the channel. | Query | Response | | --- | --- | | IF A | if 1 , 0 , 1 , 1500 , 2540 , 200 , 3000 , 1 , 55 , 65 , 70 , 90 , 249 | | Number | Sample | Function | | --- | --- | --- | | 1 | 1 | Type of driver | | 2 | 0 | Revision number of driver | | 3 | 1 | Number of channels in the driver unit | | 4 | 1500 | MaxCurrentOfType | | 5 | 2540 | Reserved | | 6 | 200 | MinCurrentOfType | | 7 | 3000 | MaxSensVoltage | | 8 | 1 | MinSensVoltage | | 9 | 55 | WarningTempDU | | 10 | 65 | MaxTempDU | | 11 | 70 | WarningTempLED | | 12 | 90 | MaxTempLED | | 13 | 249 | Reserved | Parameters 4, 6, 10 and 11 are compared with the values of the connected Corona II module. The intersection values are taken.