I/O Control of racer 2 L and racer 2 XL Cameras#
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.
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 termination resistor must be disabled and the LVTTL signal must be applied to the positive (+) input pin of the camera. For this configuration, the circuit uses the logic level shown in the tabel below.
信息
In the pylon Viewer, the line format is displayed as RS-422 although the line format used is LVTTL. This is a display issue only. The actual configuration and functionality are not affected.
电气要求#
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 | 绝对最大电压。 切勿超过此电压,否则可能会损坏相机并导致保修失效。 |
Input current: <100 µA
输出线路#
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.
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.
Output current: <150 mA
For the camera's I/O circuitry to operate properly, supply a ground as shown below. The termination resistor must be disabled.