Introduction

Add to My manuals
704 Pages

advertisement

Introduction | Manualzz

Chapter 2 Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI)

Output Energize (OTE)

Operands:

The OTE instruction sets or clears the data bit.

Relay Ladder

Operand

data bit

Type

BOOL

Format

tag

Description

bit to be set or cleared

Condition

prescan postscan

Structured Text

Structured text does not have an OTE instruction, but you can achieve the same results using a non-retentive assignment. data_bit [:=] BOOL_expression;

See Appendix 641B, Function Block Attributes for information on the syntax of assignments and expressions within structured text.

Description:

When the OTE instruction is enabled, the controller sets the data bit. When the OTE instruction is disabled, the controller clears the data bit.

Arithmetic Status Flags:

not affected

Fault Conditions:

none

Execution:

rung-condition-in is false rung-condition-in is true

Relay Ladder Action

The data bit is cleared.

The rung-condition-out is set to false.

The data bit is cleared.

The rung-condition-out is set to false.

The data bit is set.

The rung-condition-out is set to true.

The data bit is cleared.

The rung-condition-out is set to false.

82

Publication 1756-RM003K-EN-P - July 2008

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI) Chapter 2

Example:

When switch is set, the OTE instruction sets (turns on) light_1. When switch is cleared, the OTE instruction clears (turns off) light_1.

Relay Ladder

Structured Text

light_1 [:=] switch;

Publication 1756-RM003K-EN-P - July 2008

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

83

advertisement

Related manuals

advertisement

Table of contents