Rockwell Automation 1747-KE,D17476.12 DH-485/RS-232C Interface Module User Manual

Page 98

Advertising
background image

Publication 1747-UM005B-EN-P - March 2006

8-10 Application Examples

Copy the RTC data.

Turn ON the
handshake bit.

COP

COPY FILE
Source

#N10:0

Dest

#O:1.0

Length

8

0

] [

B3

Put Interface Module
in Config mode.

Rung
2.0

This rung initializes the module.

(U)

O:1

13

( )

O:1

14

L

2

B3

[OSR]

COP

COPY FILE
Source

#I:1.0

Dest

#N10:10

Length

8

Unlatch handshake
to module.

Rung
2:1

This rung gets the calendar/clock data from the module.

( )

O:1

14

U

Get data from module.

14

] [

O:1

14

] [

I:1

Handshake
bit to
module.

Handshake
bit from
module.

MEQ

MASKED EQUAL
Source

I:1.0

±32762

Mask

07F0

Compare

0

Turn ON the
handshake bit.

Move the RTC data to
the module.

MOV

MOVE
Source

8193

1

Dest

#O:1.0
±16378

7

] [

S:4

Rung
2.2

This rung sets the 2.56 second free±run counter.

1

B3

( )

O:1

14

L

[OSR]

Rung
2.3

<END>

Advertising