PL-X enclosed cameras with a Machine Vision interface provide hardware Trigger and GPIO capability. The mating connector is an 12-pin Hirose HR25A-9P-12P cable plug with solder pins for 28 AWG wires. The connector pinout is shown below (not-to-scale for clarity of pin numbers).
Pin Assignment
Pin | Wire Color | Pin Name | Function | Comments |
---|---|---|---|---|
1 | Red | 5V | +5 VDC power output | The maximum current available from this output pin is 150mA. |
2 | Orange | TRIGGER+ | Positive terminal of optically isolated trigger input. | See trigger notes below chart. |
3 | Orange/ Black | TRIGGER- | Negative terminal of optically isolated trigger input. | See trigger notes below chart. |
4 | Yellow | I2C_SDA | I2C Data | Both have an internal 1K ohm pull up resistor to 3.3V. |
5 | Green | GPO1+ | Positive terminal of optically isolated General Purpose Output 1. | Optical isolator open collector output. Provides current sink to pin 6 when GPO1 is active. Maximum 15 mA. Maximum 40 V. |
6 | Green/ Black | GPO1- | Negative terminal of optically isolated General Purpose Output 1. | Optical isolator emitter output. Typically connected externally to ground at pin 9. |
7 | Blue | GPO1 | 3.3V HCMOS General Purpose Output 1. | The maximum HCMOS output current is 5mA. |
8 | Blue/ Black | GPO2 | 3.3V HCMOS General Purpose Output 2. | The maximum HCMOS output current is 5mA. |
9 | Red/ Black | GROUND | Logic ground. | Logic ground is internally connected to the camera metal enclosure. |
10 | White | GPI+ | Positive terminal of optically isolated General Input. | See GPI notes below chart. |
11 | White/ Black | GPI- | Negative terminal of optically isolated General Input. | See GPI notes below chart. |
12 | Yellow/ Black | I2C_SCK | I2C Clock | Both have an internal 1K ohm pull up resistor to 3.3V. |
Trigger Notes
To initiate a trigger, apply a voltage between 5V and 12V (4-11mA) to the optically isolated trigger input terminals.
The optically isolated trigger input includes an internal 1K ohm series resistor.
When using a trigger voltage larger than 12V, add an external series resistor with an adequate power rating.
Debounce delay is set in the camera to 1 microsecond.
Trigger pulse duration must be at least 300 us, otherwise trigger pulses might be ignored.
A typical application of the trigger input is to connect Pin 1 (POWER) to Pin 2 (TRIGGER+), and then use the open collector output of an external position sensor device to complete the circuit from Pin 3 (TRIGGER–) to Pin 9 (GROUND).
Trigger Polarity
The trigger polarity can be set to Positive or Negative. (See the Triggers and GPO Tab - Pixelink Capture or External Control Tab - Capture OEM)
With the trigger polarity set to Positive, a camera will trigger on the rising edge of the trigger signal.
With the trigger polarity set to Negative, a camera will trigger on the falling edge of the trigger signal.
GPI Notes
Review the trigger notes above for electrical characteristics of the GPI.
For Trigger and GPI implementation, review the Trigger and the General Purpose Input Output articles respectively.