--- alias: user-guide-automation-task-oib-executeoibcommand tags: - automation tasks description: "This task executes OIB commands, waits for replies, and manages associated settings and outputs" --- # Execute OIB Command ![Screenshot showing an OIB command execution interface, displaying configuration options for sending OIB reply tasks with the OIB driver.](../core/equipment/images/equipmentcommand-lg.svg) The Send OIB Reply Task is specific to be used with the OIB Driver. This Task executes command OIB messages of a specific type (which can be configured in the Task's settings) and waits for the reply. ![Screenshot showing the "Execute OIB Command" parameters.](./images/executeoibcommand_parameters.png) ## Inputs | Name | Data Type | Description | | --------------- | ---------- | -------------------------------------- | | `` | `` | Specific input values for each command | | Activate | `any` | Sends the command | ## Outputs | Name | Data Type | Values | Description | | ------- | --------- | ------ | ------------------------------------------------------ | | Success | `Boolean` | | If there was no problem emits a true | | Error | `Error` | | Error that occurred during the processing of this task | ## Settings On the *General Tab*, you have the usual settings and the following settings: | Name | Data Type | Values | Default | Description | | -------------------------- | --------- | ---------------------------- | ------- | ---------------------------------------------------------------------- | | Timeout | `number` | | 10000 | Timeout for request (in milliseconds) | | Execution Mode | `enum` | `Publish`
`SendRequest` | | Execution Mode | | Clear Inputs (on activate) | `Boolean` | | `true` | Defines if it is to clear the input values after receiving an activate | | Message Full Name | `string` | | | Name of the Fuji Nexim message e.g. 'SETEV'. | | Message | `enum` | `GetOptimizationResult` | | Specifies the behavior of the task | ![Screenshot showing a table with columns labeled "Name", "Data Type", "Values", "Default", and "Description" in the Settings section.](./images/executeoibcommand_settings.png) ## Behavior When activated, this Task executes a command of a specific OIB message and waits for the reply. After receiving the reply, this Task's outputs are updated. ## Remarks None