# Control

## Byte 0

Bit | Name | Description
--- | --- | ---
7 | Set Offline | When this bit is set, the In-Sight vision system is taken Offline until the bit is cleared again.
6-5 | Reserved | Unused.
4 | Execute Command | When set, the vision system loads the job ID specified in the Command field. The signal must be held high until the Command Completed signal is toggled. The falling edge of this signal (if prior to Command Complete) is interpreted as an abort request.
3 | Inspection Results Ack | When the Buffer Results Enable bit is set, the Inspection Results Ack bit is set by the Automation Controller to acknowledge that it has received the InspectionCount, Inspection Result Code and Inspection Results data. The next set of inspection results is then sent to the Automation Controller. Clearing the Inspection Results Ack bit causes the vision system to set the ResultsValid bit if the buffer is not empty.
2 | Buffer Results Enable | When this bit is set, the Inspection Count, Inspection Result Code and InspectionResults fields are held constant until they are acknowledged by setting the InspectionResults Ack bit. Up to eight inspections are held in the buffer of the In-Sight vision system. The vision system responds to the acknowledgment by clearing the ResultsValid bit. Once the InspectionResults Ack bit is cleared and there is a new set of results sent to the Automation Controller, the ResultsValid bit is no longer be cleared. If the Inspection Results Ack bit is cleared and there are no more results in the buffer of the vision system that are to be sent to the Automation Controller, the ResultsValid bit remains cleared.
1 | Trigger | Setting this bit triggers an acquisition when the following conditions are met: The In-Sight vision system is Online. The Trigger Enable bit is set. The Trigger parameter is set to Network, External or Industrial Ethernet. Note: The Trigger parameter can be configured in the AcquireImage function in the Spreadsheet view, or in the Image application step in the EasyBuilder view. The Industrial Ethernet Trigger type needs to be used when the trigger is coming from an Automation Controller.
0 | Trigger Enable | This field is set to enable triggering through the Trigger bit. Clear this bit to disable the network triggering mechanism.

## Byte 1

Bit | Name | Description
--- | --- | ---
7-1 | Reserved | Unused.

## Byte 2

Bit | Name | Description
--- | --- | ---
7-4 | Reserved | Unused.
3 | Clear Exposure Complete | While this signal is High, the Exposure Complete status remains reset. Once this signal is set to Low, the Exposure Complete status is set to High on the next exposure completion.
2 | Clear Error | When this bit is set, it clears the Error and Error Code signals. The Clear Error bit needs to be held high until the Error bit has been cleared. If an error has been queued, clearing this bit causes the Error and Error Code signals to be set to the next queued error code.
1 | Initiate String Command | When this bit is set, it reads the data from the String Command field and execute the string command. Upon reading the command, the String Cmd Ack bit is set. This bit needs to be held High until the vision system sets the String Cmd Ack bit to ensure that the vision system has received the command.
0 | Set User Data | This command is used by the Automation Controller to indicate to the In-Sight vision system that it needs to transfer the User Data field into a holding buffer for consumption by the vision system.

## Byte 3

Bit | Name | Description
--- | --- | ---
7 | ExternalEvent 7 | Allows Spreadsheet external events to be triggered. Setting any of these bits causes the associated external event in the Spreadsheet to be triggered.
6 | ExternalEvent 6
5 | ExternalEvent 5
4 | ExternalEvent 4
3 | ExternalEvent 3
2 | ExternalEvent 2
1 | ExternalEvent 1
0 | ExternalEvent 0