Application, Setting the real-time clock – Rockwell Automation T3151 ICS Regent Real time Clock Communications Modules User Manual

Page 7

Advertising
background image

Real-Time Clock Communications Modules (T3151)


P D - 6 0 0 3 M a r - 0 6

7

Application

Setting the Real-Time Clock

The real-time clock is set by loading the associated system
variable registers with the desired time and date values and
subsequently turning on the RTCSET system variable control
relay. The W

INTERPRET

application can be used to perform

this function using the Set Real-Time Clock command from
the Project Editor’s Controller menu. This command opens
the dialog shown in Figure 3. In the Set Real-Time Clock
dialog enter the desired values for Month, Day, Year, Hour,
Minute and Second (milliseconds are automatically set to zero
when the clock is set). Choose OK to send the values to the
Regent.

Figure 3. W

INTERPRET

’s Set Real-Time Clock Dialog.

By reading and writing to the real-time clock system registers,
other communications equipment can read and set the real-
time clock. The associated system variables are listed in
Table 1. The “Set” values are sent to the real-time-clock
communications modules when the system variable control
relay RTCSET is turned on.

Advertising