EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 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 #167 background imageLoading...
Page #167 background image
5.3 Standard Arithmetic Functions
5.3.4 Division
5-133
5
APPLICATION
FUNCTIONS
DIV(_E)
DIV(_E)
Operation Error
An operation error occurs in the following case.
The value to be input to is 0. (Division by 0) (Error code: 4100)
Program Example
The program which performs division ( ÷ ) on double word (signed) type data input to and
, and outputs the quotient of the operation result from in the same data type as that of .
(a) Function without EN/ENO (DIV)
[Structured ladder]
[ST]
g_dint3:= g_dint1/g_dint2;
(b) Function with EN/ENO (DIV_E)
[Structured ladder]
[ST]
g_bool3 := DIV_E(g_bool1, g_dint1, g_dint2, g_dint3);
s2
s1
s2
s1
s2
d
s

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals