Rockwell Automation AADvance Controller Configuration Guide User Manual

Page 93

Advertising
background image


Document: 553633
ICSTT-RM405f-EN-P
Issue 07

4-53

Default 0 (zero)

Description:
Specifies the time of day (in milliseconds) to be written to the real-time clock the next

time the RTC control variable RTC Write is asserted TRUE. The value will be
written only if the RTC control variable Milliseconds is TRUE.

RTC Control Variables

The variables in the rack of RTC control variables regulate updates to the real-time

clock.

RTC Control: RTC Write

Direction: output from application to controller
Type: boolean
Values:

TRUE = Applies new values to real-time clock (see description).

FALSE = No effect.

Default FALSE.

Description:

Sets new values for the real-time clock. There are six values, all specified by the RTC
program control words Year, Month, Day, Hours, Minutes and Seconds. Each

value will be set only if its associated RTC control variable (which is a Boolean, and

similarly named Year, Month, Day, Hours, Minutes or Seconds) is TRUE.
The change is initiated by the transition from FALSE to TRUE and actioned at the end

of the application cycle. The application must hold the TRUE state at least until the end

of the cycle for the clock to be updated.
There is no time limit on returning the value from TRUE to FALSE.

Example

Consider this scenario:

The date is 28th October 2008, 8 hours, 12 minutes and 35 seconds
RTC Control RTC Read is TRUE
RTC Control Year, Month and Day of Month are TRUE

RTC Control Hours, Minutes and Seconds are TRUE

The RTC status variables will be returned, and the real-time clock will be set, like this:

Year = 2,008

Month = 10

Day = 28

Hours = 8
Minutes = 12

Seconds = 35

Advertising