Multiplication - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Multiplication

Parameter
EN
i1
i2
o1
ENO
Multiplication multiplies two or more Integer or Real values. The Multiplication
function supports additional inputs.
Arguments
Data Type
Parameter
Type
Input
BOOL
Input
SINT - USINT - BYTE - INT - UINT
- WORD - DINT - UDINT -
DWORD - LINT - ULINT - LWORD
- REAL - LREAL
Input
SINT - USINT - BYTE - INT - UINT
- WORD - DINT - UDINT -
DWORD - LINT - ULINT - LWORD
- REAL - LREAL
Output
SINT - USINT - BYTE - INT - UINT
- WORD - DINT - UDINT -
DWORD - LINT - ULINT - LWORD
- REAL - LREAL
Output
BOOL
Example
(* ST equivalence *)
ao10 := ai101 * ai102;
ao5 := (ai51 * ai52) * ai53;
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function enable.
When Enable = TRUE, execute current multiplication computation.
When Enable = FALSE, there is no computation.
Applies only to LD programs.
Factor in Integer or Real data type.
All inputs must be the same data type.
Factor in Integer or Real data type.
All inputs must be the same data type.
Product of the inputs in Integer or Real data type.
Input and output must use the same data type.
Enable out.
Applies only to LD programs.
Chapter 5
Arithmetic instructions
89

Advertisement

Table of Contents
loading

Table of Contents