Clock Management Functions (Real Time)

All Functions (Alphabetically)

Name

Description

day_time

Format the present date / time to a string.

DTAt

Generate a pulseClosed When the step gets activated, the action is activated for a single execution, and possibly once again when the step is deactivated. at designated time stamp (date and time).

DTCurDate

Get the present date stamp.

DTCurDateTime

Get the present date and time stamp.

DTCurTime

Get the present time stamp.

DTDay

Get the day of the month from the date stamp.

DTEvery

Generate a pulse signal with long periodClosed Motor systems having a reciprocating or oscillating motor that operates synchronously with the periodicity of the source which supplies the electrical energy. The period of execution of a pipe is the time spent between two successive computations of set values for the same pipe. The period of execution of a pipe is specified by the PERIOD parameter of the input pipe block..

DTFormat

Format the present date/time to a string with a customClosed User modified or defined material (e.g., custom units or custom settings). format.

DTGetNTPServer

Read the NTP server address.

DTGetNTPSync

Read the NTP synchronization enableClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive. state.

DTGetTimeZone

Read the Time Zone.

DTHour

Get the hours from the time stamp.

DTListTimeZones

List the time zones available on the controller.

DTMin

Get the minutes from the time stamp.

DTMonth

Get the month from the date stamp.

DTMs

Get the milliseconds from the time stamp.

DTSec

Get the seconds from the time stamp.

DTSetDateTime

Sets the local date and time.

DTSetNTPServer

Set the NTP server address.

DTSetNTPSync

Set the NTP synchronization enable state.

DTSetTimeZone

Set the time zone.

DTYear

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 resetClosed New start of the microprocessor. 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.

Format the Present Date / Time

These functions format the present date/time to a string:

Name

Description

day_time

Format the present date / time to a string.

DTFormat

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

DTCurDate

Get the present date stamp.

DTCurDateTime

Get the present date and time stamp.

DTCurTime

Get the present time stamp.

DTDay

Get the day of the month from the date stamp.

DTHour

Get the hours from the time stamp.

DTMin

Get the minutes from the time stamp.

DTMonth

Get the month from the date stamp.

DTMs

Get the milliseconds from the time stamp.

DTSec

Get the seconds from the time stamp.

DTYear

Get the year from the date stamp.

Time Zone and Clock Synchronization

These function blocksClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. configure the time zone and clock synchronization for the controller.

Name

Description

DTGetNTPServer

Read the NTP server address.

DTGetNTPSync

Read the NTP synchronization enable state.

DTGetTimeZone

Read the Time Zone.

DTListTimeZones

List the time zones available on the controller.

DTSetDateTime

Sets the local date and time.

DTSetNTPServer

Set the NTP server address.

DTSetNTPSync

Set the NTP synchronization enable state.

DTSetTimeZone

Set the time zone.

Triggering Operations

These functions are used for triggering operations:

Name

Description

DTAt

Generate a pulse at designated time stamp (date and time).

DTEvery

Generate a pulse signal with long period.