EasyManuals Logo
Home>Omron>Control Unit>NX-SL series

Omron NX-SL series User Manual

Omron NX-SL series
270 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 #94 background imageLoading...
Page #94 background image
2 Standard Functions
2 - 60
NX-series Safety Control Unit Instructions Reference Manual (Z931)
MUL
This function multiplies integers or a duration.
If you omit an input or output parameter, a building error will occur.
An error will not occur if the output terminal is not used or if it is connected to an input terminal on the
next instruction.
This function multiplies multiply values In1 to InN and outputs the result to output value Out.
An overflow occurs if the product of In1 to InN exceeds the valid range of the data type of the multiplica-
tion result. If an overflow occurs, the data types of In1 to InN, the data type of the multiplication result,
and the value of the multiplication result will be as shown in the following table.
Instruction Name FB/FUN Graphic expression
MUL Multiplication FUN
Variables
Name I/O Description Valid range Default
In1 to InN Values to mul-
tiply
Input Values to mul-
tiply
Depends on data type. ---
Out Output value Output Output value Depends on data type. ---
Boolean Bit strings Integers Durations
BOOL
SAFEBOOL
BYTE
SAFEBYTE
WORD
SAFEWORD
DWORD
SAFEDWORD
INT
SAFEINT
DINT
SAFEDINT
TIME
SAFETIME
In1 OK OK OK OK OK OK
In2 to
InN
OK OK OK OK
Out OKOKOKOKOKOK
Function
I/O data types Value of multiplication results
Integers Of the product of In1 to InN, the multiplication result will be the value that can be expressed
by the number of bits in the data type of the addition result.
*1*2
*1. For example, if the value of In1 is INT#16390 and the value of In2 is INT#2, the multiplication result will be
32780. If an INT variable is set for the output, the value of the multiplication result will be the value that can be
expressed with lower 16 bits of the product (32,780), i.e., 32,756. If a DINT variable is set for the output, the
addition result is DINT#32780.
*2. If the result exceeds the valid range of DINT data, the result will be the value that can be expressed with the
lower 32 bits.
Durations Of the product of In1 to InN, the multiplication result will be the value that can be expressed
with DWORD data.
*3
MUL

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX-SL series and is the answer not in the manual?

Omron NX-SL series Specifications

General IconGeneral
BrandOmron
ModelNX-SL series
CategoryControl Unit
LanguageEnglish

Related product manuals