---
alias: user-guide-oib-extensions-linecontrolinterceptor
tags:
- connect iot
description: "This documentation details the Line Control Interceptor configuration and event handling parameters"
---
# Line Control Interceptor
### Communication Parameters
| Name | Type | Possible Values | Default Value | Description |
| ------------ | ------- | ------------------------------------------------------------ | -------------------------------- | ------------------------------------------------------------ |
| enableMode | Enum | `None`
`OnePerEnterprise`
`OnePerSite`
`OnePerLine` | `None` | How should activate Line Control Interceptor instance:
`None` - No instance will be used
`OnePerEnterprise` - One Instance for all Lines (Enterprise level)
`OnePerSite` - One Instance for all Lines (Site level)
`OnePerLine` - One Instance per Line |
| callbackPort | Integer | | 0 | What port to use to receive events from Printer Control. Use `0` to use a free port at `callbackBasePort` + 800 |
| replyTimeout | Integer | | 60000 | Number of milliseconds to wait for a Printer Control Request reply |
| registerMode | Enum | `UnregisterFirst` | `UnregisterFirst` `JustRegister` | Mode to register callbacks UnregisterFirst - Unregister Services before register new one to avoid duplicates JustRegister - Doesn't try to unregister anything prior. Can have duplicates. |
### Events
#### LineControlInterceptor.Event.VerifyRecipeDownload
Called in case of a download recipe for an ASM Pick and Place machine. The MES has to reply within a certain amount of time if the recipe validation is a pass or a fail. If no reply is given in time it will send a fail.
| Property Id | Data Type | Possible Values | Description |
| --------------------------------------------------- | --------- | --------------- | ------------------------------- |
| RequestId | String | | |
| VerifyRecipeDownload.Property.Line.Name | String | | OIB Line Name |
| VerifyRecipeDownload.Property.DownloadVerifications | Object | | DownloadVerificationData Object |
#### LineControlInterceptor.Event.VerifyRecipeDownloadResponse
| Property Id | Data Type | Possible Values | Description |
| ------------- | --------- | ----------------------- | ---------------------------------------------------------------------- |
| RequestResult | String | `Ok` `Rejected` `Error` | Value that will be used to send back to OIB as the Verification Result |
| Reason | String | | Reason that can be specified to justify not OK scenario |
#### LineControlInterceptor.Event.VerifyRecipeActivationOnPrinterRequest
Called in case of a download recipe for an ASM Dek Printer machine. The MES has to reply within a certain amount of time if the recipe validation is a pass or a fail. If no reply is given in time it will send a fail.
| Property Id | Data Type | Possible Values | Description |
| --------------------------------------------------- | --------- | --------------- | ------------------------------- |
| RequestId | String | | |
| VerifyRecipeDownload.Property.Line.Name | String | | OIB Line Name |
| VerifyRecipeDownload.Property.DownloadVerifications | Object | | DownloadVerificationData Object |
#### LineControlInterceptor.Event.VerifyRecipeActivationOnSPIRequest
Called in case of a download recipe for an ASM Process Lens machine. The MES has to reply within a certain amount of time if the recipe validation is a pass or a fail. If no reply is given in time it will send a fail.
| Property Id | Data Type | Possible Values | Description |
| ------------------------------------------------------------ | --------- | --------------- | ---------------------------------------- |
| RequestId | String | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Line.Name | String | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Station.Id | Object | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Station.Name | Object | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Station.Type | Object | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Lane | Object | | Conveyor Type `Undefined` `Left` `Right` |
| VerifyRecipeActivationOnPrinterRequest.Property.DateModified | Object | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Product.Id | Object | | |
| VerifyRecipeActivationOnPrinterRequest.Property.Product.Name | Object | | |