Description of the function

The WRTC_DT function updates the current date in the PLC's real-time clock.

The additional parameters EN and ENO can be configured.

FBD representation

Representation:

LD representation

Representation:

IL representation

Representation:

LD Date1
WRTC_DT

ST representation

Representation:

WRTC_DT(Date1);

Description of the parameters

The following table describes the input parameters:

Parameter

Type

Comment

Date1

DT

Date1 must contain the current date value in DT format. The contents of this variable must be assigned by the program before launching the function.