DIV_R: Division real
The DIV_R (FC383) block divides two real values.
Out = In1 / In2
Inputs
Pin | E | Description |
In1 | pa | Input 1 Dividend |
In2 | pa | Input 2 Divisor |
Outputs
Pin | E | Description |
Out | a | Output |
Input values
Pin | Description | Data Type | Default value | E.g. Engineering unit or Text group | Min. | Max. |
In1 | Input 1 | Real | 0.0 |
|
|
|
In2 | Input 2 | Real | 1.0 |
|
|
|
Output values
Pin | Description | Data Type | Default value | E.g. Engineering unit or Text group | Min. | Max. |
Out | Output | Real | 0.0 |
|
|
|
Process response
Standard (see General rules and information).
Troubleshooting
When the value range of [Out] is violated, the data-type specific maximum or minimum value is issued at output [Out].
We differentiate between three cases when dividing by zero ([In2] = 0):
- When the input [In1] is positive, the output [Out] is set to its data-type specific maximum value.
- When the input [In1] is negative, the output [Out] is set to its data-type specific minimum value.
- When the input [In1] is zero, the output [Out] is set to value 0.