Timer/Counter blocks > Date Time Event function block

Date Time Event function block parameters

The following table lists the system parameters for the Date Time Event function block:

Table: Date Time Event function block system parameters

Parameter

Units

Description

DIFF_TIME_STR

None

The time remaining before the next scheduled event, represented in ISO Period format: 

PDDDDDThh:mm:ss

where:

P indicates this is a period time

DDDDD = number of days

T indicates the separation between days and time

hh = number of hours

mm = number of minutes

ss = number of seconds

ENABLE

None

Used to either enable or disable the OUT_D parameter. (0=Disable, non-zero=Enable)

INTERVAL_STR

None

The time between recurring scheduled events, represented in ISO Period format.

Set to P00000T00:00:00 for a one-time event. The minimum interval is P00000T00:00:05 (five seconds).

LOCAL_TIME_STR

None

The current Local Time represented as an ISO Time string.

NOT_OUT_D

None

Becomes false when the scheduled event has occurred and ENABLE is true. NOT_OUT_D has status.

OUT_D

None

Becomes true when the scheduled event has occurred and ENABLE is true. OUT_D has status.

RESET

None

This value forces the function block to the IDLE state, when TRUE. RESET has status.

STATE

None

The internal value that indicates the current state of the function block (0=Idle, 1=Armed, 2=Terminal).

TE_TIME_STR

None

The time of day at which an event is scheduled, represented in local ISO Time format. This is known as terminal event or TE time.

Note

TE_TIME_STR must always be set to a future time.

UTC_TIME_STR

None

The current UTC Time represented as an ISO Time string.

Note

Default values and data type information for the parameters are available by expanding the Parameter View window.