| WT |
Value |
Value whose remainder is calculated (dividend). |
| DV |
Divisor |
Divisor. If the input is not assigned, the parameter Divisor applies. “Generate variables” deliberately does not create an address for this input so that the fixed value stays effective. |
|
|
|
| RE |
Remainder |
Remainder of the division. |
| FE |
Error |
Becomes 1 if the divisor is 0. In this case the output Remainder is set to 0. |
|
|
|
|
Divisor |
Fixed value used as long as input DV is not assigned. |
|
Sign |
- Sign as input value: the remainder gets the sign of the input value (-7 mod 3 = -1).
- Result always positive: the remainder is always put out as a positive value (-7 mod 3 = 2). Useful for angles, for example.
|