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

Page 93

Advertising
background image

Publication 1747-UM005B-EN-P - March 2006

Application Examples 8-5

MOV

MOVE
Source

0

Dest

N10:0

0

15

] [

S:1

Put interface module
in Config Mode.

Rung
2:0

N10:0 is initialized here. N10:0 points to the Config block that is being transferred.

Clear pointer.

( )

O:1

15

L

( )

O:1

14

U

Reset Handshake bit.

EQU

EQUAL
Source A

N10:0

0

Source B

0

COP

COPY FILE
Source

#N10:10

Dest

#O:1.0

Length

8

Rung
2:1

Copy DF1 Config
to the module.

This rung copies a new DF1 Config block to the interface module.

( )

O:1

14

L

14

]/[

O:1

14

]/[

I:1

Config handshake
bit to the module.

Config handshake
ACK bit from the module.

Config handshake
bit to the module.

Copy Config from
the module.

Config handshake
bit to the module.

Config handshake
ACK bit from the module.

Config handshake
bit to the module.

EQU

EQUAL
Source A

N10:0

0

Source B

0

COP

COPY FILE
Source

#I:1.0

Dest

#N11:10

Length

8

Rung

2:2

This rung checks the results of the DF1 Config from the interface module.

( )

O:1

14

U

14

] [

O:1

14

] [

I:1

ADD

ADD
Source A

N10:0

0

Source B

1

Dest

N10:0

0

MEQ

MASKED EQUAL
Source

N11:10

0

Mask

07F0

Compare

0

Check status and
point to next
Config block.

Advertising