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

Page 94

Advertising
background image

Publication 1747-UM005B-EN-P - March 2006

8-6 Application Examples

Copy DH±485 Config
to 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

1

COP

COPY FILE
Source

#N10:20

Dest

#O:1.0

Length

8

Rung
2:3

This rung copies a new DH±485 Config block to the interface module.

( )

O:1

14

L

14

]/[

O:1

14

]/[

I:1

EQU

EQUAL
Source A

N10:0

0

Source B

1

COP

COPY FILE
Source

#I:1.0

Dest

#N11:20

Length

8

Rung
2:4

This rung checks the Modem Init String (1±14) 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:20

0

Mask

07F0

Compare

0

Copy Config from
the module.

Config handshake
bit to the module.

Config handshake
ACK bit from the module.

Config handshake
bit to the module.

Check status and
point to next
Config block.

EQU

EQUAL
Source A

N10:0

0

Source B

2

COP

COPY FILE
Source

#N10:30

Dest

#O:1.0

Length

8

Rung
2:5

This rung copies a new Modem Init String (1±14) Config block to the module.

( )

O:1

14

L

14

]/[

O:1

14

]/[

I:1

Copy Modem Init
String (1±14) Config
to the module.

Config handshake
bit to the module.

Config handshake
ACK bit from the module.

Config handshake
bit to the module.

Advertising