# Status

## Byte 0

Bit | Name | Description
--- | --- | ---
7 | Online | This bit is set when the In-Sight vision system is Online, and cleared when the vision system is Offline. When the vision system is Offline, examine the Offline Reason field to determine the reason.
6-4 | Offline Reason | This field is a 3-bit field used to identify the cause of why an In-Sight vision system is Offline:
Offline Reason | Name | Description
--- | --- | ---
0 | Online | The vision system is Online.
1 | Programming | The job A job is a user-configured program in In-Sight Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the In-Sight Spreadsheet interface, and load them on a vision system for deployment in a live environment. of the vision system is being modified.
2 | Discrete Offline | A discrete signal is holding the vision system Offline.
3 | Comm. Offline | A communications protocol is holding the vision system Offline.
Note: It is possible to have multiple devices holding the In-Sight vision system Offline. In this case, this field returns the channel with the lowest reason code.
3 | Missed Acq | Set when an In-Sight vision system misses an acquisition Acquisition is the process or result of the vision system acquiring a new image. trigger, regardless how the acquisition was triggered. Cleared when an acquisition is successfully triggered. Note: If the Trigger bit is set, but the vision system is offline, the Missed Acq and Trigger Ack bits is both set.
2 | Reserved | Unused.
1 | Trigger Ack | Indicates when an In-Sight vision system has been triggered by the Trigger bit being set; this bit stays set until the Trigger bit is cleared. In addition, the Acquisition ID can be latched to the rising edge of this bit. Note: If the Trigger bit is set, but the vision system is offline, the Missed Acq and Trigger Ack bits both be set.
0 | Trigger Ready | Indicates when an In-Sight vision system can accept a new trigger through the Trigger bit. This field is true when the vision system is Online, the Trigger Enable bit is set, and the vision system is not currently acquiring an image. Note: The Industrial Ethernet Trigger type needs to be used when the trigger is coming from an Automation Controller.

## Byte 1

Bit | Name | Description
--- | --- | ---
7 | Error | This bit is set when an error has occurred, which is defined in the Error Code field.
6 | Command Failed | This bit is set to 1 to indicate that Job Load has failed to run to completion. It is cleared when a new job is loaded by the PLC A Programmable Logic Controller is a ruggedized computer that you can use for automating processes or even an entire production line./HMI. If the job is changed through In-Sight Spreadsheet, this bit does not change. This bit is always set prior to setting the Command Completed bit.
5 | Command Completed | When a Command completes the Command Executing bit goes low and if the Execute Command bit is still high, the Command Completed bit is set. If the Command did not successfully complete, the Command Failed bit is also set. Note: The camera clears the Command Completed bit when the Execute Command bit goes low.
4 | Command Executing | This bit is set to 1 when Job Load is started. The Command Completed and Command Failed bits are set prior to the falling edge of this bit.
3 | Results Valid | Set when the Inspection Count, Inspection Result Code, Inspection Results and/or Job Pass bits are set. The bit is cleared when the Inspection Results Ack bit is set. Note: If job processing is enabled to occur in overlapped mode, either the Buffer Results Enable bit needs to be enabled/set, or the Inspection Completed bit needs to be used to latch the inspection results.
2 | Results Buffer Overrun | This field is set when the Buffer Results Enable bit is set and the In-Sight vision system has discarded a set of inspection results because the Automation Controller has not acknowledged the results by setting the Inspection Results Ack bit. Up to eight inspections are held in the buffer of the vision system. This bit is set when the ninth inspection is added to the buffer. The ninth inspection, and all subsequent inspections, is dropped until there is room in the buffer (when the results have been acknowledged out). The bit is not cleared until a valid inspection occurs and a previous inspection is not overwritten.
1 | Inspection Completed | This bit is toggled upon the completion of an inspection. It is guaranteed to be toggled after the Inspection Count, Inspection Result Code, Inspection Results and/or Job Pass bits are sent to the PLC.

## Byte 2

Bit | Name | Description
--- | --- | ---
7-5 | Reserved | Unused.
4 | Job Pass | This bit is set if the most recent job passed as configured in the Job Pass/Fail Cell Setup dialog. This bit is cleared if the job did not pass. The behavior of the Job Pass bit depends on whether or not results buffering is disabled or enabled:
Buffering Is Disabled | Buffering Is Enabled
--- | ---
Set when an inspection is completed and the Job Pass/Fail cell indicates pass, otherwise it remains cleared. The Job Pass bit is valid prior to toggling the Inspection Completed bit. | Set when new results are placed in the InspectionResults attribute and the Job Pass/Fail cell indicated pass for that result set, otherwise it remains cleared. The state does not change until the results are acknowledged by setting the InspectionResultsAck attribute to True, at which time the bit is cleared. The Job Pass bit is valid prior to the Results Valid bit being set.
3 | Exposure Complete | This bit is set upon the completion of the In-Sight vision system exposure period, and is reset by the Clear Exposure Complete bit. This bit is held in a reset state if the Clear Exposure Complete signal is set to High.
2 | String Command Error | This bit indicates whether the result of the previous string command returned a failure code.
1 | String Command Ack | This bit is set when the vision system completes processing of a command and generates a response to the command. After the vision system has set this bit, the Automation Controller can safely read the string command response data. The bit is reset after the Automation Controller clears the Initiate String Command bit. The Automation Controller needs to clear the Initiate String Command bit and wait for the String Command Ack bit to return to a Low state before initiating a new command.
0 | Set User Data Ack | This bit is set to acknowledge completion of the Set User Data command.

## Byte 3

Bit | Name | Description
--- | --- | ---
7 | ExternalEvent Ack 7 | These bits are used to indicate that the External Event command was received.
6 | ExternalEvent Ack 6
5 | ExternalEvent Ack 5
4 | ExternalEvent Ack 4
3 | ExternalEvent Ack 3
2 | ExternalEvent Ack 2
1 | ExternalEvent Ack 1
0 | ExternalEvent Ack 0