Triggers
A trigger is an event that causes a sensor to take a single image. You configure triggers on the Acquire > Scan page.
When a trigger is processed, the sensor's laser or LED light strobes and the camera exposes to produce an image. The resulting image is processed inside the sensor to yield scan data.
The sensor can be triggered by one of the sources described below.
When using encoder triggering (available with line profilers), the current encoder resolution is displayed under the Source drop-down as a reference when setting trigger spacing.
To set the encoder resolution, go to the System > Alignment page and set the value in Encoder Resolution.
Trigger Source | Description | ||
---|---|---|---|
Time |
Sensors have an internal clock that can be used to generate fixed-frequency triggers. The external input can be used to enable or disable the time triggers. |
||
Encoder |
An encoder can be connected to provide triggers in response to motion. Three encoder triggering behaviors are supported. These behaviors are set using the Behavior setting. Track Backward A scan is triggered when the target object moves forward. If the target object moves backward, it must move forward by at least the distance that the target travelled backward (this distance backward is "tracked"), plus one encoder spacing, to trigger the next scan.
Ignore Backward A scan is triggered only when the target object moves forward. If the target object moves backward, it must move forward by at least the distance of one encoder spacing to trigger the next scan.
Bi-directional A scan is triggered when the target object moves forward or backward.
When triggers are received at a frequency higher than the maximum frame rate, some triggers may not be accepted. Use the Trigger Drops indicator in the Health panel on the Reports page to check for this condition; for more information, see Reporting. The external input can be used to enable or disable the encoder triggers. For information on the maximum encoder rate, see Maximum Encoder Rate.
|
||
External Input |
A digital input can provide triggers in response to external events (for example, a photocell). The external input triggers on the rising edge of the signal. When triggers are received at a frequency higher than the maximum frame rate, some triggers may not be accepted. Use the Trigger Drops indicator in the Health panel on the Reports page to check for this condition; for more information, see Reporting. |
||
Software |
A network command can be used to send a software trigger. For more information, Protocols (PLCs and other hardware). |
Trigger Settings
After you choose the trigger source, configure the other parameters in the Trigger section on the Scan page.
Parameter | Trigger Source | Description |
---|---|---|
Source |
n/a |
Selects the trigger source (Time, Encoder, External Input, or Software). |
Trigger at maximum frame rate |
Time |
When this is enabled, the frame rate locks to the maximum frame rate. |
Frame Rate |
Time |
Controls the frame rate. Fractional values are supported. For example, 0.1 can be entered to run at 1 frame every 10 seconds. |
Spacing |
Encoder |
Specifies the distance, along the Y axis, between triggers. Internally the sensor rounds the spacing to a multiple of the encoder resolution. |
Encoder trigger mode |
Encoder |
Specifies how the sensor is triggered when the target moves. Can be Track Backward, Ignore Backward, or Bi-Directional. For more information, see Encoder in Trigger source descriptions. |
Enable auto reversal distance | Encoder | When enabled, sets the reversal distance automatically to 3 times the value in Spacing. |
Reversal Distance |
Encoder |
When encoder triggering is set to Bi-Directional, use this setting to ignore jitter or vibrations in the transport system. When Enable auto reversal distance is enabled, the distance is automatically set by multiplying the value in Spacing by 3. When Enable auto reversal distance is disabled, set the desired value in Reversal Distance in millimeters. Various functions in the sensor depend on this value to explicitly determine the point where direction change is triggered. Set this value larger than the maximum vibrations you see in your transport system. |
Gate on External Input |
Time, Encoder, Software |
You can use external input to enable or disable data acquisition in a sensor. When this option is enabled, the sensor will respond to time, encoder, or software triggers only when the external input is asserted. This setting is only displayed when the sensor is in Profile mode. See Digital Input for more information on connecting external input to sensors. |
Units |
External Input |
Specifies the unit. |
Trigger Delay | External Input |
Specifies the amount of time or the distance the sensor waits before producing a frame after the external input is activated. This is used to compensate for the positional difference between the source of the external input trigger (for example, a photocell) and the sensor. |