Version 06
teledynedalsa.com/ipd
21
Output Control via iNspect Express
The iNspect
application provides two options for controlling the outputs on
BOA. These
are selected in the “Control”
panel of the GUI as shown:
Each BOA output can be configured by an equation in the script tool or a programmable
pulse based the inspection result (either Pass, Fail or Recycle):
Script Setting: Use the script tool to configure an output to provide a programmable
level or a pulse based on the application need (
Note: the GUI pulse settings are
disabled in this mode –
shown as dark gray above
). Script selection is non-
deterministic, meaning the output timing may vary if the processor is heavily loaded.
This may occur, for example, when the trigger and inspection times are close and BOA
is serving images to a connected PC.
Example: A script equation that generates an active high 10ms pulse based on a PASS
result would be:
If (Result = 1) Global.GPO[0] = pulse( 1, 0 , 10)
Pulse Setting: This mode offers a deterministic output with an offset and duration
synchronized to the incoming trigger. In this mode, the output will pulse IF the result is
TRUE and the total inspection time is less than the pulse offset
from the trigger. If the
pulse offset is too short, BOA will not generate a pass pulse even if the inspection
passes. In this case, BOA will always generate a FAIL pulse if FAIL is selected on the
second output. This would result in false rejects if the output is being used to control a
directional device.
Min Pulse Offset = Exposure Time + Acquisition Time + Inspection
Time
Example: Pulse 10ms on GPO0 for a PASS result OR pulse 30ms on GPO1 for
a FAIL
result. Sensor exposure time is 9ms, acquisition time is ~16ms and inspection time is
~35ms. Minimum Pulse Offset = 9+16+35=60ms. IF the minimum offset is satisfied,
BOA will output a PASS pulse on a good result, ELSE BOA will output a FAIL pulse
instead. The duration of the pulse is not significant in this decision. However, setting the
pulse longer than the trigger period is not advised.
Max pulse duration is 64ms
.
Note: Processing overhead can also affect the minimum pulse offset requirement. It is
good practice to calibrate this time based on your typical expected usage of the system
(i.e. inspection time ov system access overhead)