Mul - Multiply; Div - Divide; Neg - Negate; Clr - Clear - Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Hide thumbs Also See for MicroLogix 1100:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
194
Math Instructions

MUL - Multiply

DIV - Divide

MUL
MUL
Multiply
Source A
N7:0
0<
Source B
N7:1
0<
Dest
N7:2
0<
DIV
DIV
Divide
Source A
N7:0
0<
Source B
N7:1
0<
Dest
N7:2
0<

NEG - Negate

NEG
NEG
Negate
Source
N7:0
0<
Dest
N7:1
0<

CLR - Clear

CLR
CLR
Clear
Dest
N7:0
0<
Publication 1763-RM001C-EN-P - October 2009
Instruction Type: output
Execution Time for the MUL and DIV Instructions
Controller
Instruction
MicroLogix 1100
MUL
DIV
Use the MUL instruction to multiply one value by another value (Source A
x Source B) and place the result in the Destination.
Use the DIV instruction to divide one value by another value (Source A/
Source B) and place the result in the Destination. If the Sources are single
words and the Destination is directly addressed to S:13 (math register),
then the quotient is stored in S:14 and the remainder is stored in S:13. If
long words are used, then the results are rounded.
Instruction Type: output
Execution Time for the NEG Instruction
Controller
Data Size
MicroLogix 1100
word
long word
Use the NEG instruction to change the sign of the Source and place the
result in the Destination.
Instruction Type: output
Execution Time for the CLR Instruction
Controller
Data Size
MicroLogix 1100
word
long word
Use the CLR instruction to set the Destination to a value of zero.
Data Size
When Rung Is:
True
20.59 μs
word
20.68 μs
long word
14.68 μs
word
14.96 μs
long word
When Rung Is:
True
False
8.78 μs
0.87 μs
9.62 μs
0.87 μs
When Rung Is:
True
False
0.87 μs
5.29μs
5.46 μs
0.87 μs
False
0.87 μs
0.87 μs
0.87 μs
0.87 μs

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1763-l16bbb1763-l16awa1763-l16bwa1763-l16dwd

Table of Contents