DIV_TI_R: Division for time by real
The DIV_TI_R (FC407) block divides time by a real value.
Out = In1 / In2
Inputs
Pin | E | Description |
In1 | pa | Input 1, dividend. Value range: T#0d_0h_0m_0s_0ms Time (Default value= 0s). |
In2 | pa | Input 2, Divisor. Real (Default value= 1.0) |
Outputs
Pin | E | Description |
Out | a | Output. Value range: T#0d_0h_0m_0s_0ms Time (Default value= 0s). |
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.