Mitsubishi FX3G Series Programming Manual page 276

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
Program examples
1. 16-bit operation
X000
FNC 23
DIV
2. 32-bit operation
X001
FNC 23
DDIV
Function Changes According to Versions
FX
3G
Ver. 1.00
or later
274
Series
S
S
1
2
D 0
D 2
D 4
S
S
1
2
D 0
D 2
D 4
Compatible Versions
FX
FX
3U
3GC
Ver. 2.30
Ver. 1.40
or later
or later
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
D
Dividend
Divisor
(D 0) ÷ (D 2) → (D 4)
100
33
D
Dividend
Divisor
(D 1,D 0) ÷ (D 3,D 2) → (D 5,D 4) ... (D 7,D 6)
100,000
3333
Item
FX
3UC
Turns M8304 ON when the operation result of DIV
Zero Flag
instruction is 0.
Turns M8306 ON when the operation result of DIV
instruction overflows.
Ver. 2.30
16-bit operation
or later
Carry Flag
32-bit operation
10.4 FNC 23 – DIV / Division
Quotient
Remainder
...
(D 5)
3
1
Quotient
Remainder
30
10
Function Summary
: Only when the maximum negative
value(-32,768) is divided by -1.
: Only when the maximum negative
value
(-2,147,483,648) is divided by -1.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents