Configure a system event – Rockwell Automation 1758-RTU202 DataSite Software User Manual FRN 1.2 User Manual

Page 79

Advertising
background image

Publication 1758-UM002D-EN-P - October 2010

DataSite Configuration Settings Utility (DS Settings) 79

Example for a Time Event

Set and get an event that occurs at 0 seconds, 0 minutes of every hour.

1.

Select the Time Enable check box and click Hour in the Event Settings
dialog box. Then, click Download. Another method is to use
EV_TIME_CFG and EV_RTC_SET to configure the event.

2.

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

Configure a System Event

Follow this step to configure a system event.

To enable an event interruption with an interval of 1s, select the Second
Event check box.

When you select this check box, the system will provide an interruption
signal every second. You can program the EV_GET function block in
DataSite Workbench to retrieve the interruption signals according to
your application requirements.

Advertising