Description
Used to retrieve system date and time.
Function
The function block is used to get the value of the system time. The following options are available: Year, Month, Day, Hour, Minute, Second and Week. See the following table for details:
Year | 2000...2099 |
Month | 1...12 |
Day | 1...31 |
Hour | 0...23 |
Minute | 0...59 |
Second | 0...59 |
Week | 1...7 |
Input
None
Output
PIN | Description |
---|---|
Output | The value of the system time. There are two sources of system time values:
|
Output value
PIN | Data type | Unit | Default value | Range |
---|---|---|---|---|
Output | Analog | N/A | N/A | N/A |
Example
Determines the system date to be valid if the system clock is before a set year.