DQM function 300 determines the difference between two date/time values and stores that value in the UMF tag.
The dates must be in a supported date format. If the first date is later than the second, the difference result is set to zero.
This function does not have any correction procedures.
Exception Code | Description | Severity* |
-3 | One or both the dates are invalid. | 3 |
-2 | The date comparison unit type is not valid. | 3 |
-1 | One or both of the comparison dates are empty. | 3 |
1 | The date difference was calculated and stored. | 0 |