# SLMP Defined Data Blocks

The defined data blocks allow you to control where the vision system is reading and writing data to and from the Automation Controller. For easier application setup, the various control and status bits required for command functionality are grouped into contiguous blocks, which can be processed together. When setting up the interaction between the vision system and the Automation Controller, you need to choose the starting address and device type for each block of data.

Block | Byte | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Vision Control | 0 | Set Offline | Reserved | Execute Command | Inspection Results Ack | Buffer Results Enable | Trigger | Trigger Enable
1 | Reserved
2 | Reserved | Clear Exposure Complete | Clear Error | Initiate String Command | Set User Data
3 | ExternalEvent 7 | ExternalEvent 6 | ExternalEvent 5 | ExternalEvent 4 | ExternalEvent 3 | ExternalEvent 2 | ExternalEvent 1 | ExternalEvent 0
Vision Status | 0 | Online | Offline Reason | Missed Acq | Reserved | Trigger Ack | Trigger Ready
1 | Error | Command Failed | Command Completed | Command Executing | Results Valid | Results Buffer Overrun | Inspection Completed |
2 | Reserved | SystemValidated | 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. Pass | Exposure Complete | String Command Error | String Command Ack | Set User Data Ack
3 | External Event Ack 7 | External Event Ack 6 | External Event Ack 5 | External Event Ack 4 | External Event Ack 3 | External Event Ack 2 | External Event Ack 1 | External Event Ack 0
Output Word | 0..1 | Current Job ID
2..3 | Error Code
4..5 | Acquisition Acquisition is the process or result of the vision system acquiring a new image. ID
6..7 | Inspection ID
8..9 | Inspection Result Code
10.. | Inspection Results
Input Word | 0..1 | Command
2..3 | Reserved
4.. | User Data
String Command Word | 0..1 | String Command Length
2.. | String Command
String Command Result Word | 0..1 | String Command Result Code
2..3 | String Command Result Length
4.. | String Command Result