EasyManua.ls Logo

Allen-Bradley Micro800

Allen-Bradley Micro800
652 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
Loading...
Arithmetic instructions Chapter 5
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 81
Division divides the first Integer or Real input value by the second Integer or Real
input value.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When Enable = TRUE, execute current division computation.
When Enable = FALSE, there is no computation.
Applies only to LD programs.
i1 Input SINT - USINT - BYTE -
INT - UINT - WORD -
DINT - UDINT - DWORD
- LINT - ULINT - LWORD
- REAL - LREAL
Dividend in non-zero Integer or Real data type.
All inputs must be the same data type.
i2 Input SINT - USINT - BYTE -
INT - UINT - WORD -
DINT - UDINT - DWORD
- LINT - ULINT - LWORD
- REAL - LREAL
Divisor in non-zero Integer or Real data type.
All inputs must be the same data type.
o1 Output SINT - USINT - BYTE -
INT - UINT - WORD -
DINT - UDINT - DWORD
- LINT - ULINT - LWORD
- REAL - LREAL
Quotient of the inputs in non-zero Integer or Real data type.
Input and output must use the same data type.
ENO Output BOOL Enable out.
Applies only to LD programs.
Example
(* ST Equivalence: *)
ao10 := ai101 / ai102;
ao5 := (ai5 / 2) / ai53;
Division

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals