# Typical Acquisition Sequence

Note: If the In-Sight vision system is configured to accept an acquisition Acquisition is the process or result of the vision system acquiring a new image. trigger from a PLC A Programmable Logic Controller is a ruggedized computer that you can use for automating processes or even an entire production line./Motion Controller through a Native Mode command, Cognex recommends that the SetEvent and Wait function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. be utilized, with the Event code set to 8 (SW8). This ensures that the vision system waits for both the acquisition and inspection to be completed before sending a "complete" response back to the PLC/Motion Controller, and that previous inspection results are not being sent to the PLC/Motion Controller. The "complete" response from the vision system can also then be used to create conditional PLC logic that sends a read request for the inspection results. For more information, see Set Event and Wait.

An In-Sight vision system can be triggered by directly manipulating the Trigger Enable and Trigger bits in the Control block while monitoring the Trigger Ready, Trigger Ack, and Missed Acq bits in the Status block.

On initial start-up, the Trigger Enable bit is False, and you must set to True to enable triggering. When the vision system is ready to accept triggers, the Trigger Ready bit is set to True.

While the Trigger Enable and Trigger Ready bits are True, each time the vision system sees the Trigger bit change from 0 to 1, an image acquisition is initiated. The Trigger bit must be held in the new state until that same state value has been seen in the Trigger Ack bit (which is a necessary handshake to guarantee that the change has been seen by the vision system).

During an acquisition, the Trigger Ready bit in the Status block gets cleared. The Exposure Complete bit is set at the end of the acquisition, and can only be cleared by the Clear Exposure Complete bit.

To force a reset of the trigger mechanism, set the Trigger Enable bit to False until the Status block is 0. Then the Trigger Enable bit can be set to True and acquisitions re-enabled.

Example - Typical Acquisition Sequence
Note: In the following image, the term "PLC" is used as "Automation Controller".

Example - Acquisition Faster Than Inspection Sequence
Note: In the following image, the term "PLC" is used as "Automation Controller".