Each BOA2 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 BOA2
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)
Soft Pulse Setting: Selecting this setting will automatically define scripts based on the
pulse settings defined in the GUI. This offers a convenient alternative to learning the
script tool if you only need to generate a pulse output.
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, BOA2 will not generate a pass pulse even if the inspection
passes. In this case, BOA2 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 10 ms on GPO0 for a PASS result OR pulse 30 ms on GPO1 for a FAIL
result. Sensor exposure time is 9 ms, acquisition time is ~16 ms and inspection time is
~35 ms. Minimum Pulse Offset = 9+16+35=60 ms. IF the minimum offset is satisfied,
BOA2 will output a PASS pulse on a good result, ELSE BOA2 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.
The maximum pulse offset and
duration is 16 seconds
. (the max duration was 65 ms in version 1881 and earlier).
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)
Selecting the Right Output Driver
Version 4.3; 2017-11-20
32
BOA2-XA Installation