Using the multiply/divide function, Using the multiply/divide function -18 – Rockwell Automation 1336E IMPACT Adjustable Frequency AC Drive User Manual V 1-4.XX User Manual
Page 188

10-18
Using the Function Block
Figure 10.21
Example of a Shuttle
Using the Multiply/Divide
Function
The multiply/divide function block multiplies the value of In1 with
the value of In2 and then divides the result by the value of In3. The
multiply/divide function block is shown in Figure 10.22.
Figure 10.22
Multiply/Divide Function Block
A
B
C
D
E
F
G
H
24 volts
TB3
±28 (inc)
TB3
±23 (fwd)
TB3
±22 (rev)
TB3
±19 (start)
TB3
±20 (stop)
TB3
±21 (common)
Shuttle moves from A to H:
Shuttle is closing switch A; forward direction and stop commanded
User presses and holds start button until switch A opens: increment (Speed
Ref 1) and start commanded
Shuttle closes switch B; increment (Speed Ref 2) is commanded
Shuttle closes switch C; increment (Speed Ref 3) is commanded
Shuttle closes switch D; increment (Speed Ref 4) is commanded
Shuttle closes switch E; increment (Speed Ref 5) is commanded
Shuttle closes switch F; increment (Speed Ref 6) is commanded
Shuttle closes switch G; increment (Speed Ref 7) is commanded, counter set
to zero (speed ref no change)
Shuttle closes switch H; reverse direction and stop commanded
Shuttle moves from H to A:
Shuttle closes switch H; reverse direction and stop commanded
User presses and holds start button until switch H opens; increment (Speed
Ref 1) and start commanded
Shuttle closes switch G; increment (Speed Ref 2) is commanded
Shuttle closes switch F; increment (Speed Ref 3) is commanded
Shuttle closes switch E; increment (Speed Ref 4) is commanded
Shuttle closes switch D; increment (Speed Ref 5) is commanded
Shuttle closes switch C; increment (Speed Ref 6) is commanded
Shuttle closes switch B; increment (Speed Ref 7) is commanded, counter set to
zero (speed ref no change)
Shuttle closes switch A; forward direction and stop commanded
200
Func 1 Eval Sel
0 – 17
198
Function In1
199
Func 1 Mask/Val
I
V
Multiply/Divide
Function Block
203
Func 2 Eval Sel
0 – 17
201
Function In2
202
Func 2 Mask/Val
I
V
212
Function Sel
12
(In1 x In2)/In3
In4: If:
Then:
False Use per unit math.
True
Use standard math.
In1
In2
213
Function Output 1
206
Func 3 Eval Sel
0 – 17
204
Function In3
205
Func 3 Mask/Val
I
V
In3
207
Function In4
In4
214
Function Output 2