EasyManuals Logo

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 #141 background imageLoading...
Page #141 background image
Using Math Instructions
8–9
Divide (DIV)
Use the DIV instruction to divide one value (source A) by another (source B), and
place the rounded quotient in the destination. If the remainder is 0.5 or greater, the
destination is rounded up.
Updates to Arithmetic Status Bits
With this Bit: The Controller:
S:0/0 Carry (C) always resets.
S:0/1 Overflow (V)
sets if division by zero or overflow is detected; otherwise
resets. On overflow, the minor error flag is also set. The value
32,767 is placed in the destination. If S:2/14 (math overflow
selection bit) is set, then the unsigned, truncated overflow
remains in the destination.
S:0/2 Zero (Z)
sets if result is zero; otherwise resets; undefined if overflow is
set.
S:0/3 Sign (S)
sets if result is negative; otherwise resets; undefined if
overflow is set.
Changes to the Math Register
The unrounded quotient is placed in the most significant word, the remainder is
placed in the least significant word.
Programming
Execution Times
(µsec) when:
True False
147.87 6.78
DIV
DIVIDE
Source A
Source B
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
Communication PortsRS-232
Power Supply24V DC or 120/240V AC
Programming SoftwareRSLogix 500
ManufacturerAllen-Bradley
CategoryController
SeriesMicroLogix
Programming LanguageLadder Logic
Input Voltage24V DC or 120/240V AC
I/O Points10 to 32 points
Processor Type8-bit
Operating Temperature0…55 °C (32…131 °F)
Processor8-bit

Related product manuals