27
27
4.6.1.6 Enhanced Function Block Connections
The Inputs and outputs of the Enhanced Function Block
are fixed as shown in Fig. 44.
If you are feeding a signal into Pulse Generator 0, the
output must go to Q9. For example, I1 with PLC Control
Bit 0 is connected to the Pulse Generator 0, then the
LUT is Q9=I1.
The brief summary of the Enhanced Function Block:
•
Pulse Generator:
Create a pulse.
•
Rescaler:
Adjust the frequency of an input signal.
•
Delayer:
Delay a complex signal.
•
Interrupt FIFO:
Send an interrupt request to PC.
•
General Purpose counter:
Count pulses such
as from the encoder on a conveyer belt.
•
Timestamp Counter:
Use IP Engine’s on-board
•
clock.
•
Counter Trigger Generator:
Set “alarm clock
that outputs up to four signals.
4.6.1.7 Programming PLC Control Bit
The PLC Control Bit function allows manual control of your circuit
via the Remote Control Block from PC.
In “IP Engine” pull-down menu, select “PLC Control Bits…”. The
“PLC Control Bits” dialog box appears. (Fig. 45)
Firstly, you have to change the I0 signal routing. Go to “Configure”
and open the “IP Engine” tab. In “Signal Routing Block”, select I0
with “GPIO Control Bit 0”. Now the PLC input signal is connected
to the remote control 0. Also set the PLC_CTROL 0 to True. Click
“Apply” or “OK” and close the configuration dialog.
Coyote Application PLC Control Bit is now active and PLC_CTRL
0 is set for Q0 output (connected to the Internal Trigger). In the
pane of “Set value”, it gives the state of the signal. The unmarked
state is logic “Low (=0)” and the marked state is logic “High (=1)”.
If the camera is already configured for Async reset mode, each
time the Bit Control state changes from high to low, it will reset.
•
Triggered Single Pulse Generator using PLC Control Bit:
This allows single pulse programmed by the Pulse Generator and triggered by the manual
remote control.
Let’s practice to create a single pulse trigger control with Pulse-width control mode.
We will use the same pulse duration as shown in previous page (50 ms for High and 5 ms for
Low).
However, the Pulse Generator outputs the rising edge trigger only with PLC_CTRL. Therefore,
the camera must accept the rising edge trigger pulses. To change the trigger polarity, go to
“Port Communication” and type 57 00 21 00 00 00 01<send>. ( Rising Edge Trigger)
In the same Port Communication, select Pulse-width control mode by typing “57 00 23 00 00
00 02”. For the normal async triggering, this polarity change is not necessary.
GEViCAM Inc
Fig. 44
Fig. 45
Содержание GP-151400
Страница 39: ...39 39 GEViCAM Inc MEMO ...