26
26
4.6.1.5 Programming Pulse Generator
You have two ways to program the Pulse Gen-
erator. You can go to;
•
Enhanced Function Block
One method is to program Pulse Generator #0.
Internal Trigger needs the falling edge trigger
and make sure the Trigger mode is “Falling
edge”. (Fig. 41)
The Granularity is multiple (n+1) of 30 ns. So, in
the case of Fig. 41, the duration of high is 16502
x 101 x 0.03
µ
s = 50,000 = 50 ms. The low,
which decides the pulse width for Pulse-width
Control is 1651 x 101 x 0.03 = 5 ms = 1/200 s.
The “Periodic Pulse” is marked to create continu-
ous pulses.
The other method is to go to Coyote Application.
•
IP Engine Pull-down Menu
You will see “Pulse Generators…” and “PLC
Control Bits…”. These are useful tools to control
the popular PLC functions. (Fig. 42)
Select “Pulse Generators”. You will see a GUI
(Graphic User Interface) with slide bars (Fig. 43).
“Pulse Generator #0” is shown in the selection
window. The pulse durations are also visible and
the values are the same as you set in Enhanced
Function Block. The values can be overwritten
by moving these slide bars. It also shows total
duration times in ns. Try moving “Width” bar.
The images in display change the brightness if
you have set the camera control mode to Async
Pulse-width mode (57 00 23 00 00 00 02). If you
monitor GPIO Pin #3, Strobe Output, you can
see the camera is responding to the internal
pulse generator trigger. In the LUT, you have to
connect the Internal Strobe Pulse to the GPIO
Pin #3 by typing Q1=I1 (default). If you want to
monitor the Pulse Generator 0 output, you can
use the pin 3 by selecting LUT Q1=I0 where I0 is
connected to Pulse Generator 0.
Note: The Pulse Generator output is kept low if
there is no output command such as Periodic
output or PLC Control Bit. Therefore, the normal
falling edge trigger pulse, which is similar to the
External Trigger (TTL) cannot be generated. In
the case, you can go to “Camera Port Communi-
cation” and select “Trigger Input Polarity
Change”. Type 57 00 21 00 00 00 01 <send>.
This will allow the trigger input mode from low to
high (rising edge trigger). Swap the values of de-
lay (low duration) and width (high duration) to
control the pulse-width.
GEViCAM Inc
Fig. 41
Fig. 42
Fig. 43
Summary of Contents for GP-151400
Page 39: ...39 39 GEViCAM Inc MEMO ...