# SLMP Defined Data Blocks

The defined data blocks allow you to control where the vision system is reading from and writing data to the Automation Controller.

For easier application setup, the various control and status bits required for command functionality are grouped into contiguous blocks; in this way, they can be processed together. When setting up the interaction between the vision system and the Automation Controller, you have 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 Paused | 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 |  |  |  |  |  |  |  |
Vision Status | 0 | Online |  |  | Acq Error | Reserved | Trigger Ack | Trigger Ready
1 | Error | Command Failed | Command Completed | Command Executing | Results Valid | Results Buffer Overrun | Inspection Completed |
2 | Reserved |  | Exposure Complete | String Command Error | String Command Ack | Set User Data Ack
3 |  |  |  |  |  |  |  |
Output Block | 0..1 | Current Job ID
2..3 | Error Code
4..5 |
6..7 | Inspection ID
8..9 | Inspection Result Code
10.. | Inspection Results
Input | 0..1 | Command
2..3 | Reserved
4.. | User Data