EasyManuals Logo
Home>Allen-Bradley>Controller>MicroLogix 1000

Allen-Bradley MicroLogix 1000 User Manual

Allen-Bradley MicroLogix 1000
422 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 #143 background imageLoading...
Page #143 background image
Using Math Instructions
8–11
Clear (CLR)
Use the CLR instruction to set the destination to zero. All of the bits reset.
Updates to Arithmetic Status Bits
With this Bit: The Controller:
S:0/0 Carry (C) always resets.
S:0/1 Overflow (V) always resets.
S:0/2 Zero (Z) always sets.
S:0/3 Sign (S) always resets.
Square Root (SQR)
When this instruction is evaluated as true, the square root of the absolute value of
the source is calculated and the rounded integer result is placed in the destination.
The instruction calculates the square root of a negative number without overflow or
faults. In applications where the source value may be negative, use a comparison
instruction to evaluate the source value to determine if the destination may be
invalid.
Updates to Arithmetic Status Bits
With this Bit: The Controller:
S:0/0 Carry (C) sets if the source is negative; otherwise cleared.
S:0/1 Overflow (V) always resets.
S:0/2 Zero (Z) sets when destination value is zero.
S:0/3 Sign (S) always resets.
Programming
Execution Times
(µsec) when:
True False
20.80 4.25
CLR
CLEAR
Dest
Execution Times
(µsec) when:
True False
71.25 6.78
SQR
SQUARE ROOT
Source
Dest
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley MicroLogix 1000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicroLogix 1000
CategoryController
LanguageEnglish

Related product manuals