S
IN
A
MICS
G1
20D
List Manual (LH
14)
, 01
/2016
, A5E338423
13
75
7
3
F
un
ction dia
g
ra
ms
3.1
7
Fre
e
fu
nction bl
ocks
F
ig.
3
-144
72
22 – MU
L 0
... 1, DIV 0 ...
1
- 7222 -
Function diagram
8
7
6
5
4
3
2
1
fp_7222_97_61.vsd
Free function blocks - Arithmetic function blocks
G120D CU240D-2
09.12.2015
V4.7.6
MUL 0 … 1, DIV 0 … 1
MUL 0
MUL 1
DIV 0
DIV 1
X1
X0
Y
MUL 0 RTG
5 ... 9999
p20112 (9999)
MUL 0 RunSeq
0 ... 32000
p20113 (270)
r20111
MUL 0 product Y
MUL 0 inputs
[0]
p20110
[1]
[2]
[3]
X2
X3
DIV 0 RTG
5 ... 9999
p20121 (9999)
DIV 0 RunSeq
0 ... 32000
p20122 (300)
r20119
DIV 0 quotient
DIV 0 inputs
[0]
p20118
[1]
[0]
[1]
[2]
DIV 0 divisor=0 QF
r20120
Quotient
Multiple integer quotient
Division remainder
X1
X0
Y
MUL 1 RTG
5 ... 9999
p20116 (9999)
MUL 1 RunSeq
0 ... 32000
p20117 (280)
r20115
MUL 1 product Y
MUL 1 inputs
[0]
p20114
[1]
[2]
[3]
X2
X3
DIV 1 RTG
5 ... 9999
p20126 (9999)
DIV 1 RunSeq
0 ... 32000
p20127 (310)
r20124
DIV 1 quotient
DIV 1 inputs
[0]
p20123
[1]
DIV 1 divisor=0 QF
r20125
Quotient
Multiple integer quotient
Division remainder
x
x
DIV 0
DIV 0
DIV 0
X2
X1
X1
/
X2
YIN
Y
MOD
QF
X2
X1
X1
/
X2
YIN
Y
MOD
QF
[0]
[1]
[2]
DIV 0
DIV 0
DIV 0
MUL (multiplier)
DIV (divider)