
Control Block Description
ADDvantage-32 PLUS
4-46
4.31 DIVIDE
The Divide block is used to divide two numbers. The block checks for divide by zero to
avoid a fault.
A
B
DIV
INPA
INPB
0
INPB=0
INPB=0
OUT
DIVIDE
DIVIDELAN
FIGURE 4-31. DIVIDE BLOCK
1. Inputs
INPA: Analog
INPB: Analog
2. Output
OUT: Analog
3. Implementation
If INPB = 0 then OUT = 0
Else:
INPA
OUT =
Comentarios a estos manuales