hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 283

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
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
Compatible Versions
FX
3G
Ver. 1.00 or later
S
S
D
1
2
D 0
D 2
D 4
D
S
S
1
2
D 0
D 2
D 4
FX
FX
3U
3UC
Ver. 2.30 or later
Ver. 2.30 or later
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
Dividend
Divisor
Quotient
(D 0) ÷ (D 2) → (D 4)
100
33
3
Dividend
Divisor
Quotient
(D 1,D 0) ÷ (D 3,D 2) → (D 5,D 4) ... (D 7,D 6)
100,000
3333
30
Item
Turns M8304 ON when the operation result of DIV instruc-
Zero Flag
tion is 0.
Turns M8306 ON when the operation result of DIV instruc-
tion overflows.
16-bit operation
Carry Flag
32-bit operation
: Only when the maximum negative
10.4 FNC 23 – DIV / Division
Remainder
...
(D 5)
1
Remainder
10
Function Summary
: Only when the maximum negative
value(-32,768) is divided by -1.
value
(-2,147,483,648) is divided by -1.
281
1
2
3
4
5
6
7
8
9
10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents