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 #95 background imageLoading...
Page #95 background image
2 - 61
2 Standard Functions
NX-series Safety Control Unit Instructions Reference Manual (Z931)
Math Instructions
2
MUL
You cannot include more than one duration in the values to multiply.
To multiply a duration, set a duration for In1 and Out and set integers for In2 to InN.
When multiplying integers, the data types of In1 to InN and Out can be different. If they are different,
calculations are performed with the data type that includes the range of all of the data types. For
example, if In1 is INT data and In2 is DINT data, calculations are performed with DINT data. There-
fore, multiplication result Out will be DINT data.
If you use duration data for the data to multiply, use duration data for one of In1 to InN and for Out.
The input condition depends on whether the output is safety data or standard data. If the condition is
not met, a building error will occur. If you set a safety data type variable for the output terminal, set
safety data type variables for all of the input terminals.
If you set a standard data type variable for the output terminal, you can set either a safety data type
variable or a standard data type variable for the input terminal.
If you set a safety data type variable for the output terminal, set safety data type variables for all of
the input terminals.
If you set a standard data type variable for the output terminal, you can set either a safety data type
variable or a standard data type variable for the input terminal.
*3. For example, if the value of In1 is T#24d20h31m23s649ms and the value of In2 is INT#2, the value of the mul-
tiplication result is T#49d17h2m47s298ms. However, the maximum value of TIME is the same as for DWORD
(4294967295), so the multiplication result will be the value that can be expressed with 32 bits, i.e., T#2ms.
Additional Information
Precautions for Correct Use

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