跳转到内容

I/O Control of racer 2 L Cameras#

Basler racer 2 L cameras are equipped with three differential GPIO lines, which are designated as Line 1, Line 2, and Line 3.

The GPIO lines are designed to accept RS-422 differential signals, but they can also be used with low voltage TTL signals. Each GPIO line can be configured to work as an input or as an output.

注意:对相机的 GPIO 线路施加错误的电信号会严重损坏相机。
  • 在将任何外部电路连接到 GPIO 线路之前,请使用 Line Mode 功能,配置输入或输出线路。
  • 确保按以下规定施加适当的输入或输出信号电压。
  • Make sure the cable and plug you connect to the 12-pin receptacle follows the correct pin assignment. In particular, don't use a pin assignment that would be correct for Basler area scan cameras. The 12-pin receptacles of Basler line scan and area scan cameras are electrically incompatible.

输入线路#

Using the Input Lines with RS-422#

The following diagram shows a typical circuit when each input line is designed to receive an RS-422 signal. For the camera’s I/O circuitry to operate properly, supply a ground as shown below. Enabling the 120 Ω termination resistor ensures signal integrity.

GPIO Line Circuit Diagram with the GPIO Lines Set as an Input Receiving an RS-422 Signal

Using the Input Lines with LVTTL#

The following diagram shows a typical circuit when receiving an LVTTL (Low Voltage Transistor Transistor Logic) signal. For this purpose, the LVTTL signal must be applied to the positive (+) input pin of the camera. The termination resistor must be disabled.

GPIO Line Circuit Diagram with one GPIO Line Set as an Input Receiving an LVTTL Signal

电气要求#

The following voltage requirements apply to the camera’s I/O input (pin 4 in the example above) when using LVTTL.

电压 描述
0–5.0 VDC 安全工作范围。
0-0.8 VDC 指示逻辑 0。
>0.8-2.0 VDC Region where the logic level transition occurs. The logical state is not defined in this region.
>2.0 VDC 指示逻辑 1。
6.0 VDC 绝对最大电压。
切勿超过此电压,否则可能会损坏相机并导致保修失效。

输出线路#

Using the Output Lines with RS-422#

The following diagram shows a typical circuit when each output line is designed to transmit an RS-422 signal. For the camera’s I/O circuitry to operate properly, supply a ground as shown below.

GPIO Line Circuit Diagram with the GPIO Lines Set as an Output Transmitting an RS-422 Signal

Using the Output Lines with LVTTL#

The following diagram shows a typical circuit when transmitting an LVTTL signal. A low signal is indicated by a camera output voltage near zero, a high signal is indicated by an output voltage of approximately 3.3 VDC. These voltages are within the typically specified levels for low voltage TTL devices.
For the camera’s I/O circuitry to operate properly, supply a ground as shown below. The termination resistor must be disabled.

GPIO Line Circuit Diagram with the GPIO Line Set as an Output Transmitting an LVTTL Signal