EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
102 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 2 Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI)
One Shot (ONS)
The ONS instruction enables or disables the remainder of the rung, depending
on the status of the storage bit.
Operands:
Relay Ladder
Structured Text
Structured text does not have an ONS instruction, but you can achieve the same
results by using an IF...THEN construct.
IF BOOL_expression AND NOT storage_bit THEN
<statement>;
END_IF;
storage_bit := BOOL_expression;
See Function Block Attributes
for information on the syntax of constructs,
expressions, and expressions within structured text.
Description: When enabled and the storage bit is cleared, the ONS instruction enables the
remainder of the rung. When disabled or when the storage bit is set, the ONS
instruction disables the remainder of the rung.
Arithmetic Status Flags: Not affected
Fault Conditions: None
Operand Type Format Description
Storage bit BOOL Tag Internal storage bit.
Stores the rung-condition-in from the last time the
instruction was executed

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals