30
30
4.6.1.8 Other Programmable Logic Controller Functions
There are many useful tools for PLC in the real world factory automation. The
GP-series’
default has
one input and one output opto-isolators. These IOs can be used for the trigger input instead of TTL in
noisy environment, and the output can be used for an ejector after counting number of triggers (use
General Purpose Counter). The input can be used for an encoder. The input and the output can be
variable delayed (sequencer) signals.
Signal Debouncing Block can hold the input signal for 480 ns to 31 ms, which eliminates noisy input
error such as chattering and induction noise.
Let’s try the Opto-isolator IOs to replace TTL trigger input and Strobe output.
LUT
Q0=I2 (I2 is connected to Opto D1_IN)
Q3=I1 (I1 is Strobe out from the camera module)
Please note that Opto-isolator output is open-collector output and you need an external resistor be-
tween the collector and Vcc to operate. See 4.6.3.
The LUT accepts complex Boolean expressions such as AND (&), OR (|), XOR(^), NOT (!)
operations to combine various inputs.
Example: Q1=I5&I3, Q16=I8|I6, Q6=!(I4&I6)&((I2^I5)|I1)
4.6.2 GPIO Connector and Cables
The GPIO interface is MDR-14pin connector, which is small but very robust for industrial use.
The
Pin Assignment
is described below;
1
12V RTN (GND)
8 Power in 12V
2
GND
9 Trigger in (TTL)
3
Strobe out
10 RS-485 -
4
RS-485 +
11 Opto D1 in -
5
Opto D1 in +
12 Opto D2 out -
6
Opto D2 out +
13 Audio out
7
GND
14 Audio in
Full functional GPIO cables are available from Intercon1
(www.nortechsys.com/intercon) with various length.
The mating MDR-14 Plug is commonly available from vari-
ous 3M distributors. The part number for solder cup model
is 10114-3000PE (Made by 3M).
Industrial RJ-45 cables are also available from Intercon1
and other cable manufacturers. See 2.1.2.
GPIO Full-function Cable and Pin Assignment
A: Orange core = Pin 9
A: White core = Pin 3
Shield = Pin 2 Shield = Pin 2
A: Violet core = Pin 13
A: Yellow core = Pin 14
Shield = Pin 7
Shield = Pin 7
B: Red = Pin 8 (12V)
B: Black = Pin 1 (RTN)
D: D1 = Pin 4
D2 = Pin 10
D3 = Pin 5
D4 = Pin 11
D5 = Pin 6
D6 = Pin 12
D7 & 8 Spare
GEViCAM Inc
GPIO cable Industrial RJ-45 cable
Fig. 55
Fig. 54
Fig. 53
Fig. 56
A: Shield wire
B: Normal wire,
D: Twisted pairs (1&2, 3&4, 5&6)
Содержание GP-151400
Страница 39: ...39 39 GEViCAM Inc MEMO ...