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 #309 background imageLoading...
Page #309 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 309
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) Chapter 7
Clear (CLR)
The CLR instruction clears all the bits of the Destination.
Operands:
Relay Ladder
Structured Text
Structured text does not have a CLR instruction. Instead, assign 0 to the tag you want to
clear. This assignment statement clears dest.
See Structured Text Programming
for information on the syntax of expressions and
assignment statements within structured text.
Description: The CLR instruction clears all the bits of the Destination.
Arithmetic Status Flags: Arithmetic status flags are affected.
Fault Conditions: None
Execution:
Operand Type Format Description
Destination SINT
INT
DINT
REAL
Tag Tag t o clear
dest := 0;
Condition Relay Ladder Action
Prescan The rung-condition-out is set to false.
Rung-condition-in is false The rung-condition-out is set to false.
Rung-condition-in is true The instruction clears the Destination.
The rung-condition-out is set to true.
Postscan The rung-condition-out is set to false.

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