12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

80 Bit <strong>Instructions</strong> (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 LadderOperand Type Format Descriptionstorage bit BOOL tag internal storage bitstores the rung-condition-in from the lasttime the instruction was executedStructured TextStructured text does not have an ONS instruction, but you can achievethe same results using an IF...THEN construct.IF BOOL_expression AND NOT storage_bit THEN;END_IF;storage_bit := BOOL_expression;See Appendix B for information on the syntax of constructs,expressions, and expressions within structured text.Description:Arithmetic Status Flags:Fault Conditions:When enabled and the storage bit is cleared, the ONS instructionenables the remainder of the rung. When disabled or when thestorage bit is set, the ONS instruction disables the remainder ofthe rung.not affectednonePublication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!