Output Energize (OTE)
    The OTE instruction sets or clears the data bit based on rung condition.
Available Languages
Ladder Diagram
_v1.png/_jcr_content/renditions/original)
Operands
     IMPORTANT: 
    Unexpected operation may occur if:
          
- Output tag operands are overwritten
- Members of a structure operand are overwritten
- Except when specified, structure operands are shared by multiple instructions.
Ladder Diagram
| Operand | Data Type | Format | Description | 
|---|---|---|---|
| Data bit | BOOL | tag | Bit to be modified. There are various operand addressing modes possible for the data bit, see Bit Addressing for examples. | 
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Index through arrays for array-indexing faults.
Execution
Ladder Diagram
| Condition/State | Action Taken | 
|---|---|
| Prescan | The data bit is cleared to false | 
| Rung-condition-in is false | Set Rung-condition-out to Rung-condition-in. The data bit is cleared to false | 
| Rung-condition-in is true | Set Rung-condition-out to Rung-condition-in. The data bit is set to true. | 
| Postscan | The data bit is cleared to false. | 
Example
Ladder Diagram

When switch is true, the OTE instruction sets Light_01 to true. When switch is false, the OTE instruction clears Light_01 to false.
Provide Feedback