Rockwell Automation AADvance Controller Demo Unit User Manual

Page 61

Advertising
background image

Document: 553850 Issue 1.2: March 2011

4-27

RTC Program: Seconds

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



0 to 59



Default 0 (zero)

Description:

Specifies the time of day (in seconds) 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 Seconds is TRUE.

RTC Program: Milliseconds

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



0 to 999



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.

Advertising