Clock Management Functions (Real Time)
All Functions (Alphabetically)
Name |
Description |
---|---|
Format the present date / time to a string. |
|
Generate a pulse at designated time stamp (date and time). |
|
Get the present date stamp. |
|
Get the present date and time stamp. |
|
Get the present time stamp. |
|
Get the day of the month from the date stamp. |
|
Generate a pulse signal with long period. |
|
Format the present date/time to a string with a custom format. |
|
Read the NTP server address. |
|
Read the NTP synchronization enable state. |
|
Read the Time Zone. |
|
Get the hours from the time stamp. |
|
List the time zones available on the controller. |
|
Builds the date and time stamps according to DT conventions. |
|
Get the minutes from the time stamp. |
|
Get the month from the date stamp. |
|
Get the milliseconds from the time stamp. |
|
Get the seconds from the time stamp. |
|
Sets the local date and time. |
|
Set the NTP server address. |
|
Set the NTP synchronization enable state. |
|
Set the time zone. |
|
Get the year from the date stamp. |
-
-
- A real-time clock may not be available on all controller hardware models.
See the controller hardware specifications for real-time clock availability. - The AKD PDMM and PCMM reset the date and time when powered-on.
The reset is to Jan 1, 1970 00:00:00.
The elapsed time from device power-on can be determined from the Real Time Clock functions. - PCMM2G does not reset the date and time when powered on.
- A real-time clock may not be available on all controller hardware models.
Format the Present Date / Time
These functions format the present date/time to a string:
Name |
Description |
---|---|
Format the present date / time to a string. |
|
Format the present date/time to a string with a custom format. |
Read the Real Time Clock
These functions read the real time clock of the target system:
Name |
Description |
---|---|
Get the present date stamp. |
|
Get the present date and time stamp. |
|
Get the present time stamp. |
|
Get the day of the month from the date stamp. |
|
Get the hours from the time stamp. |
|
Builds the date and time stamps according to DT conventions. |
|
Get the minutes from the time stamp. |
|
Get the month from the date stamp. |
|
Get the milliseconds from the time stamp. |
|
Get the seconds from the time stamp. |
|
Get the year from the date stamp. |
Time Zone and Clock Synchronization
These function blocks configure the time zone and clock synchronization for the controller.
Name |
Description |
---|---|
Read the NTP server address. |
|
Read the NTP synchronization enable state. |
|
Read the Time Zone. |
|
List the time zones available on the controller. |
|
Sets the local date and time. |
|
Set the NTP server address. |
|
Set the NTP synchronization enable state. |
|
Set the time zone. |
Triggering Operations
These functions are used for triggering operations:
Name |
Description |
---|---|
Generate a pulse at designated time stamp (date and time). |
|
Generate a pulse signal with long period. |