DQM function 305 verifies that the date value of the UMF tag is
within a specified range.
The dates must be in a supported date format.
This function
does not have any correction procedures.
Parameters
- Comparison Type
- Type of comparison unit.
- S
- Compares the difference in seconds.
- D
- Compares the difference days.
- M
- Compares the difference in months.
- Y
- Compares the difference in years.
- Unit Threshold
- The value of the UMF tag is allowed be this number of comparison units
close to the range.
- Start Date/Time
- The XPath location of the UMF tag name for the start date/time.
- Values can also be:
- yyyy/mm/dd
- A valid date in yyyy/mm/dd format
- yyyy/mm/dd hh:mm:ss
- A valid date/time in "yyyy/mm/dd hh:mm:ss" format
- DATE
- The current date.
- DATETIME
- The current date and time.
- End Date/Time
- The XPath location of the UMF tag name for the end date/time.
- Values can also be:
- yyyy/mm/dd
- A valid date in yyyy/mm/dd format
- yyyy/mm/dd hh:mm:ss
- A valid date/time in "yyyy/mm/dd hh:mm:ss" format
- DATE
- The current date.
- DATETIME
- The current date and time.
Exception codes
Exception Code |
Description |
Severity* |
-4 |
The configured comparison date is empty or not a valid date. |
3 |
-3 |
The value of the UMF tag is empty or not a valid date. |
3 |
-2 |
The date comparison unit type is not valid. |
3 |
-1 |
Date is not within the specified range. |
3 |