Rockwell Automation 1758-RTU202 DataSite Software User Manual FRN 1.2 User Manual

Page 78

Advertising
background image

Publication 1758-UM002D-EN-P - October 2010

78 DataSite Configuration Settings Utility (DS Settings)

Example for an Alarm Event

Set and get an alarm event at 8:30 a.m. every day.

1.

In the Event Settings dialog box, select the Alarm Enable, Hour,
Minute, and Second check boxes. Enter the time in the Hour, Minute,
and Second boxes, and then click Download. Another method is to use
EV_CLK_CFG and EV_RTC_SET to configure the alarm event.

2.

Use EV_GET to read the RTC return value and check bit 3 for the
alarm event. Bit 3 will be set to ‘1’ when the RTC event occurs.

Example for a Calendar Event

Set and get an event that occurs at 0 seconds, 0 minutes, 0 hours on the first
day of every month.

1.

In the Event Settings dialog box, select the Calendar Enable check box
and click Month. Then, click Download. Another method is to use
EV_CALE_CFG and EV_RTC_SET to configure the event.

2.

Use EV_GET to read the RTC return value and check bit 2 for the
second event. Bit 2 will be set to ‘1’ when the second event occurs.

Advertising