Supplementary example using the backplane, Parameter settings, User program – Rockwell Automation 1747-KE,D17476.12 DH-485/RS-232C Interface Module User Manual

Page 97: Supplementary example using the backplane -9, Real time clock -9 parameter settings -9, Real time clock

Advertising
background image

Publication 1747-UM005B-EN-P - March 2006

Application Examples 8-9

Supplementary Example
Using the Backplane

These supplementary examples demonstrate how to use the
backplane to operate the interface module’s Real Time Clock and Data
Echo features.

Real Time Clock

You can use the interface module as a Real Time Clock (RTC) in
conjunction with normal module operation. This example shows you
how to set up the Calendar/Clock Function using the backplane.

Parameter Settings

The values used by the RTC are in N10:1-7, and are initialized as
shown in the table below.

Parameter Settings

User Program

The example program shown on the following page initializes the
interface module’s calendar and RTC when bit B3:0/0 is toggled from
low to high. Bit B3:0/1 is toggled every 2.56 seconds, and the new
RTC values that are read are then placed in data file N10:11-17.

IMPORTANT

Before you begin these applications, be sure that the
JW4 jumper is in vertical Run mode (module
configuration ID=3509).

In this example

Equals

Day

5

Month

12

Year

1993

Day of the week

4 (Wednesday)

Hours

11

Minutes

15

Seconds

30

Advertising